summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro2011-06-19 18:49:47 +0200
committerAl Viro2011-07-20 07:43:10 +0200
commit1b5d783c94c328d406e801566f161adcfb018dda (patch)
treee7d27b987e0670099af28db0d6bfcdac33236046 /kernel
parentswitch path_init() to exec_permission() (diff)
downloadkernel-qcow2-linux-1b5d783c94c328d406e801566f161adcfb018dda.tar.gz
kernel-qcow2-linux-1b5d783c94c328d406e801566f161adcfb018dda.tar.xz
kernel-qcow2-linux-1b5d783c94c328d406e801566f161adcfb018dda.zip
consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handling
new helper: would_dump(bprm, file). Checks if we are allowed to read the file and if we are not - sets ENFORCE_NODUMP. Exported, used in places that previously open-coded the same logics. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions