ipcbuf.h 700 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _SPARC_IPCBUF_H
  2. #define _SPARC_IPCBUF_H
  3. /*
  4. * The ipc64_perm structure for sparc 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 mode
  10. * - 32-bit seq
  11. * - 2 miscellaneous 64-bit values (so that this structure matches
  12. * sparc64 ipc64_perm)
  13. */
  14. struct ipc64_perm
  15. {
  16. __kernel_key_t key;
  17. __kernel_uid32_t uid;
  18. __kernel_gid32_t gid;
  19. __kernel_uid32_t cuid;
  20. __kernel_gid32_t cgid;
  21. unsigned short __pad1;
  22. __kernel_mode_t mode;
  23. unsigned short __pad2;
  24. unsigned short seq;
  25. unsigned long long __unused1;
  26. unsigned long long __unused2;
  27. };
  28. #endif /* _SPARC_IPCBUF_H */