Searched refs:xpermsbuf (Results 1 – 1 of 1) sorted by relevance
/external/selinux/libsepol/src/ |
D | util.c | 131 static char xpermsbuf[2048]; in sepol_extended_perms_to_string() local 132 xpermsbuf[0] = '\0'; in sepol_extended_perms_to_string() 135 p = xpermsbuf; in sepol_extended_perms_to_string() 141 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "ioctl { "); 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() 187 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "}"); in sepol_extended_perms_to_string() [all …]
|