]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: support "AAFS" AppArmor file system
authorPádraig Brady <P@draigBrady.com>
Tue, 29 Aug 2017 08:04:32 +0000 (01:04 -0700)
committerPádraig Brady <P@draigBrady.com>
Tue, 29 Aug 2017 08:04:32 +0000 (01:04 -0700)
* src/stat.c (human_fstype): This file system is used
to manage AppArmor policy in the Linux kernel.

src/stat.c

index dcaa580dc88b6e6e0d704a16192471a114eb6b04..87b3ff43fcc44030eda9d877fde940d5371bb30d 100644 (file)
@@ -247,6 +247,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
          a comment.  The S_MAGIC_... name and constant are automatically
          combined to produce the #define directives in fs.h.  */
 
+    case S_MAGIC_AAFS: /* 0x5A3C69F0 local */
+      return "aafs";
     case S_MAGIC_ACFS: /* 0x61636673 remote */
       return "acfs";
     case S_MAGIC_ADFS: /* 0xADF5 local */