diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c index feb243522284..c32ae3444622 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -1793,6 +1793,12 @@ void set_dumpable(struct mm_struct *mm, int value) } } +/* + * This returns the actual value of the suid_dumpable flag. For things + * that are using this for checking for privilege transitions, it must + * test against SUID_DUMP_USER rather than treating it as a boolean + * value. + */ int get_dumpable(struct mm_struct *mm) { int ret; |