Searched refs:xpermsbuf (Results 1 – 2 of 2) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | util.c | 131 static char xpermsbuf[2048]; in sepol_extended_perms_to_string() local 134 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 …]
|
D | kernel_to_cil.c | 1612 static char xpermsbuf[2048]; in xperms_to_str() local 1616 p = xpermsbuf; in xperms_to_str() 1617 remaining = sizeof(xpermsbuf); in xperms_to_str() 1671 xpermsbuf[0] = '('; in xperms_to_str() 1675 return xpermsbuf; in xperms_to_str()
|