]>
git.proxmox.com Git - mirror_qemu.git/blob - linux-user/generic/target_resource.h
2 * Target definitions of RLIMIT_* constants. These may be overridden by an
3 * architecture specific header if needed.
6 #ifndef GENERIC_TARGET_RESOURCE_H
7 #define GENERIC_TARGET_RESOURCE_H
14 struct target_rlimit64
{
19 #define TARGET_RLIM_INFINITY ((abi_ulong)-1)
21 #define TARGET_RLIMIT_CPU 0
22 #define TARGET_RLIMIT_FSIZE 1
23 #define TARGET_RLIMIT_DATA 2
24 #define TARGET_RLIMIT_STACK 3
25 #define TARGET_RLIMIT_CORE 4
26 #define TARGET_RLIMIT_RSS 5
27 #define TARGET_RLIMIT_NPROC 6
28 #define TARGET_RLIMIT_NOFILE 7
29 #define TARGET_RLIMIT_MEMLOCK 8
30 #define TARGET_RLIMIT_AS 9
31 #define TARGET_RLIMIT_LOCKS 10
32 #define TARGET_RLIMIT_SIGPENDING 11
33 #define TARGET_RLIMIT_MSGQUEUE 12
34 #define TARGET_RLIMIT_NICE 13
35 #define TARGET_RLIMIT_RTPRIO 14
36 #define TARGET_RLIMIT_RTTIME 15