t6cmp_blk(3N)

t6cmp_blk - compare security attributes

As shipped in IRIX 6.5.19. Last changed in IRIX 6.5.15.

NAME
     t6cmp_blk - compare security attributes

SYNOPSIS
     cc [ flags ... ] file

     #include <sys/t6attrs.h>

     int t6cmp_blk(const t6attr_t *set1, const t6attr_t *set2)

DESCRIPTION
     t6cmp_blk compares the two sets of attributes in set1 and set2.

     Also note that if the attributes T6_IL and T6_PROC_ATTR are used in
     comparing attribute blocks they will be ignored as they are not
     implemented.

RETURN VALUE
     -1 is returned and the error code is stored in errno, if set1 or set2
     contain an invalid value.

     1 is returned if set1 and set2 contain an identical set of attributes and
     these attributes are equal to each other.

     0 is returned if set1 mask and set2 are different.

ERROR
     [EINVAL]       Either set1 or set2 are invalid.

SEE ALSO
     libt6(3N), t6alloc_blk(3N), t6dup_blk(3N), t6free_blk(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES