Lines Matching defs:mask

536         m->creds.mask |= (SD_BUS_CREDS_UNIQUE_NAME|SD_BUS_CREDS_WELL_KNOWN_NAMES) & bus->creds_mask;
615 m->creds.mask |= SD_BUS_CREDS_PID & bus->creds_mask;
620 m->creds.mask |= SD_BUS_CREDS_TID & bus->creds_mask;
625 m->creds.mask |= SD_BUS_CREDS_PPID & bus->creds_mask;
628 m->creds.mask |= SD_BUS_CREDS_PPID & bus->creds_mask;
640 m->creds.mask |= SD_BUS_CREDS_UID & bus->creds_mask;
645 m->creds.mask |= SD_BUS_CREDS_EUID & bus->creds_mask;
650 m->creds.mask |= SD_BUS_CREDS_SUID & bus->creds_mask;
655 m->creds.mask |= SD_BUS_CREDS_FSUID & bus->creds_mask;
660 m->creds.mask |= SD_BUS_CREDS_GID & bus->creds_mask;
665 m->creds.mask |= SD_BUS_CREDS_EGID & bus->creds_mask;
670 m->creds.mask |= SD_BUS_CREDS_SGID & bus->creds_mask;
675 m->creds.mask |= SD_BUS_CREDS_FSGID & bus->creds_mask;
686 m->creds.mask |= SD_BUS_CREDS_COMM & bus->creds_mask;
691 m->creds.mask |= SD_BUS_CREDS_TID_COMM & bus->creds_mask;
696 m->creds.mask |= SD_BUS_CREDS_EXE & bus->creds_mask;
702 m->creds.mask |= SD_BUS_CREDS_CMDLINE & bus->creds_mask;
707 m->creds.mask |= (SD_BUS_CREDS_CGROUP|SD_BUS_CREDS_UNIT|SD_BUS_CREDS_USER_UNIT|SD_BUS_CREDS_SLICE|SD_BUS_CREDS_SESSION|SD_BUS_CREDS_OWNER_UID) & bus->creds_mask;
718 m->creds.mask |= SD_BUS_CREDS_AUDIT_SESSION_ID & bus->creds_mask;
721 m->creds.mask |= SD_BUS_CREDS_AUDIT_LOGIN_UID & bus->creds_mask;
732 m->creds.mask |= (SD_BUS_CREDS_EFFECTIVE_CAPS|SD_BUS_CREDS_PERMITTED_CAPS|SD_BUS_CREDS_INHERITABLE_CAPS|SD_BUS_CREDS_BOUNDING_CAPS) & bus->creds_mask;
769 m->creds.mask |= SD_BUS_CREDS_WELL_KNOWN_NAMES;
775 m->creds.mask |= SD_BUS_CREDS_DESCRIPTION & bus->creds_mask;
796 m->creds.mask |= SD_BUS_CREDS_SUPPLEMENTARY_GIDS;
817 m->creds.mask |= bus->creds_mask & SD_BUS_CREDS_WELL_KNOWN_NAMES;
1542 uint64_t attach_flags_to_kdbus(uint64_t mask) {
1545 if (mask & (SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_SUID|SD_BUS_CREDS_FSUID|
1549 if (mask & (SD_BUS_CREDS_PID|SD_BUS_CREDS_TID|SD_BUS_CREDS_PPID))
1552 if (mask & SD_BUS_CREDS_COMM)
1555 if (mask & SD_BUS_CREDS_TID_COMM)
1558 if (mask & SD_BUS_CREDS_EXE)
1561 if (mask & SD_BUS_CREDS_CMDLINE)
1564 if (mask & (SD_BUS_CREDS_CGROUP|SD_BUS_CREDS_UNIT|SD_BUS_CREDS_USER_UNIT|SD_BUS_CREDS_SLICE|SD_BUS_CREDS_SESSION|SD_BUS_CREDS_OWNER_UID))
1567 if (mask & (SD_BUS_CREDS_EFFECTIVE_CAPS|SD_BUS_CREDS_PERMITTED_CAPS|SD_BUS_CREDS_INHERITABLE_CAPS|SD_BUS_CREDS_BOUNDING_CAPS))
1570 if (mask & SD_BUS_CREDS_SELINUX_CONTEXT)
1573 if (mask & (SD_BUS_CREDS_AUDIT_SESSION_ID|SD_BUS_CREDS_AUDIT_LOGIN_UID))
1576 if (mask & SD_BUS_CREDS_WELL_KNOWN_NAMES)
1579 if (mask & SD_BUS_CREDS_DESCRIPTION)
1582 if (mask & SD_BUS_CREDS_SUPPLEMENTARY_GIDS)