Home
last modified time | relevance | path

Searched refs:xpermsbuf (Results 1 – 2 of 2) sorted by relevance

/third_party/selinux/libsepol/src/
Dutil.c136 static char xpermsbuf[2048]; in sepol_extended_perms_to_string() local
139 xpermsbuf[0] = '\0'; in sepol_extended_perms_to_string()
140 p = xpermsbuf; in sepol_extended_perms_to_string()
146 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "ioctl { "); 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()
192 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "}"); in sepol_extended_perms_to_string()
[all …]
Dkernel_to_cil.c1638 static char xpermsbuf[2048]; in xperms_to_str() local
1642 p = xpermsbuf; in xperms_to_str()
1643 remaining = sizeof(xpermsbuf); in xperms_to_str()
1697 xpermsbuf[0] = '('; in xperms_to_str()
1701 return xpermsbuf; in xperms_to_str()