]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Update xfs_db to dump out attrs in the security namespace as well.
authorNathan Scott <nathans@sgi.com>
Tue, 20 Jan 2004 00:31:03 +0000 (00:31 +0000)
committerNathan Scott <nathans@sgi.com>
Tue, 20 Jan 2004 00:31:03 +0000 (00:31 +0000)
db/attr.c
db/attrshort.c

index f9d76e20292c01a95c77e06230debe5ac00f18ca..f785176c564b4f4b461ce80680e8a88d1d5b0d0e 100644 (file)
--- a/db/attr.c
+++ b/db/attr.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
+ * Copyright (c) 2000-2001,2004 Silicon Graphics, Inc.  All Rights Reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of version 2 of the GNU General Public License as
@@ -95,6 +95,9 @@ const field_t attr_leaf_entry_flds[] = {
        { "root", FLDT_UINT1,
          OI(LEOFF(flags) + bitsz(__uint8_t) - XFS_ATTR_ROOT_BIT - 1), C1, 0,
          TYP_NONE },
+       { "secure", FLDT_UINT1,
+         OI(LEOFF(flags) + bitsz(__uint8_t) - XFS_ATTR_SECURE_BIT - 1), C1, 0,
+         TYP_NONE },
        { "local", FLDT_UINT1,
          OI(LEOFF(flags) + bitsz(__uint8_t) - XFS_ATTR_LOCAL_BIT - 1), C1, 0,
          TYP_NONE },
index 93778f73593a0e86071d97fa05c457df9cd486b0..c7c400dbaf90f5b4c93e957a42d6b83658a458c3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
+ * Copyright (c) 2000-2001,2004 Silicon Graphics, Inc.  All Rights Reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of version 2 of the GNU General Public License as
@@ -67,6 +67,9 @@ const field_t attr_sf_entry_flds[] = {
        { "root", FLDT_UINT1,
          OI(EOFF(flags) + bitsz(__uint8_t) - XFS_ATTR_ROOT_BIT - 1), C1, 0,
          TYP_NONE },
+       { "secure", FLDT_UINT1,
+         OI(EOFF(flags) + bitsz(__uint8_t) - XFS_ATTR_SECURE_BIT - 1), C1, 0,
+         TYP_NONE },
        { "name", FLDT_CHARNS, OI(EOFF(nameval)), attr_sf_entry_name_count,
          FLD_COUNT, TYP_NONE },
        { "value", FLDT_CHARNS, attr_sf_entry_value_offset,