diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2018-12-11 19:32:16 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2018-12-11 19:32:16 +0000 |
| commit | cc426dd31990b8b50b210efc450e404596548ca1 (patch) | |
| tree | 4c797c5d8886d8d05bb5346b747005b539105825 /sys/security/mac | |
| parent | 959530cc41aea5f878c2c2cea5b545d295108bab (diff) | |
Notes
Diffstat (limited to 'sys/security/mac')
| -rw-r--r-- | sys/security/mac/mac_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index 5c781e39491f7..cfea7e9a6e91d 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -477,7 +477,7 @@ mac_ifnet_ioctl_set(struct ucred *cred, struct ifreq *ifr, struct ifnet *ifp) * impose this check themselves if required by the policy * Eventually, this should go away. */ - error = priv_check_cred(cred, PRIV_NET_SETIFMAC, 0); + error = priv_check_cred(cred, PRIV_NET_SETIFMAC); if (error) { mac_ifnet_label_free(intlabel); return (error); |
