/arch/powerpc/include/asm/ipcbuf.h

https://github.com/aicjofs/android_kernel_lge_v500_20d_f2fs · C Header · 34 lines · 17 code · 4 blank · 13 comment · 0 complexity · eab2d10493e5ad9e0edabb8281feb5d0 MD5 · raw file

  1. #ifndef _ASM_POWERPC_IPCBUF_H
  2. #define _ASM_POWERPC_IPCBUF_H
  3. /*
  4. * The ipc64_perm structure for the powerpc is identical to
  5. * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the
  6. * kernel. Note extra padding because this structure is passed back
  7. * and forth between kernel and user space. Pad space is left for:
  8. * - 1 32-bit value to fill up for 8-byte alignment
  9. * - 2 miscellaneous 64-bit values
  10. *
  11. * This program is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public License
  13. * as published by the Free Software Foundation; either version
  14. * 2 of the License, or (at your option) any later version.
  15. */
  16. #include <linux/types.h>
  17. struct ipc64_perm
  18. {
  19. __kernel_key_t key;
  20. __kernel_uid_t uid;
  21. __kernel_gid_t gid;
  22. __kernel_uid_t cuid;
  23. __kernel_gid_t cgid;
  24. __kernel_mode_t mode;
  25. unsigned int seq;
  26. unsigned int __pad1;
  27. unsigned long long __unused1;
  28. unsigned long long __unused2;
  29. };
  30. #endif /* _ASM_POWERPC_IPCBUF_H */