Remove support for the unused 4th component of the KERN_PROC_PROC sysctl.
This commit is contained in:
parent
7434862b98
commit
a50f62fd9f
@ -923,14 +923,8 @@ sysctl_kern_proc(SYSCTL_HANDLER_ARGS)
|
||||
switch (oidp->oid_number) {
|
||||
case KERN_PROC_ALL:
|
||||
case KERN_PROC_PROC:
|
||||
/*
|
||||
* XXX Temporarily disabled for compat with old userland
|
||||
* that passes an extra unused argument to KERN_PROC_PROC.
|
||||
*/
|
||||
#if 0
|
||||
if (namelen != 0)
|
||||
return (EINVAL);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
if (namelen != 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user