[v5,0/2] implement dlmem() with audit extension

Message ID 20230215112110.2426646-1-stsp2@yandex.ru
Headers
Series implement dlmem() with audit extension |

Message

stsp Feb. 15, 2023, 11:21 a.m. UTC
  Changes in v5:
- added _dl_audit_premap_dlmem audit extension for dlmem
- added tst-auditmod-dlmem.c test-case that feeds shm fd to dlmem()

Changes in v4:
- re-target to GLIBC_2.38
- add tst-auditdlmem.c test-case to test auditing
- drop length page-aligning in tst-dlmem: mmap() aligns length on its own
- bugfix: in do_mmapcpy() allow mmaps past end of buffer

Changes in v3:
- Changed prototype of dlmem() (and all the internal machinery) to
  use "const unsigned char *buffer" instead of "const char *buffer".

Changes in v2:
- use <support/test-driver.c> instead of "../test-skeleton.c"
- re-target to GLIBC_2.37
- update all libc.abilist files


Patch 1: fix memory management bug in _dl_new_object()
Patch 2: implement dlmem() and its audit extension