-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i/builtin: check mount flags for conflicts
The mount-control interface used to allow requesting contradicting mount options, such as nodev and dev and would silently pass this down to apparmor_parser. The parser would detect this and cause the failure of the security setup. With this code we now detect this much earlier, at interface validation stage. Fixes: https://warthogs.atlassian.net/browse/SNAPDENG-32984 Signed-off-by: Zygmunt Krynicki <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 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