Remove trailing whitespace.
This commit is contained in:
parent
fd6a8f23ef
commit
de88922310
@ -412,7 +412,7 @@ mac_bsdextended_check_vnode_deleteacl(struct ucred *cred, struct vnode *vp,
|
||||
return (0);
|
||||
|
||||
error = VOP_GETATTR(vp, &vap, cred, curthread);
|
||||
if (error)
|
||||
if (error)
|
||||
return (error);
|
||||
return (mac_bsdextended_check(cred, vap.va_uid, vap.va_gid, VADMIN));
|
||||
}
|
||||
@ -500,10 +500,10 @@ mac_bsdextended_check_vnode_lookup(struct ucred *cred, struct vnode *dvp,
|
||||
{
|
||||
struct vattr vap;
|
||||
int error;
|
||||
|
||||
|
||||
if (!mac_bsdextended_enabled)
|
||||
return (0);
|
||||
|
||||
|
||||
error = VOP_GETATTR(dvp, &vap, cred, curthread);
|
||||
if (error)
|
||||
return (error);
|
||||
|
@ -114,7 +114,7 @@ check_ifnet_incoming(struct ifnet *ifnet, int viabpf)
|
||||
if (!mac_ifoff_enabled)
|
||||
return (0);
|
||||
|
||||
if (mac_ifoff_lo_enabled && ifnet->if_type == IFT_LOOP)
|
||||
if (mac_ifoff_lo_enabled && ifnet->if_type == IFT_LOOP)
|
||||
return (0);
|
||||
|
||||
if (mac_ifoff_other_enabled && ifnet->if_type != IFT_LOOP)
|
||||
|
@ -343,7 +343,7 @@ mac_lomac_high_single(struct mac_lomac *mac_lomac)
|
||||
|
||||
KASSERT((mac_lomac->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0,
|
||||
("mac_lomac_high_single: mac_lomac not single"));
|
||||
|
||||
|
||||
return (mac_lomac->ml_single.mle_type == MAC_LOMAC_TYPE_HIGH);
|
||||
}
|
||||
|
||||
|
@ -1213,7 +1213,7 @@ mac_test_check_vnode_link(struct ucred *cred, struct vnode *dvp,
|
||||
}
|
||||
|
||||
static int
|
||||
mac_test_check_vnode_lookup(struct ucred *cred, struct vnode *dvp,
|
||||
mac_test_check_vnode_lookup(struct ucred *cred, struct vnode *dvp,
|
||||
struct label *dlabel, struct componentname *cnp)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user