Add missing FreeBSD case. Needed to fix the breakage introduced
by the removal of the proc dependency.
This commit is contained in:
parent
a2ad478eec
commit
c026fb8d6b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73149
@ -1,6 +1,15 @@
|
||||
--- ../sal/osl/unx/process.c.orig Wed Jan 9 13:07:41 2002
|
||||
+++ ../sal/osl/unx/process.c Wed Apr 3 00:59:53 2002
|
||||
@@ -833,7 +833,7 @@
|
||||
--- ../sal/osl/unx/process.c.orig Wed Jun 5 16:24:42 2002
|
||||
+++ ../sal/osl/unx/process.c Wed Jan 15 01:25:17 2003
|
||||
@@ -222,7 +222,7 @@
|
||||
/* Memory layout of CMD_ARG_PRG:
|
||||
progname\0arg1\0...argn[\0]\0environ\0env2\0...envn\0[\0] */
|
||||
|
||||
-#if !defined(NETBSD)
|
||||
+#if !defined(NETBSD) && !defined(FREEBSD)
|
||||
extern sal_Char* CMD_ARG_PRG;
|
||||
#endif
|
||||
extern sal_Char** CMD_ARG_ENV;
|
||||
@@ -862,7 +862,7 @@
|
||||
|
||||
if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0))
|
||||
OSL_TRACE("Failed to change uid and guid, errno=%d (%s)\n", errno, strerror(errno));
|
||||
|
@ -1,6 +1,15 @@
|
||||
--- ../sal/osl/unx/process.c.orig Wed Jan 9 13:07:41 2002
|
||||
+++ ../sal/osl/unx/process.c Wed Apr 3 00:59:53 2002
|
||||
@@ -833,7 +833,7 @@
|
||||
--- ../sal/osl/unx/process.c.orig Wed Jun 5 16:24:42 2002
|
||||
+++ ../sal/osl/unx/process.c Wed Jan 15 01:25:17 2003
|
||||
@@ -222,7 +222,7 @@
|
||||
/* Memory layout of CMD_ARG_PRG:
|
||||
progname\0arg1\0...argn[\0]\0environ\0env2\0...envn\0[\0] */
|
||||
|
||||
-#if !defined(NETBSD)
|
||||
+#if !defined(NETBSD) && !defined(FREEBSD)
|
||||
extern sal_Char* CMD_ARG_PRG;
|
||||
#endif
|
||||
extern sal_Char** CMD_ARG_ENV;
|
||||
@@ -862,7 +862,7 @@
|
||||
|
||||
if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0))
|
||||
OSL_TRACE("Failed to change uid and guid, errno=%d (%s)\n", errno, strerror(errno));
|
||||
|
@ -1,6 +1,15 @@
|
||||
--- ../sal/osl/unx/process.c.orig Wed Jan 9 13:07:41 2002
|
||||
+++ ../sal/osl/unx/process.c Wed Apr 3 00:59:53 2002
|
||||
@@ -833,7 +833,7 @@
|
||||
--- ../sal/osl/unx/process.c.orig Wed Jun 5 16:24:42 2002
|
||||
+++ ../sal/osl/unx/process.c Wed Jan 15 01:25:17 2003
|
||||
@@ -222,7 +222,7 @@
|
||||
/* Memory layout of CMD_ARG_PRG:
|
||||
progname\0arg1\0...argn[\0]\0environ\0env2\0...envn\0[\0] */
|
||||
|
||||
-#if !defined(NETBSD)
|
||||
+#if !defined(NETBSD) && !defined(FREEBSD)
|
||||
extern sal_Char* CMD_ARG_PRG;
|
||||
#endif
|
||||
extern sal_Char** CMD_ARG_ENV;
|
||||
@@ -862,7 +862,7 @@
|
||||
|
||||
if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0))
|
||||
OSL_TRACE("Failed to change uid and guid, errno=%d (%s)\n", errno, strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user