diff options
Diffstat (limited to 'sys/vm/vm_mmap.c')
-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 0336529..c03c588 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); |