This repository has been archived by the owner on Aug 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
policy: ignore socket(AF_NETLINK, .*, NETLINK_AUDIT)
when running without CAP_AUDIT_WRITE make sure any call to socket(AF_NETLINK, .*, NETLINK_AUDIT) fails with EINVAL. In this way containers trying to write to the audit log, won't fail since the seccomp filter will report errno == EINVAL (22), that in the case of socket(2) means: EINVAL Unknown protocol, or protocol family not available. This feature requires a development version of Podman and crun/runc to work. Signed-off-by: Giuseppe Scrivano <[email protected]>
- Loading branch information
Showing
2 changed files
with
188 additions
and
2 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