~ubuntu-branches/ubuntu/trusty/procps/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/ignore_erofs.patch

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2015-02-10 13:51:14 UTC
  • Revision ID: package-import@ubuntu.com-20150210135114-szpndjnns1ts97jn
Tags: 1:3.3.9-1ubuntu2.2
ignore_erofs.patch: Same as ignore_eaccess but for the case where
part of /proc is read/only. (LP: #1419554)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- procps-3.3.9.orig/sysctl.c
 
2
+++ procps-3.3.9/sysctl.c
 
3
@@ -436,6 +436,10 @@ static int WriteSetting(const char *sett
 
4
                        xwarnx(_("permission denied on key '%s'"), outname);
 
5
                        rc = 0;
 
6
                        break;
 
7
+               case EROFS:
 
8
+                       xwarn(_("setting key \"%s\""), outname);
 
9
+                       rc = 0;
 
10
+                       break;
 
11
                default:
 
12
                        xwarn(_("setting key \"%s\""), outname);
 
13
                        rc = -1;