-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict socket syscall arguments to TCP/UDP/UNIX
Previously, even if `Networking::allow_start_{tcp,udp,unix}_servers` was called, the socket syscall wasn't restricted to just sockets of that specific type. This prevents many CVEs that exploit, e.g. the netlink subsystem, although they were already prevented if you didn't need networking or pre-opened sockets and used `Networking::allow_running_*_servers`.
- Loading branch information
1 parent
4bff86e
commit c96e38c
Showing
4 changed files
with
188 additions
and
18 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
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
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
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