From: Florian Weimer Date: Fri, 19 Jul 2024 13:57:46 +0000 (+0200) Subject: Adjust check-local-headers test for libaudit 4.0 X-Git-Tag: glibc-2.40~16 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=91eb62d63887a959e43aafb6fc022a87614dc7c9;p=glibc.git Adjust check-local-headers test for libaudit 4.0 The new version introduces /usr/include/audit_logging.h and /usr/include/audit-records.h. --- diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index 5d3e61f889..ad23840333 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -33,7 +33,7 @@ exec ${AWK} -v includedir="$includedir" ' BEGIN { status = 0 exclude = "^" includedir \ - "/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|mach_debug/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h|version\\.h)|gd|nss3/|nspr4?/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" + "/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|mach_debug/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h|version\\.h)|gd|nss3/|nspr4?/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h|audit(_logging|-records)\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } {