diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:27:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:27:49 +0000 |
commit | ace9429bb58fd418f0c81d4c2835699bddf6bde6 (patch) | |
tree | b2d64bc10158fdd5497876388cd68142ca374ed3 /include/linux/ipc.h | |
parent | Initial commit. (diff) | |
download | linux-ace9429bb58fd418f0c81d4c2835699bddf6bde6.tar.xz linux-ace9429bb58fd418f0c81d4c2835699bddf6bde6.zip |
Adding upstream version 6.6.15.upstream/6.6.15
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/linux/ipc.h')
-rw-r--r-- | include/linux/ipc.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/ipc.h b/include/linux/ipc.h new file mode 100644 index 000000000..e1c9eea60 --- /dev/null +++ b/include/linux/ipc.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_IPC_H +#define _LINUX_IPC_H + +#include <linux/spinlock.h> +#include <linux/uidgid.h> +#include <linux/rhashtable-types.h> +#include <uapi/linux/ipc.h> +#include <linux/refcount.h> + +/* 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; + + struct rhash_head khtnode; + + struct rcu_head rcu; + refcount_t refcount; +} ____cacheline_aligned_in_smp __randomize_layout; + +#endif /* _LINUX_IPC_H */ |