ipcbuf.h 678 B

123456789101112131415161718192021222324252627
  1. #ifndef __PARISC_IPCBUF_H__
  2. #define __PARISC_IPCBUF_H__
  3. /*
  4. * The ipc64_perm structure for PA-RISC is almost identical to
  5. * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel.
  6. * 'seq' has been changed from long to int so that it's the same size
  7. * on 64-bit kernels as on 32-bit ones.
  8. */
  9. struct ipc64_perm
  10. {
  11. key_t key;
  12. uid_t uid;
  13. gid_t gid;
  14. uid_t cuid;
  15. gid_t cgid;
  16. unsigned short int __pad1;
  17. mode_t mode;
  18. unsigned short int __pad2;
  19. unsigned short int seq;
  20. unsigned int __pad3;
  21. unsigned long long int __unused1;
  22. unsigned long long int __unused2;
  23. };
  24. #endif /* __PARISC_IPCBUF_H__ */