ipcbuf.h 711 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __PPC_IPCBUF_H__
  2. #define __PPC_IPCBUF_H__
  3. /*
  4. * The ipc64_perm structure for PPC 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. * - 1 32-bit value to fill up for 8-byte alignment
  10. * - 2 miscellaneous 64-bit values (so that this structure matches
  11. * PPC64 ipc64_perm)
  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. __kernel_mode_t mode;
  21. unsigned long seq;
  22. unsigned int __pad2;
  23. unsigned long long __unused1;
  24. unsigned long long __unused2;
  25. };
  26. #endif /* __PPC_IPCBUF_H__ */