summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/sys_machdep.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
committerjhb <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
commit3706cd350927f08fa8742cce9448c9ba8e4d6b2c (patch)
treede74317436bc6bf8211535e1dbda3f6762d05582 /sys/amd64/amd64/sys_machdep.c
parentec01b5bdbc40025303ba133be03a747c8dc62a2c (diff)
downloadFreeBSD-src-3706cd350927f08fa8742cce9448c9ba8e4d6b2c.zip
FreeBSD-src-3706cd350927f08fa8742cce9448c9ba8e4d6b2c.tar.gz
Simple p_ucred -> td_ucred changes to start using the per-thread ucred
reference.
Diffstat (limited to 'sys/amd64/amd64/sys_machdep.c')
-rw-r--r--sys/amd64/amd64/sys_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c
index b7beea9..58e1a22 100644
--- a/sys/amd64/amd64/sys_machdep.c
+++ b/sys/amd64/amd64/sys_machdep.c
@@ -185,7 +185,7 @@ i386_set_ioperm(td, args)
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);
/*
* XXX
OpenPOWER on IntegriCloud