resource.h 698 B

12345678910111213141516171819202122
  1. #ifndef _ALPHA_RESOURCE_H
  2. #define _ALPHA_RESOURCE_H
  3. /*
  4. * Alpha/Linux-specific ordering of these four resource limit IDs,
  5. * the rest comes from the generic header:
  6. */
  7. #define RLIMIT_NOFILE 6 /* max number of open files */
  8. #define RLIMIT_AS 7 /* address space limit */
  9. #define RLIMIT_NPROC 8 /* max number of processes */
  10. #define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */
  11. /*
  12. * SuS says limits have to be unsigned. Fine, it's unsigned, but
  13. * we retain the old value for compatibility, especially with DU.
  14. * When you run into the 2^63 barrier, you call me.
  15. */
  16. #define RLIM_INFINITY 0x7ffffffffffffffful
  17. #include <asm-generic/resource.h>
  18. #endif /* _ALPHA_RESOURCE_H */