-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The name "DialTCP" is misleading, because it is actually the connect(2) syscall which is being restricted. This makes a difference in the scenario where a future version of Landlock makes socket(2) restrictable. (net.Dial() creates sockets as well, so it would be confusing if permitting landlock.DialTCP() was not enough to net.Dial() a TCP socket) -- It's better to keep the terminology aligned with kernel concepts. I am shamelessly assuming that noone has picked up the DialTCP changes from yesterday yet. (If you did, my apologies.) Better to have a brief window of incompatibility than to carry out long API migrations based on speculative API usages.
- Loading branch information
Showing
5 changed files
with
8 additions
and
8 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
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