forked from networkplumbing/go-nft
-
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.
exec: Use a temp file to pass data to the
nft
binary
Using a buffer to pass the nftables configuration to `stdin` has been unintentionally blocked by one of the latest SELinux policies [1]. While the policy issue is fixed, this change introduces an alternative way to pass the configuration data using a temporary file. The workaround can be removed once the SELinux policy is fixed. [1] containers/container-selinux#147 Signed-off-by: Edward Haas <edwardh@redhat.com>
- Loading branch information
Showing
1 changed file
with
21 additions
and
12 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