git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f32a9
)
consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handling
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 19 Jun 2011 16:49:47 +0000
(12:49 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:10 +0000
(
01:43
-0400)
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>
fs/binfmt_elf.c
patch
|
blob
|
history
fs/binfmt_elf_fdpic.c
patch
|
blob
|
history
fs/binfmt_misc.c
patch
|
blob
|
history
fs/exec.c
patch
|
blob
|
history
include/linux/binfmts.h
patch
|
blob
|
history
diff --cc
fs/binfmt_elf.c
Simple merge
diff --cc
fs/binfmt_elf_fdpic.c
Simple merge
diff --cc
fs/binfmt_misc.c
Simple merge
diff --cc
fs/exec.c
Simple merge
diff --cc
include/linux/binfmts.h
Simple merge