Paul Moore
701a90bad9
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 >
2006-12-02 21:24:07 -08:00
..
2006-12-02 21:21:29 -08:00
2006-12-02 21:22:48 -08:00
2006-12-02 21:21:47 -08:00
2006-09-22 14:55:10 -07:00
2006-12-02 21:21:08 -08:00
2006-09-22 14:55:10 -07:00
2006-12-02 21:22:52 -08:00
2006-08-02 14:12:06 -07:00
2006-09-21 11:46:18 +10:00
2006-12-02 21:22:50 -08:00
2006-12-02 21:22:55 -08:00
2006-12-02 21:23:39 -08:00
2006-09-29 17:05:05 -07:00
2006-09-22 14:54:40 -07:00
2006-10-21 20:24:01 -07:00
2006-12-02 21:23:40 -08:00
2006-09-28 18:02:58 -07:00
2006-09-22 15:17:35 -07:00
2006-12-02 21:22:11 -08:00
2006-12-02 21:21:39 -08:00
2006-12-02 21:22:42 -08:00
2006-09-28 18:01:06 -07:00
2006-12-02 00:11:57 -05:00
2006-10-16 20:09:47 -04:00
2006-12-02 21:22:08 -08:00
2006-12-02 21:21:52 -08:00
2006-12-02 21:21:10 -08:00
2006-12-02 21:21:52 -08:00
2006-12-02 21:23:40 -08:00
2006-09-28 18:02:26 -07:00
2006-09-28 18:02:26 -07:00
2006-10-12 00:00:00 -07:00
2006-10-20 00:28:35 -07:00
2006-12-02 21:23:25 -08:00
2006-12-02 21:22:07 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:21:40 -08:00
2006-12-02 21:21:39 -08:00
2006-12-02 21:23:41 -08:00
2006-12-02 21:23:40 -08:00
2006-09-21 11:46:22 +10:00
2006-12-02 21:21:09 -08:00
2006-12-02 21:22:27 -08:00
2006-12-02 21:22:53 -08:00
2006-11-05 14:11:25 -08:00
2006-12-02 21:21:23 -08:00
2006-09-22 15:07:01 -07:00
2006-12-02 21:22:52 -08:00
2006-09-22 15:20:24 -07:00
2006-10-04 03:38:54 -04:00
2006-08-02 13:38:20 -07:00
2006-12-02 21:24:07 -08:00
2006-12-02 21:22:11 -08:00
2006-09-22 14:55:04 -07:00
2006-12-02 21:21:12 -08:00
2006-12-02 21:21:12 -08:00
2006-08-04 22:59:51 -07:00
2006-12-02 21:22:39 -08:00
2006-09-28 18:02:10 -07:00
2006-08-02 14:12:06 -07:00
2006-09-22 14:55:16 -07:00
2006-12-02 21:23:51 -08:00
2006-12-02 21:23:38 -08:00
2006-12-02 21:22:39 -08:00
2006-12-02 21:22:46 -08:00
2006-12-02 21:23:38 -08:00
2006-12-02 21:23:48 -08:00
2006-12-02 21:22:46 -08:00