commit | 35834ca1e4bda56d252aa2024a283d631f0e5ac6 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Thu Oct 18 03:05:31 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Oct 18 14:37:23 2007 -0700 |
tree | 4f73a27db7de4ced7b39907fe958498a3ff7ef4b | |
parent | 25398a158d86b993fa5bf36f5a6752134b584d60 [diff] |
sysctl: simplify the pty sysctl logic Instead of having a bunch of ifdefs in sysctl.c move all of the pty sysctl logic into drivers/char/pty.c As well as cleaning up the logic this prevents sysctl_check_table from complaining that the root table has a NULL data pointer on something with generic methods. 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>