mman.h 1008 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _UAPI__SPARC_MMAN_H__
  3. #define _UAPI__SPARC_MMAN_H__
  4. #include <asm-generic/mman-common.h>
  5. /* SunOS'ified... */
  6. #define PROT_ADI 0x10 /* ADI enabled */
  7. #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
  8. #define MAP_NORESERVE 0x40 /* don't reserve swap pages */
  9. #define MAP_INHERIT 0x80 /* SunOS doesn't do this, but... */
  10. #define MAP_LOCKED 0x100 /* lock the mapping */
  11. #define _MAP_NEW 0x80000000 /* Binary compatibility is fun... */
  12. #define MAP_GROWSDOWN 0x0200 /* stack-like segment */
  13. #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
  14. #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
  15. #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */
  16. #define MCL_FUTURE 0x4000 /* lock all additions to address space */
  17. #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */
  18. #endif /* _UAPI__SPARC_MMAN_H__ */