diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-10-18 03:05:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:37:23 -0700 |
commit | 49ffcf8f99e8d33ec8afb450956804af518fd788 (patch) | |
tree | f55aac9ddebb4f798ba8ff8152c73a73a3dc93a2 /kernel/audit.h | |
parent | fc6cd25b738c2369d7ed3a6ef2ca248b51fcd2d4 (diff) |
sysctl: update sysctl_check_table
Well it turns out after I dug into the problems a little more I was returning
a few false positives so this patch updates my logic to remove them.
- Don't complain about 0 ctl_names in sysctl_check_binary_path
It is valid for someone to remove the sysctl binary interface
and still keep the same sysctl proc interface.
- Count ctl_names and procnames as matching if they both don't
exist.
- Only warn about missing min&max when the generic functions care.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions