[PATCH 0/3] Add DT_AUDIT support [BZ #24943]
Florian Weimer
fweimer@redhat.com
Fri Apr 3 12:02:45 GMT 2020
xgetline has been committed separately with slightly different behavior.
I think the zero-on-EOF behavior is preferable, so I'm switching the
implementation to that.
It turns out that it is possible to simplify the audit string list
processing, so the second commit does that.
Tested on x86_64-linux-gnu and i686-linux-gnu.
Thanks,
Florian
Florian Weimer (3):
support: Change xgetline to return 0 on EOF
elf: Simplify handling of lists of audit strings
elf: Implement DT_AUDIT, DT_DEPAUDIT support [BZ #24943]
NEWS | 3 +
elf/Makefile | 22 ++-
elf/rtld.c | 247 +++++++++++++++++---------------
elf/tst-audit14.c | 46 ++++++
elf/tst-audit15.c | 50 +++++++
elf/tst-audit16.c | 54 +++++++
elf/tst-auditlogmod-1.c | 27 ++++
elf/tst-auditlogmod-2.c | 27 ++++
elf/tst-auditlogmod-3.c | 27 ++++
support/support_process_state.c | 2 +-
support/xgetline.c | 22 +--
support/xstdio.h | 5 +-
12 files changed, 405 insertions(+), 127 deletions(-)
create mode 100644 elf/tst-audit14.c
create mode 100644 elf/tst-audit15.c
create mode 100644 elf/tst-audit16.c
create mode 100644 elf/tst-auditlogmod-1.c
create mode 100644 elf/tst-auditlogmod-2.c
create mode 100644 elf/tst-auditlogmod-3.c
--
2.25.1
More information about the Libc-alpha
mailing list