diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2003-07-31 18:35:43 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2003-07-31 18:35:43 +0000 |
| commit | 18a25b6126a66f1206bce3be75806c1f5e44bffa (patch) | |
| tree | 79d8c9cdfaaea05a7f75ba5e84db10ceaa0da3fe /sys | |
| parent | 3f2a1b0656646ef7f34b3baac5f9461305f4920c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/security/mac_biba/mac_biba.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index 60575c0076a0e..afd5c7a5f8556 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -1482,25 +1482,6 @@ mac_biba_check_ifnet_relabel(struct ucred *cred, struct ifnet *ifnet, if (error) return (error); - /* - * If the Biba label is to be changed, authorize as appropriate. - */ - if (new->mb_flags & MAC_BIBA_FLAGS_BOTH) { - /* - * Rely on the traditional superuser status for the Biba - * interface relabel requirements. XXXMAC: This will go - * away. - */ - error = suser_cred(cred, 0); - if (error) - return (EPERM); - - /* - * XXXMAC: Additional consistency tests regarding the single - * and the range of the new label might be performed here. - */ - } - return (0); } |
