mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
audit: audit feature to set loginuid immutable
This adds a new 'audit_feature' bit which allows userspace to set it such that the loginuid is absolutely immutable, even if you have CAP_AUDIT_CONTROL. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
parent
d040e5af38
commit
21b85c31d2
3 changed files with 7 additions and 2 deletions
|
@ -144,8 +144,9 @@ static struct audit_features af = {.vers = AUDIT_FEATURE_VERSION,
|
|||
.features = 0,
|
||||
.lock = 0,};
|
||||
|
||||
static char *audit_feature_names[1] = {
|
||||
static char *audit_feature_names[2] = {
|
||||
"only_unset_loginuid",
|
||||
"loginuid_immutable",
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue