repo.or.cz
/
linux-2.6.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-2.6.git]
/
include
/
linux
/
ipc.h
blob
8d861b2651f7b0586edfa0be89adac92d9592746
1
#ifndef _LINUX_IPC_H
2
#define _LINUX_IPC_H
3
4
#include <linux/spinlock.h>
5
#include <linux/uidgid.h>
6
#include <uapi/linux/ipc.h>
7
8
#define IPCMNI 32768
/* <= MAX_INT limit for ipc arrays (including sysctl changes) */
9
10
/* used by in-kernel data structures */
11
struct
kern_ipc_perm
12
{
13
spinlock_t lock
;
14
int
deleted
;
15
int
id
;
16
key_t key
;
17
kuid_t uid
;
18
kgid_t gid
;
19
kuid_t cuid
;
20
kgid_t cgid
;
21
umode_t mode
;
22
unsigned long
seq
;
23
void
*
security
;
24
};
25
26
#endif
/* _LINUX_IPC_H */