summaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-02-16 19:34:42 +0100
committerBenny Baumann <BenBE@geshi.org>2021-02-17 15:59:50 +0100
commita73064dda97d751047748c4539a969495bdadf73 (patch)
tree0069e0d6e56f639484d62906f55b2ddf098fd50b /CRT.h
parentb1befa328786c1c2a2b0507786c9cc50cf7576e1 (diff)
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.
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h11
1 files changed, 0 insertions, 11 deletions
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy