mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-02 23:35:37 +00:00
Check for mount rules with multiple 'options'
... and adjust the tools to raise an exception if such a rule is found. While this is not nice, it's better than the previous behaviour where only the last 'options' was kept, and the others were lost when writing the rule.
This commit is contained in:
@@ -425,6 +425,9 @@ syntax_failure = (
|
||||
'file/file/ok_embedded_spaces_4.sd', # \-escaped space
|
||||
'file/ok_quoted_4.sd', # quoted string including \"
|
||||
|
||||
# mount rules with multiple 'options' are not supported by the tools yet, and when writing them, only the last 'options' would survive. Therefore MountRule intentionally raises an exception when parsing such a rule.
|
||||
'mount/ok_opt_87.sd',
|
||||
|
||||
# misc
|
||||
'vars/vars_dbus_12.sd', # AARE starting with {{ are not handled
|
||||
'vars/vars_simple_assignment_12.sd', # Redefining existing variable @{BAR} ('\' not handled)
|
||||
|
Reference in New Issue
Block a user