Skip to content

Commit 011ebc8

Browse files
cgzonespcmoore
authored andcommitted
notebook: mention wildcard and complement constrain permission support
Since 4be0e2e1 ("checkpolicy: allow wildcard permissions in constraints") checkpolicy(8) supports the wildcard and the complement operator in the constrain statement. Signed-off-by: Christian Göttsche <[email protected]> [PM: minor grammar/style edits] Signed-off-by: Paul Moore <[email protected]>
1 parent a844d81 commit 011ebc8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/constraint_statements.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ enclosed in braces \'\{\}\'.
3131
*perm_set*
3232

3333
One or more permissions. Multiple entries consist of a space separated list
34-
enclosed in braces \'\{\}\'.
34+
enclosed in braces \'\{\}\'. Since ***checkpolicy**(8)* 3.4 the wildcard
35+
operator, \'\*\', can be used to specify that all permissions are to be
36+
included, and the complement operator, \'\~\', can be used to specify all
37+
permissions are to be included except those explicitly listed.
3538

3639
*expression*
3740

@@ -274,7 +277,10 @@ list enclosed in braces \'\{\}\'.
274277
*perm_set*
275278

276279
One or more permissions. Multiple entries consist of a space separated
277-
list enclosed in braces \'\{\}\'.
280+
list enclosed in braces \'\{\}\'. Since ***checkpolicy**(8)* 3.4 the wildcard
281+
operator, \'\*\', can be used to specify that all permissions are to be
282+
included, and the complement operator, \'\~\', can be used to specify all
283+
permissions are to be included except those explicitly listed.
278284

279285
*expression*
280286

0 commit comments

Comments
 (0)