diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 18:32:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 18:32:23 +0000 |
| commit | a854ed98931b2e365eddd24cd2a1bb53a3f1828f (patch) | |
| tree | de74317436bc6bf8211535e1dbda3f6762d05582 /sys/i386/linux/linux_machdep.c | |
| parent | 65e3406d28b159fab93b499d25ed079b2c978ff7 (diff) | |
Notes
Diffstat (limited to 'sys/i386/linux/linux_machdep.c')
| -rw-r--r-- | sys/i386/linux/linux_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index 99540267bc19..33a4ee26398b 100644 --- a/sys/i386/linux/linux_machdep.c +++ b/sys/i386/linux/linux_machdep.c @@ -561,7 +561,7 @@ linux_iopl(struct thread *td, struct linux_iopl_args *args) return (EINVAL); if ((error = suser_td(td)) != 0) return (error); - if ((error = securelevel_gt(td->td_proc->p_ucred, 0)) != 0) + if ((error = securelevel_gt(td->td_ucred, 0)) != 0) return (error); td->td_frame->tf_eflags = (td->td_frame->tf_eflags & ~PSL_IOPL) | (args->level * (PSL_IOPL / 3)); |
