ipcbuf.h 700 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef __SPARC_IPCBUF_H
  2. #define __SPARC_IPCBUF_H
  3. /*
  4. * The ipc64_perm structure for sparc/sparc64 architecture.
  5. * Note extra padding because this structure is passed back and forth
  6. * between kernel and user space.
  7. *
  8. * Pad space is left for:
  9. * - 32-bit seq
  10. * - on sparc for 32 bit mode (it is 32 bit on sparc64)
  11. * - 2 miscellaneous 64-bit values
  12. */
  13. struct ipc64_perm
  14. {
  15. __kernel_key_t key;
  16. __kernel_uid_t uid;
  17. __kernel_gid_t gid;
  18. __kernel_uid_t cuid;
  19. __kernel_gid_t cgid;
  20. #ifndef __arch64__
  21. unsigned short __pad0;
  22. #endif
  23. __kernel_mode_t mode;
  24. unsigned short __pad1;
  25. unsigned short seq;
  26. unsigned long long __unused1;
  27. unsigned long long __unused2;
  28. };
  29. #endif /* __SPARC_IPCBUF_H */