Commit Graph

3 Commits

Author SHA1 Message Date
Thiébaud Weksteen
ab4cce4fb9 Rename IoctlSet to XpermSet
The same class can be used for both ioctl and nlmsg extended
permissions. Rename the current class and mark IoctlSet as deprecated.

Signed-off-by: Thiébaud Weksteen <tweek@google.com>
2024-11-01 14:32:28 +11:00
Chris PeBenito
0856100fcb tests/util: Refactor validate_rule() to handle role allows.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
2024-04-19 14:54:13 -04:00
Chris PeBenito
c958e67544 tests/library: Move validate_rule to a regular function.
Now that unit tests use pytest, validate_rule no longer needs to use "self"
to do assertions. It no longer needs to be a mixin.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
2024-04-19 13:42:20 -04:00