Searched refs:xpermslen (Results 1 – 1 of 1) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | util.c | 133 int len, xpermslen = 0; in sepol_extended_perms_to_string() local 141 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "ioctl { "); in sepol_extended_perms_to_string() 143 xpermslen += len; in sepol_extended_perms_to_string() 163 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", low_value, value); in sepol_extended_perms_to_string() 165 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx ", value); in sepol_extended_perms_to_string() 171 …len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", low_value, (uint16_t) (value|0xff… in sepol_extended_perms_to_string() 173 … len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", value, (uint16_t) (value|0xff)); in sepol_extended_perms_to_string() 178 if (len < 0 || (size_t) len >= (sizeof(xpermsbuf) - xpermslen)) in sepol_extended_perms_to_string() 182 xpermslen += len; in sepol_extended_perms_to_string() 187 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "}"); in sepol_extended_perms_to_string() [all …]
|