objsec.h (e8bfdb9d0dfc1231a6a71e849dfbd4447acdfff6) | objsec.h (224dfbd81e1ff672eb46e7695469c395bd531083) |
---|---|
1/* 2 * NSA Security-Enhanced Linux (SELinux) security module 3 * 4 * This file contains the SELinux security data structures for kernel objects. 5 * 6 * Author(s): Stephen Smalley, <sds@epoch.ncsc.mil> 7 * Chris Vance, <cvance@nai.com> 8 * Wayne Salamon, <wsalamon@nai.com> --- 86 unchanged lines hidden (view full) --- 95 char unsafe; 96}; 97 98struct netif_security_struct { 99 int ifindex; /* device index */ 100 u32 sid; /* SID for this interface */ 101}; 102 | 1/* 2 * NSA Security-Enhanced Linux (SELinux) security module 3 * 4 * This file contains the SELinux security data structures for kernel objects. 5 * 6 * Author(s): Stephen Smalley, <sds@epoch.ncsc.mil> 7 * Chris Vance, <cvance@nai.com> 8 * Wayne Salamon, <wsalamon@nai.com> --- 86 unchanged lines hidden (view full) --- 95 char unsafe; 96}; 97 98struct netif_security_struct { 99 int ifindex; /* device index */ 100 u32 sid; /* SID for this interface */ 101}; 102 |
103struct netnode_security_struct { 104 union { 105 __be32 ipv4; /* IPv4 node address */ 106 struct in6_addr ipv6; /* IPv6 node address */ 107 } addr; 108 u32 sid; /* SID for this node */ 109 u16 family; /* address family */ 110}; 111 |
|
103struct sk_security_struct { 104 struct sock *sk; /* back pointer to sk object */ 105 u32 sid; /* SID of this object */ 106 u32 peer_sid; /* SID of peer */ 107#ifdef CONFIG_NETLABEL 108 u16 sclass; /* sock security class */ 109 enum { /* NetLabel state */ 110 NLBL_UNSET = 0, --- 15 unchanged lines hidden --- | 112struct sk_security_struct { 113 struct sock *sk; /* back pointer to sk object */ 114 u32 sid; /* SID of this object */ 115 u32 peer_sid; /* SID of peer */ 116#ifdef CONFIG_NETLABEL 117 u16 sclass; /* sock security class */ 118 enum { /* NetLabel state */ 119 NLBL_UNSET = 0, --- 15 unchanged lines hidden --- |