summaryrefslogblamecommitdiff
path: root/include/linux/ipc.h
blob: 8d861b2651f7b0586edfa0be89adac92d9592746 (plain) (tree)
1
2
3
4
5
6
7


                    
                           
                         
                           
 






                                                                                      
                           
                            



                             
                              



                                  
                         
#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;
	int		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 */