-
-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seccomp: rework missing syscall number definitions
According to Arnd there are two scenarios as long as __NR_mknodat is defined: 1. __NR_mknod is defined too 2. __NR_mknod was never defined on that architecture Even if tools manually define __NR_mknod it must be defined in the header for them to do this correctly. If it isn't in the header the number will be wrong and we might intercept a wrong syscall. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
- Loading branch information
Christian Brauner
committed
Jun 14, 2019
1 parent
a181ed4
commit c655ed5
Showing
1 changed file
with
7 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters