diff options
| author | Richard Guy Briggs <rgb@redhat.com> | 2026-08-18 14:31:39 -0400 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-08-31 13:52:27 -0400 |
| commit | b09cfc161840ad3544812ad17537b4dc0e40506e (patch) | |
| tree | abc0655bddbf0109b7f9642be09f659abcad79a4 /include/linux/workqueue.h | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-next-b09cfc161840ad3544812ad17537b4dc0e40506e.tar.gz linux-next-b09cfc161840ad3544812ad17537b4dc0e40506e.zip | |
audit: free proctitle in context so it can be re-set by fork on exec_binprm
Between the actual process startup (fork systemd) and the executable file
replacement (exec), systemd sets a temporary file name (executable file
name in parentheses). If an auditable system call occurs at this point,
the audit context will latch the temporary process name into the cache.
This name will not change again. The patch clears proctitle into the
audit cache when the exec call is made, allowing the new process name to
be latched.
Suggested-by: Roman Dolgikh <rmd4work@mail.ru>
Link: https://github.com/linux-audit/audit-kernel/issues/170
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Reviewed-by: Ricardo Robaina <rrobaina@redhat.com>
Reviewed-by: Bradley Morgan <include@grrlz.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
