summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-07-11 15:58:35 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2017-07-13 23:06:45 +0300
commit8fc646b44385ff0a9853f6590497e43049eeb311 (patch)
tree80b44e698a2fc19de2ba6d59c0fb9fcdd5b416c5 /scripts/gcc-plugins/randomize_layout_plugin.c
parentf4439de118283159ff165e52036134a278ebf990 (diff)
downloadlinux-8fc646b44385ff0a9853f6590497e43049eeb311.tar.xz
ovl: fix random return value on mount
On failure to prepare_creds(), mount fails with a random return value, as err was last set to an integer cast of a valid lower mnt pointer or set to 0 if inodes index feature is enabled. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 3fe6e52f0626 ("ovl: override creds with the ones from ...") Cc: <stable@vger.kernel.org> # v4.7 Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions