aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2018-09-29 13:40:40 +1000
committerDave Chinner <[email protected]>2018-09-29 13:40:40 +1000
commitae29478766f4c8e16edca6fe1e25d73c47991ebe (patch)
tree0e37ce3de3e13f7a2f3c1e00651c25905c70fac6 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
xfs: don't crash the vfs on a garbage inline symlink
The VFS routine that calls ->get_link blindly copies whatever's returned into the user's buffer. If we return a NULL pointer, the vfs will crash on the null pointer. Therefore, return -EFSCORRUPTED instead of blowing up the kernel. [dgc: clean up with hch's suggestions] Reported-by: [email protected] Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Allison Henderson <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions