diff options
Diffstat (limited to 'security/selinux/include/objsec.h')
| -rw-r--r-- | security/selinux/include/objsec.h | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index c03cdcd12a3b..6ebc61e370ff 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -10,6 +10,7 @@   *   *  Copyright (C) 2001,2002 Networks Associates Technology, Inc.   *  Copyright (C) 2003 Red Hat, Inc., James Morris <[email protected]> + *  Copyright (C) 2016 Mellanox Technologies   *   *	This program is free software; you can redistribute it and/or modify   *	it under the terms of the GNU General Public License version 2, @@ -139,6 +140,16 @@ struct key_security_struct {  	u32 sid;	/* SID of key */  }; +struct ib_security_struct { +	u32 sid;        /* SID of the queue pair or MAD agent */ +}; + +struct pkey_security_struct { +	u64	subnet_prefix; /* Port subnet prefix */ +	u16	pkey;	/* PKey number */ +	u32	sid;	/* SID of pkey */ +}; +  extern unsigned int selinux_checkreqprot;  #endif /* _SELINUX_OBJSEC_H_ */  |