freebsd-skq/sys/security
Poul-Henning Kamp 3b6d965263 Add a f_vnode field to struct file.
Several of the subtypes have an associated vnode which is used for
stuff like the f*() functions.

By giving the vnode a speparate field, a number of checks for the specific
subtype can be replaced simply with a check for f_vnode != NULL, and
we can later free f_data up to subtype specific use.

At this point in time, f_data still points to the vnode, so any code I
might have overlooked will still work.
2003-06-22 08:41:43 +00:00
..
mac Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
mac_biba Use mac_biba_label_copy() and mac_mls_label_copy() to implement the 2003-06-02 17:21:38 +00:00
mac_bsdextended Trim "trustedbsd_" from the front of the policy module "short names"; 2003-03-27 19:26:39 +00:00
mac_ifoff Rather than check for M_PKTHDR and conditionally perform access control, 2003-04-18 20:22:23 +00:00
mac_lomac Also implement mpo_copy_mbuf_label() for mac_lomac, or labels may 2003-06-02 18:49:11 +00:00
mac_mls Use mac_biba_label_copy() and mac_mls_label_copy() to implement the 2003-06-02 17:21:38 +00:00
mac_none Trim "trustedbsd_" from the front of the policy module "short names"; 2003-03-27 19:26:39 +00:00
mac_partition Trim "trustedbsd_" from the front of the policy module "short names"; 2003-03-27 19:26:39 +00:00
mac_portacl
mac_seeotheruids Trim "trustedbsd_" from the front of the policy module "short names"; 2003-03-27 19:26:39 +00:00
mac_stub Trim "trustedbsd_" from the front of the policy module "short names"; 2003-03-27 19:26:39 +00:00
mac_test Modify mac_test policy to invoke WITNESS_WARN() when a potentially 2003-04-15 21:20:34 +00:00