diff options
author | Ulrich Drepper <drepper@gmail.com> | 2010-12-25 20:12:27 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2010-12-25 20:12:27 -0500 |
commit | 5bd6dc5c2c68fe98691db9b40f87d9b68ea9565b (patch) | |
tree | f8b2c77413125bf65c71b7a2e2aee0cd6577956f /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 9798346413d74dc9b3c64731807600b5ab9c1517 (diff) | |
download | glibc-5bd6dc5c2c68fe98691db9b40f87d9b68ea9565b.tar glibc-5bd6dc5c2c68fe98691db9b40f87d9b68ea9565b.tar.gz glibc-5bd6dc5c2c68fe98691db9b40f87d9b68ea9565b.tar.bz2 glibc-5bd6dc5c2c68fe98691db9b40f87d9b68ea9565b.zip |
Use prlimit64 for 32-bit [gs]etrlimit64 implementation.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 838b310fcc..c220dca947 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -535,3 +535,8 @@ #if __LINUX_KERNEL_VERSION >= 0x020624 # define __ASSUME_STATFS_F_FLAGS 1 #endif + +/* prlimit64 is available in 2.6.36. */ +#if __LINUX_KERNEL_VERSION >= 0x020624 +# define __ASSUME_PRLIMIT64 1 +#endif |