Skip to contentSkip to conversation

scripts-gdb-add-mount-point-list-command.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 27, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: scripts/gdb: add mount point list command
has been removed from the -mm tree. Its filename was
scripts-gdb-add-mount-point-list-command.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Kieran Bingham <[email protected]>
Subject: scripts/gdb: add mount point list command

lx-mounts will identify current mount points based on the 'init_task' namespace by default, as we do not yet have a kernel thread list implementation to select the current running thread.

Optionally, a user can specify a PID to list from that process' namespace

---

 scripts/gdb/linux/constants.py.in |   20 +++++
 scripts/gdb/linux/proc.py         |   99 ++++++++++++++++++++++++++++
 2 files changed, 119 insertions(+)
scripts/gdb/linux/constants.py.in renamed from scripts/gdb/linux/constants.py.in~scripts-gdb-add-mount-point-list-command +20 -0
diff -puN scripts/gdb/linux/constants.py.in~scripts-gdb-add-mount-point-list-command scripts/gdb/linux/constants.py.in
@@ -12,7 +12,11 @@
  *
  */
 
+#include <linux/fs.h>
+#include <linux/mount.h>
+
 /* We need to stringify expanded macros so that they can be parsed */
+
 #define STRING(x) #x
 #define XSTRING(x) STRING(x)
 
@@ -30,3 +34,19 @@
 <!-- end-c-headers -->
 
 import gdb
+
+/* linux/fs.h */
+LX_VALUE(MS_RDONLY)
+LX_VALUE(MS_SYNCHRONOUS)
+LX_VALUE(MS_MANDLOCK)
+LX_VALUE(MS_DIRSYNC)
+LX_VALUE(MS_NOATIME)
+LX_VALUE(MS_NODIRATIME)
+
+/* linux/mount.h */
+LX_VALUE(MNT_NOSUID)
+LX_VALUE(MNT_NODEV)
+LX_VALUE(MNT_NOEXEC)
+LX_VALUE(MNT_NOATIME)
+LX_VALUE(MNT_NODIRATIME)
+LX_VALUE(MNT_RELATIME)
scripts/gdb/linux/proc.py renamed from scripts/gdb/linux/proc.py~scripts-gdb-add-mount-point-list-command +99 -0

108 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are