diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-09-26 20:29:39 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-09-26 20:29:39 +0000 |
| commit | 8c5d4fe829037ff8ea6b1c7023576c8bdc5a5bfc (patch) | |
| tree | ca9619b2967fbbdc8a4bf06c2799597f90883cd2 /sys/vm | |
| parent | 3026f29e3455c9edf1e2a617cf37f1262b2d5cb2 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 03365293ebffc..c03c588a2f49f 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -355,7 +355,7 @@ mmap(td, uap) * other securelevel. * XXX this will have to go */ - if (securelevel >= 1) + if (securelevel_ge(td->td_proc->p_ucred, 1)) disablexworkaround = 1; else disablexworkaround = suser_td(td); |
