Searched refs:xpermslen (Results 1 – 1 of 1) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | util.c | 138 int len, xpermslen = 0; in sepol_extended_perms_to_string() local 146 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "ioctl { "); in sepol_extended_perms_to_string() 148 xpermslen += len; in sepol_extended_perms_to_string() 168 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", low_value, value); in sepol_extended_perms_to_string() 170 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx ", value); in sepol_extended_perms_to_string() 176 …len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", low_value, (uint16_t) (value|0xff… in sepol_extended_perms_to_string() 178 … len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", value, (uint16_t) (value|0xff)); in sepol_extended_perms_to_string() 183 if (len < 0 || (size_t) len >= (sizeof(xpermsbuf) - xpermslen)) in sepol_extended_perms_to_string() 187 xpermslen += len; in sepol_extended_perms_to_string() 192 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "}"); in sepol_extended_perms_to_string() [all …]
|