Skip to content

Commit

Permalink
Merge tag 'seccomp-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/k…
Browse files Browse the repository at this point in the history
…ernel/git/kees/linux

Pull seccomp update from Kees Cook:

 - Provide stub for !HAVE_ARCH_SECCOMP_FILTER (Linus Walleij)

   This will make it easier to port arm32 to the generic entry code.

* tag 'seccomp-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  seccomp: Stub for !HAVE_ARCH_SECCOMP_FILTER
  • Loading branch information
torvalds committed Nov 20, 2024
2 parents 18a411c + 8cf8dfc commit df66aea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/seccomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ static inline int secure_computing(void)
}
#else
extern void secure_computing_strict(int this_syscall);
static inline int __secure_computing(const struct seccomp_data *sd)
{
secure_computing_strict(sd->nr);
return 0;
}
#endif

extern long prctl_get_seccomp(void);
Expand Down

0 comments on commit df66aea

Please sign in to comment.