Lines Matching refs:flags
34 secflag_isset(secflagset_t flags, secflag_t sf)
36 return ((flags & secflag_to_bit(sf)) != 0);
40 secflag_clear(secflagset_t *flags, secflag_t sf)
42 *flags &= ~secflag_to_bit(sf);
46 secflag_set(secflagset_t *flags, secflag_t sf)
48 *flags |= secflag_to_bit(sf);
52 secflags_isempty(secflagset_t flags)
54 return (flags == 0);
58 secflags_zero(secflagset_t *flags)
60 *flags = 0;
64 secflags_fullset(secflagset_t *flags)
66 *flags = PROC_SEC_MASK;
211 secflags_to_str(secflagset_t flags, char *buf, size_t buflen)
218 if (flags == 0) {
224 if (secflag_isset(flags, fd->value)) {
230 secflag_clear(&flags, fd->value);
233 if (flags != 0) { /* unknown flags */
236 (void) snprintf(hexbuf, sizeof (hexbuf), "0x%16" PRIx64, flags);