ipcbuf.h 774 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __PARISC_IPCBUF_H__
  2. #define __PARISC_IPCBUF_H__
  3. #include <asm/bitsperlong.h>
  4. #include <linux/posix_types.h>
  5. /*
  6. * The ipc64_perm structure for PA-RISC is almost identical to
  7. * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel.
  8. * 'seq' has been changed from long to int so that it's the same size
  9. * on 64-bit kernels as on 32-bit ones.
  10. */
  11. struct ipc64_perm
  12. {
  13. __kernel_key_t key;
  14. __kernel_uid_t uid;
  15. __kernel_gid_t gid;
  16. __kernel_uid_t cuid;
  17. __kernel_gid_t cgid;
  18. #if __BITS_PER_LONG != 64
  19. unsigned short int __pad1;
  20. #endif
  21. __kernel_mode_t mode;
  22. unsigned short int __pad2;
  23. unsigned short int seq;
  24. unsigned int __pad3;
  25. unsigned long long int __unused1;
  26. unsigned long long int __unused2;
  27. };
  28. #endif /* __PARISC_IPCBUF_H__ */