ipcbuf.h 728 B

12345678910111213141516171819202122232425262728
  1. #ifndef __PPC64_IPCBUF_H__
  2. #define __PPC64_IPCBUF_H__
  3. /*
  4. * The ipc64_perm structure for the PPC is identical to kern_ipc_perm
  5. * as we have always had 32-bit UIDs and GIDs in the kernel.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version
  10. * 2 of the License, or (at your option) any later version.
  11. */
  12. struct ipc64_perm
  13. {
  14. __kernel_key_t key;
  15. __kernel_uid_t uid;
  16. __kernel_gid_t gid;
  17. __kernel_uid_t cuid;
  18. __kernel_gid_t cgid;
  19. __kernel_mode_t mode;
  20. unsigned int seq;
  21. unsigned int __pad1;
  22. unsigned long __unused1;
  23. unsigned long __unused2;
  24. };
  25. #endif /* __PPC64_IPCBUF_H__ */