ipcbuf.h 629 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __ASM_IPCBUF_H__
  2. #define __ASM_IPCBUF_H__
  3. /*
  4. * The user_ipc_perm structure for FR-V 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_t and seq
  10. * - 2 miscellaneous 32-bit values
  11. */
  12. struct ipc64_perm
  13. {
  14. __kernel_key_t key;
  15. __kernel_uid32_t uid;
  16. __kernel_gid32_t gid;
  17. __kernel_uid32_t cuid;
  18. __kernel_gid32_t cgid;
  19. __kernel_mode_t mode;
  20. unsigned short __pad1;
  21. unsigned short seq;
  22. unsigned short __pad2;
  23. unsigned long __unused1;
  24. unsigned long __unused2;
  25. };
  26. #endif /* __ASM_IPCBUF_H__ */