summaryrefslogtreecommitdiff
path: root/include/linux/ioport.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-19 12:49:47 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 01:43:10 -0400
commit1b5d783c94c328d406e801566f161adcfb018dda (patch)
treee7d27b987e0670099af28db0d6bfcdac33236046 /include/linux/ioport.h
parent78f32a9b479e9b9f1ce2bf620a7602c1cdbc4c8e (diff)
downloadlinux-3.10-1b5d783c94c328d406e801566f161adcfb018dda.tar.gz
linux-3.10-1b5d783c94c328d406e801566f161adcfb018dda.tar.bz2
linux-3.10-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 'include/linux/ioport.h')
0 files changed, 0 insertions, 0 deletions