Path: blob/master/arch/powerpc/include/uapi/asm/ipcbuf.h
26516 views
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */1#ifndef _ASM_POWERPC_IPCBUF_H2#define _ASM_POWERPC_IPCBUF_H34/*5* The ipc64_perm structure for the powerpc is identical to6* kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the7* kernel. Note extra padding because this structure is passed back8* and forth between kernel and user space. Pad space is left for:9* - 1 32-bit value to fill up for 8-byte alignment10* - 2 miscellaneous 64-bit values11*12* This program is free software; you can redistribute it and/or13* modify it under the terms of the GNU General Public License14* as published by the Free Software Foundation; either version15* 2 of the License, or (at your option) any later version.16*/1718#include <linux/types.h>1920struct ipc64_perm21{22__kernel_key_t key;23__kernel_uid_t uid;24__kernel_gid_t gid;25__kernel_uid_t cuid;26__kernel_gid_t cgid;27__kernel_mode_t mode;28unsigned int seq;29unsigned int __pad1;30unsigned long long __unused1;31unsigned long long __unused2;32};3334#endif /* _ASM_POWERPC_IPCBUF_H */353637