lists.openwall.net | 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 linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20171016022758.35wh7jw5vh4q7ezw@thunk.org> Date: Sun, 15 Oct 2017 22:27:58 -0400 From: Theodore Ts'o <tytso@....edu> To: Andreas Dilger <adilger@...ger.ca> Cc: linux-ext4@...r.kernel.org Subject: Re: [PATCH] debugfs: print "Xst" bits of file mode via stat On Tue, Oct 10, 2017 at 04:38:50PM -0600, Andreas Dilger wrote: > Currently, debugfs does not print the Xst high-order mode bits > in the "stat" output. While "ls -l" shows these bits are set: > > # ls -il /mnt/tmp/O/0/d2/406306 > 1588 0 -rwSrwSrw- 1 root root 0 Dec 31 1969 /mnt/tmp/O/0/d2/406306 > > debugfs currently only prints the low nine "ugo" mode bits: > > # debugfs -c -R "stat O/0/d2/406306" /dev/vgmyth/lvmythost4 > Inode: 1588 Type: regular Mode: 0666 Flags: 0x80000 > > Fix debugfs so that the high-order mode bits are also printed, > if available, otherwise only print the standard low mode bits. > > # debugfs -c -R "stat O/0/d2/406306" /dev/vgmyth/lvmythost4 > Inode: 1588 Type: regular Mode: 06666 Flags: 0x80000 > > Signed-off-by: Andreas Dilger <adilger@...ger.ca> Thanks, applied. - Ted
Powered by blists - more mailing lists