From: Michael R Sweet Date: Wed, 14 May 2025 16:36:02 +0000 (-0400) Subject: Changelog and update configure script. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b5ea68d237bd45617ad942deca33a3fc99d1354;p=thirdparty%2Fcups.git Changelog and update configure script. --- diff --git a/CHANGES.md b/CHANGES.md index 452d84aa57..38b001b2a2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -78,6 +78,8 @@ Changes in CUPS v2.5b1 (YYYY-MM-DD) (Issue #1207) - Updated the `httpSetCookie` API to support multiple "Set-Cookie:" header values. +- Updated the setuid/gid checks in libcups to use `getauxval` on Linux to avoid + potential security issues (Issue #1258) - Deprecated the "page-border" Job Template attribute (Issue #1020) - Removed the `cups-config` utility (use `pkg-config` instead) - Fixed use-after-free in `cupsdAcceptClient()` when we log warning during error diff --git a/configure b/configure index 358b0ba394..79efebb9c8 100755 --- a/configure +++ b/configure @@ -6016,6 +6016,14 @@ printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_auxv_h" = xyes +then : + +printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h + +fi + ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" if test "x$ac_cv_header_sys_ioctl_h" = xyes then :