commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 04/07: make procfs use compatibility by default


From: Samuel Thibault
Subject: [hurd] 04/07: make procfs use compatibility by default
Date: Mon, 15 Feb 2016 09:10:01 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository hurd.

commit 44b7deb4877797c715b2bbc1e4738bf5c644f993
Author: Samuel Thibault <address@hidden>
Date:   Sun Feb 14 21:28:05 2016 +0000

    make procfs use compatibility by default
    
    until sysvinit uses the option by default.
---
 debian/changelog                 |  2 ++
 debian/patches/procfs-compatible | 16 ++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1a436ce..7e120e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ hurd (1:0.7.git20160214-1) UNRELEASED; urgency=medium
   * New upstream snapshot
   * patches/mtab-siglost.patch: New patch to avoid mtab crashing when mounted
     from /etc/init.d/rc.
+  * patches/procfs-compatible: New patch to make procfs use compatibility by
+    default, until sysvinit uses the option by default.
 
  -- Samuel Thibault <address@hidden>  Sun, 14 Feb 2016 21:22:23 +0000
 
diff --git a/debian/patches/procfs-compatible b/debian/patches/procfs-compatible
new file mode 100644
index 0000000..fc50b19
--- /dev/null
+++ b/debian/patches/procfs-compatible
@@ -0,0 +1,16 @@
+Until /etc/init.d/rc uses -ocompatible (bug#814735)
+
+Index: hurd-debian/procfs/main.c
+===================================================================
+--- hurd-debian.orig/procfs/main.c
++++ hurd-debian/procfs/main.c
+@@ -318,6 +318,9 @@ int main (int argc, char **argv)
+   opt_fake_self = OPT_FAKE_SELF;
+   opt_kernel_pid = OPT_KERNEL_PID;
+   opt_anon_owner = OPT_ANON_OWNER;
++
++  set_compatibility_options ();
++
+   err = argp_parse (&argp, argc, argv, 0, 0, 0);
+   if (err)
+     error (1, err, "Could not parse command line");
diff --git a/debian/patches/series b/debian/patches/series
index 7ed5922..d781f3e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ newRPC.patch
 dl_origin.patch
 cross-link.patch
 mtab-siglost.patch
+procfs-compatible

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]