From a73064dda97d751047748c4539a969495bdadf73 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 16 Feb 2021 19:34:42 +0100 Subject: Remove setuid support This support was rarely ever used and has been disabled by default for some time. As far as the developer team is aware there's no distribution that activated this feature in their packages by default. --- CRT.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'CRT.h') diff --git a/CRT.h b/CRT.h index e77ec3dc..ddd00169 100644 --- a/CRT.h +++ b/CRT.h @@ -160,20 +160,9 @@ extern int CRT_scrollWheelVAmount; extern ColorScheme CRT_colorScheme; -#ifdef HAVE_SETUID_ENABLED - -void CRT_dropPrivileges(void); - -void CRT_restorePrivileges(void); - -#else /* HAVE_SETUID_ENABLED */ - -/* Turn setuid operations into NOPs */ static inline void CRT_dropPrivileges(void) { } static inline void CRT_restorePrivileges(void) { } -#endif /* HAVE_SETUID_ENABLED */ - void CRT_init(const Settings* settings, bool allowUnicode); void CRT_done(void); -- cgit v1.2.3