ipcbuf.h 904 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef __ASM_SH64_IPCBUF_H__
  2. #define __ASM_SH64_IPCBUF_H__
  3. /*
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * include/asm-sh64/ipcbuf.h
  9. *
  10. * Copyright (C) 2000, 2001 Paolo Alberelli
  11. *
  12. */
  13. /*
  14. * The ipc64_perm structure for i386 architecture.
  15. * Note extra padding because this structure is passed back and forth
  16. * between kernel and user space.
  17. *
  18. * Pad space is left for:
  19. * - 32-bit mode_t and seq
  20. * - 2 miscellaneous 32-bit values
  21. */
  22. struct ipc64_perm
  23. {
  24. __kernel_key_t key;
  25. __kernel_uid32_t uid;
  26. __kernel_gid32_t gid;
  27. __kernel_uid32_t cuid;
  28. __kernel_gid32_t cgid;
  29. __kernel_mode_t mode;
  30. unsigned short __pad1;
  31. unsigned short seq;
  32. unsigned short __pad2;
  33. unsigned long __unused1;
  34. unsigned long __unused2;
  35. };
  36. #endif /* __ASM_SH64_IPCBUF_H__ */