|
| 1 | +From 6e9582bc86d555200e316b2b3770eba60f52c278 Mon Sep 17 00:00:00 2001 |
| 2 | +From: xingguangcuican6666 < [email protected]> |
| 3 | +Date: Thu, 23 Oct 2025 17:41:50 +0800 |
| 4 | +Subject: [PATCH 02/12] remove_setuid_using |
| 5 | + |
| 6 | +--- |
| 7 | + include/xconfig.h.in | 12 ++++++------ |
| 8 | + 1 file changed, 6 insertions(+), 6 deletions(-) |
| 9 | + |
| 10 | +diff --git a/include/xconfig.h.in b/include/xconfig.h.in |
| 11 | +index c130600..52a49c2 100644 |
| 12 | +--- a/include/xconfig.h.in |
| 13 | ++++ b/include/xconfig.h.in |
| 14 | +@@ -132,12 +132,12 @@ |
| 15 | + #cmakedefine HAVE_MLOCKALL |
| 16 | + /* working mlockall() is present in libc */ |
| 17 | + #define HAVE_FLOCK 1 /* *BSD flock() is present in libc */ |
| 18 | +-#define HAVE_SETREUID 1 /* setreuid() is present in libc */ |
| 19 | +-#define HAVE_SETEUID 1 /* seteuid() is present in libc */ |
| 20 | +-#define HAVE_SETUID 1 /* setuid() is present in libc */ |
| 21 | +-#define HAVE_SETREGID 1 /* setregid() is present in libc */ |
| 22 | +-#define HAVE_SETEGID 1 /* setegid() is present in libc */ |
| 23 | +-#define HAVE_SETGID 1 /* setgid() is present in libc */ |
| 24 | ++//#define HAVE_SETREUID 1 /* setreuid() is present in libc */ |
| 25 | ++//#define HAVE_SETEUID 1 /* seteuid() is present in libc */ |
| 26 | ++//#define HAVE_SETUID 1 /* setuid() is present in libc */ |
| 27 | ++//#define HAVE_SETREGID 1 /* setregid() is present in libc */ |
| 28 | ++//#define HAVE_SETEGID 1 /* setegid() is present in libc */ |
| 29 | ++//#define HAVE_SETGID 1 /* setgid() is present in libc */ |
| 30 | + #define HAVE_TCGETATTR 1 /* tcgetattr() is present in libc */ |
| 31 | + #define HAVE_TCSETATTR 1 /* tcsetattr() is present in libc */ |
| 32 | + #define HAVE_GETHOSTID 1 /* gethostid() is present in libc */ |
| 33 | +-- |
| 34 | +2.51.1 |
| 35 | + |
0 commit comments