blob: 9266cece55bdc6c3943de6e4b9c2ff75a40d7305 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
https://bugs.gentoo.org/843437
https://www.virtualbox.org/changeset/94406/vbox
--- a/src/VBox/Runtime/Makefile.kmk
+++ b/src/VBox/Runtime/Makefile.kmk
@@ -324,4 +324,7 @@
ifdef IPRT_WITH_FUTEX_BASED_SEMS
RuntimeR3_DEFS.linux += IPRT_WITH_FUTEX_BASED_SEMS
+endif
+ifdef IPRT_WITHOUT_PAM
+ RuntimeR3_DEFS += IPRT_WITHOUT_PAM
endif
RuntimeR3_INCS = \
--- a/src/VBox/Runtime/r3/posix/process-creation-posix.cpp
+++ b/src/VBox/Runtime/r3/posix/process-creation-posix.cpp
@@ -86,4 +86,5 @@
#if !defined(IPRT_USE_PAM) \
+ && !defined(IPRT_WITHOUT_PAM) \
&& ( defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX) || defined(RT_OS_NETBSD) || defined(RT_OS_OPENBSD) )
# define IPRT_USE_PAM
|