ipcbuf.h 937 B

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