summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/procfs/procfs_ioctl.c')
-rw-r--r--sys/fs/procfs/procfs_ioctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_ioctl.c b/sys/fs/procfs/procfs_ioctl.c
index bd003e0..ccff555 100644
--- a/sys/fs/procfs/procfs_ioctl.c
+++ b/sys/fs/procfs/procfs_ioctl.c
@@ -114,8 +114,7 @@ procfs_ioctl(PFS_IOCTL_ARGS)
* p_candebug() should implement it, or other checks
* are missing.
*/
- error = priv_check_cred(td->td_ucred,
- PRIV_DEBUG_SUGID, SUSER_ALLOWJAIL);
+ error = priv_check(td, PRIV_DEBUG_SUGID);
if (error)
break;
}
OpenPOWER on IntegriCloud