aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorDave Martin <[email protected]>2017-06-15 15:03:39 +0100
committerWill Deacon <[email protected]>2017-06-20 12:42:58 +0100
commit47ccb02868cead34578d953b5fe0cdd58394605e (patch)
tree0aa4f06e85f3f80b9fe8cd34d711e1e0ef750bbe /tools/perf/util/c++/clang-test.cpp
parent20987de3c2c45c314e0386f724aa85f55d984ef2 (diff)
arm64: signal: Refactor sigcontext parsing in rt_sigreturn
Currently, rt_sigreturn does very limited checking on the sigcontext coming from userspace. Future additions to the sigcontext data will increase the potential for surprises. Also, it is not clear whether the sigcontext extension records are supposed to occur in a particular order. To allow the parsing code to be extended more easily, this patch factors out the sigcontext parsing into a separate function, and adds extra checks to validate the well-formedness of the sigcontext structure. Reviewed-by: Catalin Marinas <[email protected]> Signed-off-by: Dave Martin <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions