Ver código fonte

sysctl: remove the cad_pid binary sysctl path

It looks like we inadvertently killed the cad_pid binary sysctl support when
cap_pid was changed to be a struct pid.  Since no one has complained just
remove the binary path.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Eric W. Biederman 17 anos atrás
pai
commit
c65f92398e
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      kernel/sysctl.c

+ 0 - 1
kernel/sysctl.c

@@ -509,7 +509,6 @@ static struct ctl_table kern_table[] = {
 #endif
 #endif
 #ifdef CONFIG_PROC_SYSCTL
 #ifdef CONFIG_PROC_SYSCTL
 	{
 	{
-		.ctl_name	= KERN_CADPID,
 		.procname	= "cad_pid",
 		.procname	= "cad_pid",
 		.data		= NULL,
 		.data		= NULL,
 		.maxlen		= sizeof (int),
 		.maxlen		= sizeof (int),