objsec.h (66de33a0bbb59ef3909d2c65dbbb7fc503d573bd) | objsec.h (61a1dcdceb44d79e5ab511295791b88ea178c045) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Security-Enhanced Linux (SELinux) security module 4 * 5 * This file contains the SELinux security data structures for kernel objects. 6 * 7 * Author(s): Stephen Smalley, <stephen.smalley.work@gmail.com> 8 * Chris Vance, <cvance@nai.com> --- 203 unchanged lines hidden (view full) --- 212 return security + selinux_blob_sizes.lbs_tun_dev; 213} 214 215static inline struct ib_security_struct *selinux_ib(void *ib_sec) 216{ 217 return ib_sec + selinux_blob_sizes.lbs_ib; 218} 219 | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Security-Enhanced Linux (SELinux) security module 4 * 5 * This file contains the SELinux security data structures for kernel objects. 6 * 7 * Author(s): Stephen Smalley, <stephen.smalley.work@gmail.com> 8 * Chris Vance, <cvance@nai.com> --- 203 unchanged lines hidden (view full) --- 212 return security + selinux_blob_sizes.lbs_tun_dev; 213} 214 215static inline struct ib_security_struct *selinux_ib(void *ib_sec) 216{ 217 return ib_sec + selinux_blob_sizes.lbs_ib; 218} 219 |
220static inline struct perf_event_security_struct * 221selinux_perf_event(void *perf_event) 222{ 223 return perf_event + selinux_blob_sizes.lbs_perf_event; 224} 225 |
|
220#endif /* _SELINUX_OBJSEC_H_ */ | 226#endif /* _SELINUX_OBJSEC_H_ */ |