diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2008-01-28 10:20:18 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2008-01-28 10:20:18 +0000 |
| commit | 5ac3b0350008b34b3b9ce93045f6d7dbc7dc94a0 (patch) | |
| tree | 04ba973c40fea604dcdcb98192ba5f326744089d /sys/security/mac_mls | |
| parent | 7572a9c749459a76ed04127dcc5f58a4b285cab2 (diff) | |
Notes
Diffstat (limited to 'sys/security/mac_mls')
| -rw-r--r-- | sys/security/mac_mls/mac_mls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c index eb3ab0e20a48..acf94235e07e 100644 --- a/sys/security/mac_mls/mac_mls.c +++ b/sys/security/mac_mls/mac_mls.c @@ -964,9 +964,7 @@ mls_ifnet_check_relabel(struct ucred *cred, struct ifnet *ifp, /* * Relabeling network interfaces requires MLS privilege. */ - error = mls_subject_privileged(subj); - - return (0); + return (mls_subject_privileged(subj)); } static int |
