Skip to content

Commit 1744322

Browse files
rmetrichstevegrubb
authored andcommitted
allow filesystem filtering on cgroup and cgroup2
This is useful to avoid syscall hits on cgroup hierarchy manipulation heavily performed by systemd, typically when having CIS rules in place. Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
1 parent f045e9d commit 1744322

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/auditctl.8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Exit value from a syscall. If the exit code is an errno, you may use the text re
169169
Filesystem Group ID. May be numeric or the groups name.
170170
.TP
171171
.B fstype
172-
File system type. This is used with the filesystem rule list. The only values supported are debugfs and tracefs.
172+
File system type. This is used with the filesystem rule list. The only values supported are cgroup, cgroup2, debugfs and tracefs.
173173
.TP
174174
.B fsuid
175175
Filesystem User ID. May be numeric or the user account name.

lib/fstypetab.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* fstypetab.h --
2-
* Copyright 2017 Red Hat Inc., Durham, North Carolina.
2+
* Copyright 2017,2026 Red Hat Inc., Durham, North Carolina.
33
* All Rights Reserved.
44
*
55
* This library is free software; you can redistribute it and/or
@@ -24,3 +24,5 @@
2424
*/
2525
_S(0x74726163, "tracefs" )
2626
_S(0x64626720, "debugfs" )
27+
_S(0x27e0eb, "cgroup" )
28+
_S(0x63677270, "cgroup2" )

0 commit comments

Comments
 (0)