linux-user/syscall: Translate TARGET_RLIMIT_RTTIME
Signed-off-by: Serge Belyshev <belyshev@depni.sinp.msu.ru> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <87a6fel3w8.fsf_-_@depni.sinp.msu.ru> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
b13e49bc86
commit
244fd08323
@ -33,5 +33,6 @@ struct target_rlimit64 {
|
||||
#define TARGET_RLIMIT_MSGQUEUE 12
|
||||
#define TARGET_RLIMIT_NICE 13
|
||||
#define TARGET_RLIMIT_RTPRIO 14
|
||||
#define TARGET_RLIMIT_RTTIME 15
|
||||
|
||||
#endif
|
||||
|
@ -1053,6 +1053,8 @@ static inline int target_to_host_resource(int code)
|
||||
return RLIMIT_RSS;
|
||||
case TARGET_RLIMIT_RTPRIO:
|
||||
return RLIMIT_RTPRIO;
|
||||
case TARGET_RLIMIT_RTTIME:
|
||||
return RLIMIT_RTTIME;
|
||||
case TARGET_RLIMIT_SIGPENDING:
|
||||
return RLIMIT_SIGPENDING;
|
||||
case TARGET_RLIMIT_STACK:
|
||||
|
Loading…
Reference in New Issue
Block a user