mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h
Signed-off-by: Serge Belyshev <belyshev@depni.sinp.msu.ru> Message-Id: <87ee4ql3yk.fsf_-_@depni.sinp.msu.ru> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
committed by
Laurent Vivier
parent
eb33cdaeda
commit
b13e49bc86
21
linux-user/alpha/target_resource.h
Normal file
21
linux-user/alpha/target_resource.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef ALPHA_TARGET_RESOURCE_H
|
||||
#define ALPHA_TARGET_RESOURCE_H
|
||||
|
||||
#include "../generic/target_resource.h"
|
||||
|
||||
#undef TARGET_RLIM_INFINITY
|
||||
#define TARGET_RLIM_INFINITY 0x7fffffffffffffffull
|
||||
|
||||
#undef TARGET_RLIMIT_NOFILE
|
||||
#define TARGET_RLIMIT_NOFILE 6
|
||||
|
||||
#undef TARGET_RLIMIT_AS
|
||||
#define TARGET_RLIMIT_AS 7
|
||||
|
||||
#undef TARGET_RLIMIT_NPROC
|
||||
#define TARGET_RLIMIT_NPROC 8
|
||||
|
||||
#undef TARGET_RLIMIT_MEMLOCK
|
||||
#define TARGET_RLIMIT_MEMLOCK 9
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user