From 97b3db34b2fb94c68ed723fa363a16d4e41d77f6 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Wed, 18 May 2022 18:47:01 +0100 Subject: [PATCH] Add missing HAVE_SETRESGID to cmake.h. Without this, we were always falling back to the setuid()/setgid() privilege-dropping code in the utmp helper. --- cmake/cmake.h.in | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/cmake.h.in b/cmake/cmake.h.in index 06f26176..ed44b2ca 100644 --- a/cmake/cmake.h.in +++ b/cmake/cmake.h.in @@ -28,6 +28,7 @@ #cmakedefine01 HAVE_POSIX_OPENPT #cmakedefine01 HAVE_PTSNAME #cmakedefine01 HAVE_SETRESUID +#cmakedefine01 HAVE_SETRESGID #cmakedefine01 HAVE_STRSIGNAL #cmakedefine01 HAVE_UPDWTMPX #cmakedefine01 HAVE_FSTATAT