forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
523 B
26 lines
523 B
#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 __intentional_overflow(-1); |
|
void *security; |
|
} __randomize_layout; |
|
|
|
#endif /* _LINUX_IPC_H */
|
|
|