aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2014-08-08 14:21:25 -0700
committerLinus Torvalds <[email protected]>2014-08-08 15:57:22 -0700
commitdbcdb504417ae108a20454ef89776a614b948571 (patch)
tree397a024e382d28f09ccb020d4a2daedd2d251e9d /lib/mpi/mpi-internal.h
parentccf94f1b4a8560ffdc221840535bae5e5a91a53c (diff)
proc: add and remove /proc entry create checks
* remove proc_create(NULL, ...) check, let it oops * warn about proc_create("", ...) and proc_create("very very long name", ...) proc code keeps length as u8, no 256+ name length possible * warn about proc_create("123", ...) /proc/$PID and /proc/misc namespaces are separate things, but dumb module might create funky a-la $PID entry. * remove post mortem strchr('/') check Triggering it implies either strchr() is buggy or memory corruption. It should be VFS check anyway. In reality, none of these checks will ever trigger, it is preparation for the next patch. Based on patch from Al Viro. Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions