-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IPC: add a function to check runtime support
Apple sandboxes restrict use of the System V / XSI IPC mechanisms. It's currently the only restriction we check for. Attempting to use them will result in SIGSYS delivered to the application, so we shouldn't try. Linux system call filtration can do the same. In fact, systemd's SystemCallFilter= options do default to SIGSYS too and it has an @ipc group that could be used to block SysV. However, the same group blocks the creation of pipes, so it's not in much use. Change-Id: I12a088d1ae424825abd3fffd171d79f7cd5b2b9d Reviewed-by: Mårten Nordheim <[email protected]>
- Loading branch information
1 parent
0b79f58
commit 510e091
Showing
2 changed files
with
32 additions
and
0 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