mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
audit: add support for fcaps v3
V3 namespaced file capabilities were introduced in
commit 8db6c34f1d
("Introduce v3 namespaced file capabilities")
Add support for these by adding the "frootid" field to the existing
fcaps fields in the NAME and BPRM_FCAPS records.
Please see github issue
https://github.com/linux-audit/audit-kernel/issues/103
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
[PM: comment tweak to fit an 80 char line width]
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
4b7d248b3a
commit
2fec30e245
5 changed files with 14 additions and 4 deletions
|
@ -69,6 +69,7 @@ struct audit_cap_data {
|
|||
kernel_cap_t effective; /* effective set of process */
|
||||
};
|
||||
kernel_cap_t ambient;
|
||||
kuid_t rootid;
|
||||
};
|
||||
|
||||
/* When fs/namei.c:getname() is called, we store the pointer in name and bump
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue