ipcbuf.h 905 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. /*
  14. * Pad space is left for:
  15. * - 32-bit mode_t and seq
  16. * - 2 miscellaneous 32-bit values
  17. *
  18. * This file is subject to the terms and conditions of the GNU General
  19. * Public License. See the file "COPYING" in the main directory of
  20. * this archive for more details.
  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 long seq;
  31. unsigned long __unused1;
  32. unsigned long __unused2;
  33. };
  34. #endif /* _XTENSA_IPCBUF_H */