ipcbuf.h 883 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2006 Atmark Techno, Inc.
  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. #ifndef _ASM_MICROBLAZE_IPCBUF_H
  9. #define _ASM_MICROBLAZE_IPCBUF_H
  10. /*
  11. * The user_ipc_perm structure for microblaze architecture.
  12. * Note extra padding because this structure is passed back and forth
  13. * between kernel and user space.
  14. *
  15. * Pad space is left for:
  16. * - 32-bit mode_t and seq
  17. * - 2 miscellaneous 32-bit values
  18. */
  19. struct ipc64_perm {
  20. __kernel_key_t key;
  21. __kernel_uid32_t uid;
  22. __kernel_gid32_t gid;
  23. __kernel_uid32_t cuid;
  24. __kernel_gid32_t cgid;
  25. __kernel_mode_t mode;
  26. unsigned short __pad1;
  27. unsigned short seq;
  28. unsigned short __pad2;
  29. unsigned long __unused1;
  30. unsigned long __unused2;
  31. };
  32. #endif /* _ASM_MICROBLAZE_IPCBUF_H */