diff options
| author | Christian Göttsche <cgzones@googlemail.com> | 2026-09-17 16:39:45 +0200 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-09-28 18:10:56 -0400 |
| commit | a8bdcf944504980635c2069b4a4cfcf677b09bbb (patch) | |
| tree | f9fa40ae956902de22e81c335d71d3136e0b8921 /include/uapi/linux | |
| parent | ca12826b4aac898318e7359bf7a1b1532ae02d2d (diff) | |
| download | linux-next-a8bdcf944504980635c2069b4a4cfcf677b09bbb.tar.gz linux-next-a8bdcf944504980635c2069b4a4cfcf677b09bbb.zip | |
audit: separate file and process capability storage
File capabilities need permitted and inheritable sets, an effective flag,
and a root UID. Process capabilities need four full capability sets but
neither a file effective flag nor a root UID. Give file capabilities their
own type instead of storing both representations in audit_cap_data.
This reduces each preallocated audit_names entry by 16 bytes on the tested
64-bit configurations, saving 80 bytes per audit context. The BPRM
capability auxiliary object also shrinks from 144 to 112 bytes. Retain all
logged fields, including file root IDs and process ambient capabilities;
record formats and collection behavior are unchanged.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
