diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-08-19 06:52:21 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-08-19 06:52:21 +0000 |
| commit | fee7d450d8874cf822cdfa62a1e1a7c9c4f7f47b (patch) | |
| tree | 385a22aeef0039426b0158c0ccad32609b9687a7 /sys/security | |
| parent | e706181ba66909c58a6192d5600965ff5416dcf3 (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/lomac/kernel_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/lomac/kernel_util.c b/sys/security/lomac/kernel_util.c index 91e488e9d52d..42de89947e95 100644 --- a/sys/security/lomac/kernel_util.c +++ b/sys/security/lomac/kernel_util.c @@ -383,7 +383,7 @@ unmount(td, uap) */ if (!mediate_subject_at_level("unmount", td->td_proc, LOMAC_HIGHEST_LEVEL) || - ((mp->mnt_stat.f_owner != td->td_ucred->cr_uid) && + ((mp->mnt_cred->cr_uid != td->td_ucred->cr_uid) && (error = suser(td)))) { vput(vp); return (error); |
