diff options
Diffstat (limited to 'scripts/gdb/linux/proc.py')
| -rw-r--r-- | scripts/gdb/linux/proc.py | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/scripts/gdb/linux/proc.py b/scripts/gdb/linux/proc.py index 0aebd7565b03..2f01a958eb22 100644 --- a/scripts/gdb/linux/proc.py +++ b/scripts/gdb/linux/proc.py @@ -114,11 +114,11 @@ def info_opts(lst, opt):      return opts -FS_INFO = {constants.LX_MS_SYNCHRONOUS: ",sync", -           constants.LX_MS_MANDLOCK: ",mand", -           constants.LX_MS_DIRSYNC: ",dirsync", -           constants.LX_MS_NOATIME: ",noatime", -           constants.LX_MS_NODIRATIME: ",nodiratime"} +FS_INFO = {constants.LX_SB_SYNCHRONOUS: ",sync", +           constants.LX_SB_MANDLOCK: ",mand", +           constants.LX_SB_DIRSYNC: ",dirsync", +           constants.LX_SB_NOATIME: ",noatime", +           constants.LX_SB_NODIRATIME: ",nodiratime"}  MNT_INFO = {constants.LX_MNT_NOSUID: ",nosuid",              constants.LX_MNT_NODEV: ",nodev", @@ -184,7 +184,7 @@ values of that process namespace"""              fstype = superblock['s_type']['name'].string()              s_flags = int(superblock['s_flags'])              m_flags = int(vfs['mnt']['mnt_flags']) -            rd = "ro" if (s_flags & constants.LX_MS_RDONLY) else "rw" +            rd = "ro" if (s_flags & constants.LX_SB_RDONLY) else "rw"              gdb.write(                  "{} {} {} {}{}{} 0 0\n" | 
