diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-05 17:04:01 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-08-05 17:04:01 -0300 |
commit | 57f0f512b273f60d52568b8c6b77e17f5636edc0 (patch) | |
tree | 5e910f0e82173f4ef4f51111366a3f1299037a7b /include/linux/ipc.h |
Initial import
Diffstat (limited to 'include/linux/ipc.h')
-rw-r--r-- | include/linux/ipc.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/ipc.h b/include/linux/ipc.h new file mode 100644 index 000000000..9d84942ae --- /dev/null +++ b/include/linux/ipc.h @@ -0,0 +1,26 @@ +#ifndef _LINUX_IPC_H +#define _LINUX_IPC_H + +#include <linux/spinlock.h> +#include <linux/uidgid.h> +#include <uapi/linux/ipc.h> + +#define IPCMNI 32768 /* <= MAX_INT limit for ipc arrays (including sysctl changes) */ + +/* used by in-kernel data structures */ +struct kern_ipc_perm +{ + spinlock_t lock; + bool deleted; + int id; + key_t key; + kuid_t uid; + kgid_t gid; + kuid_t cuid; + kgid_t cgid; + umode_t mode; + unsigned long seq; + void *security; +}; + +#endif /* _LINUX_IPC_H */ |