dg_secstat(5) C2 Trusted DG/UX 5.4.2T dg_secstat(5)
NAME
dgsecstat - data returned by dgsecstat system call
SYNOPSIS
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/dgtparms.h>
DESCRIPTION
The system call dgsecstat returns data whose structure is defined by
the include file sys/dgtparms.h.
struct dgsecstat
{
struct dgstat stat;
unchar subtype;
unchar secpattrs;
char reservedspace[254];
};
The fields of this structure are defined as follows:
stat A structure that contains the information returned by
the dgstat(2) system call. This information is
defined in dgstat(5).
subtype A set of bit flags that indicate file type attributes
within the main type defined by the file's mode word.
Values of the bits are for DG internal use only.
secpattrs A set of bit flags indicating what security
attributes are stored in the file's ufia.
reservedspace Space reserved for future extension by DG. This
space is set to all binary zeros.
#define SECPATTREXPLICITMAC 0x1
On a Trusted DG/UX C2 system this bit in the secpattrs field is not
set.
#define SECPATTRMACRANGE 0x2
On a Trusted DG/UX C2 system this bit in the secpattrs field is not
set.
#define SECPATTREXTENDEDACL 0x4
If this bit is set in the secpattrs field, the file has extended ACL
information in its ufia. Extended ACL information consists of ACL
entries beyond those that are stored in the file mode word. This
Licensed material--property of copyright holder(s) 1
dg_secstat(5) C2 Trusted DG/UX 5.4.2T dg_secstat(5)
will occur if the file has more than a minimum ACL. If the file has
a minimum ACL, the permissions of the ACL_GROUP_OBJ entry are stored
in the file mode word. If the ACL has an ACL_MASK_OBJ entry, then
the permission mask value of the ACL_MASK_OBJ entry is stored in the
file mode word, and the ACL_GROUP_OBJ entry is stored with any
ACL_USER or ACL_GROUP entries in the ufia.
#define SECPATTRDEFAULTACL 0x8
If this bit is set in the secpattrs field, the file has a default
ACL in its ufia. Only directories may have default ACLs.
FILES
/usr/include/sys/dgstat.h
/usr/include/sys/types.h
SEE ALSO
dgstat(2), dgfstat(2), dgsecstat(2) stat(5), dgstat(5), types(5).
Licensed material--property of copyright holder(s) 2