lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 18 Feb 2019 09:23:34 +0200
From:   Felipe Balbi <>
To:     Jan Kiszka <>,
        Kieran Bingham <>
        Felipe Balbi <>
Subject: [PATCH v2] scripts: gdb: redefine MS_RDONLY

Since commit e262e32d6bde0f77fb0c95d977482fc872c51996 "vfs: Suppress
MS_* flag defs within the kernel unless explicitly enabled", the
generated gdb scripts can't be used anymore. That commit moved the
definition of MS_* flags but forgot to update gdb scripts to use the
new location. This patch includes <uapi/linux/mount.h> to so gdb scripts are functional again.

While at that, also remove <linux/fs.h> since it's no longer

Fixes: e262e32d6bde "vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled"
Signed-off-by: Felipe Balbi <>

Changes since v1:
	- keep alphabetical order of included headers
	- remove <linux/fs.h>

 scripts/gdb/linux/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gdb/linux/ b/scripts/gdb/linux/
index 7aad82406422..ad7c8047970c 100644
--- a/scripts/gdb/linux/
+++ b/scripts/gdb/linux/
@@ -12,9 +12,9 @@
-#include <linux/fs.h>
 #include <linux/mount.h>
 #include <linux/of_fdt.h>
+#include <uapi/linux/mount.h>
 /* We need to stringify expanded macros so that they can be parsed */

Powered by blists - more mailing lists