Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-arm
  • Repository
Switch branch/tag
  • ipipe-arm
  • arch
  • arm
  • kernel
  • entry-common.S
Find file BlameHistoryPermalink
  • Kees Cook's avatar
    ARM: 7578/1: arch/move secure_computing into trace · 9b790d71
    Kees Cook authored Nov 15, 2012
    
    
    There is very little difference in the TIF_SECCOMP and TIF_SYSCALL_WORK
    path in entry-common.S, so merge TIF_SECCOMP into TIF_SYSCALL_WORK and
    move seccomp into the syscall_trace_enter() handler.
    
    Expanded some of the tracehook logic into the callers to make this code
    more readable. Since tracehook needs to do register changing, this portion
    is best left in its own function instead of copy/pasting into the callers.
    
    Additionally, the return value for secure_computing() is now checked
    and a -1 value will result in the system call being skipped.
    
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    Acked-by: default avatarWill Drewry <wad@chromium.org>
    Reviewed-by: default avatarWill Deacon <will.deacon@arm.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    9b790d71

Imprint & Privacy Policy