]> git.pld-linux.org Git - packages/linux-pstore.git/commitdiff
- rel 4; mount with nosuid,nodev,noexec auto/th/linux-pstore-0.4-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 28 Feb 2019 09:48:48 +0000 (10:48 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 28 Feb 2019 09:48:48 +0000 (10:48 +0100)
linux-pstore.py
linux-pstore.spec

index c9c1d341a3ff11951e876763cf570b965b99dc96..f3df250958f028d534150dbabdbda912e8507b24 100755 (executable)
@@ -25,7 +25,8 @@ def mount_pstore():
     try:
         if open('/proc/self/mounts', 'r').read().find('/sys/fs/pstore') >= 0:
             return
-        subprocess.run(["/bin/mount", "none", "/sys/fs/pstore", "-t", "pstore"], timeout=60, check=True, capture_output=True, text=True)
+        subprocess.run(["/bin/mount", "none", "/sys/fs/pstore", "-t", "pstore", "-o", "nosuid,nodev,noexec"],
+                       timeout=60, check=True, capture_output=True, text=True)
     except subprocess.CalledProcessError as e:
         print("%s: %s\nstdout=%s\nstderr=%s" % (sys.argv[0], e, e.stdout, e.stderr), file=sys.stderr)
         sys.exit(1)
index f5725df52524e6c7d4d433023c5091b7e8a5b91a..fe03820943c1227c3233f6331d865968c44ebcab 100644 (file)
@@ -1,6 +1,6 @@
 Summary:       Save pstore logs and make room for future logs
 Name:          linux-pstore
-Version:       0.3
+Version:       0.4
 Release:       1
 License:       GPL
 Group:         Daemons
This page took 0.149998 seconds and 4 git commands to generate.