[Pkg-sysvinit-commits] r1095 - in sysvinit/trunk/debian: . patches
pere at alioth.debian.org
pere at alioth.debian.org
Sun Dec 23 18:22:10 UTC 2007
Author: pere
Date: 2007-12-23 18:22:09 +0000 (Sun, 23 Dec 2007)
New Revision: 1095
Added:
sysvinit/trunk/debian/patches/64_init_reexec_env.dpatch
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/patches/00list
Log:
* New patch 64_init_init_reexec_env to fix typo. Now passes
environment on to the new process when re-exec is used. The patch
is from Fedora.
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2007-12-23 18:07:13 UTC (rev 1094)
+++ sysvinit/trunk/debian/changelog 2007-12-23 18:22:09 UTC (rev 1095)
@@ -27,6 +27,9 @@
Patch from Fedora.
* New patch 41_utmp_64bit to avoid writing past the utmp.ut_vt
struct on 64 bit archtectures. Patch from Fedora.
+ * New patch 64_init_init_reexec_env to fix typo. Now passes
+ environment on to the new process when re-exec is used. The patch
+ is from Fedora.
-- Petter Reinholdtsen <pere at debian.org> Sun, 23 Dec 2007 10:03:48 +0100
Modified: sysvinit/trunk/debian/patches/00list
===================================================================
--- sysvinit/trunk/debian/patches/00list 2007-12-23 18:07:13 UTC (rev 1094)
+++ sysvinit/trunk/debian/patches/00list 2007-12-23 18:22:09 UTC (rev 1095)
@@ -23,6 +23,7 @@
62_init_freebsdterm
63_init_longer_procname
64_init_set_PATH
+64_init_reexec_env
65_init_u_in_06
66_init_emerg_tty
67_init_hddown
Added: sysvinit/trunk/debian/patches/64_init_reexec_env.dpatch
===================================================================
--- sysvinit/trunk/debian/patches/64_init_reexec_env.dpatch (rev 0)
+++ sysvinit/trunk/debian/patches/64_init_reexec_env.dpatch 2007-12-23 18:22:09 UTC (rev 1095)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 64_init_reexec_env.dpatch by Petter Reinholdtsen
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Make sure the environment is passed on to the new init program
+## DP: when re-exec is used. The patch is from Fedora.
+
+ at DPATCH@
+--- sysvinit-2.86/src/init.c.these-are-not-the-droids-you-are-looking-for 2005-12-19 15:48:55.000000000 -0500
++++ sysvinit-2.86/src/init.c 2005-12-19 15:49:20.000000000 -0500
+@@ -1884,7 +1884,7 @@
+ * The existing init process execs a new init binary.
+ */
+ env = init_buildenv(0);
+- execl(myname, myname, "--init", NULL, env);
++ execle(myname, myname, "--init", NULL, env);
+
+ /*
+ * We shouldn't be here, something failed.
Property changes on: sysvinit/trunk/debian/patches/64_init_reexec_env.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-sysvinit-commits
mailing list