Searched hist:"701 a90bad99b8081a824cca52c178c8fc8f46bb2" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/net/ |
H A D | netlabel.h | diff 701a90bad99b8081a824cca52c178c8fc8f46bb2 Fri Nov 17 16:38:46 CST 2006 Paul Moore <paul.moore@hp.com> NetLabel: make netlbl_lsm_secattr struct easier/quicker to understand
The existing netlbl_lsm_secattr struct required the LSM to check all of the fields to determine if any security attributes were present resulting in a lot of work in the common case of no attributes. This patch adds a 'flags' field which is used to indicate which attributes are present in the structure; this should allow the LSM to do a quick comparison to determine if the structure holds any security attributes.
Example:
if (netlbl_lsm_secattr->flags) /* security attributes present */ else /* NO security attributes present */
Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_kapi.c | diff 701a90bad99b8081a824cca52c178c8fc8f46bb2 Fri Nov 17 16:38:46 CST 2006 Paul Moore <paul.moore@hp.com> NetLabel: make netlbl_lsm_secattr struct easier/quicker to understand
The existing netlbl_lsm_secattr struct required the LSM to check all of the fields to determine if any security attributes were present resulting in a lot of work in the common case of no attributes. This patch adds a 'flags' field which is used to indicate which attributes are present in the structure; this should allow the LSM to do a quick comparison to determine if the structure holds any security attributes.
Example:
if (netlbl_lsm_secattr->flags) /* security attributes present */ else /* NO security attributes present */
Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/net/ipv4/ |
H A D | cipso_ipv4.c | diff 701a90bad99b8081a824cca52c178c8fc8f46bb2 Fri Nov 17 16:38:46 CST 2006 Paul Moore <paul.moore@hp.com> NetLabel: make netlbl_lsm_secattr struct easier/quicker to understand
The existing netlbl_lsm_secattr struct required the LSM to check all of the fields to determine if any security attributes were present resulting in a lot of work in the common case of no attributes. This patch adds a 'flags' field which is used to indicate which attributes are present in the structure; this should allow the LSM to do a quick comparison to determine if the structure holds any security attributes.
Example:
if (netlbl_lsm_secattr->flags) /* security attributes present */ else /* NO security attributes present */
Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/security/selinux/ss/ |
H A D | services.c | diff 701a90bad99b8081a824cca52c178c8fc8f46bb2 Fri Nov 17 16:38:46 CST 2006 Paul Moore <paul.moore@hp.com> NetLabel: make netlbl_lsm_secattr struct easier/quicker to understand
The existing netlbl_lsm_secattr struct required the LSM to check all of the fields to determine if any security attributes were present resulting in a lot of work in the common case of no attributes. This patch adds a 'flags' field which is used to indicate which attributes are present in the structure; this should allow the LSM to do a quick comparison to determine if the structure holds any security attributes.
Example:
if (netlbl_lsm_secattr->flags) /* security attributes present */ else /* NO security attributes present */
Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
|