Searched refs:class_buf_len (Results 1 – 1 of 1) sorted by relevance
/external/selinux/libsepol/src/ |
D | services.c | 318 int class_buf_len = 0; in get_class_info() local 325 new_class_buf_len = class_buf_len + EXPR_BUF_SIZE; in get_class_info() 329 class_buf_len = new_class_buf_len; in get_class_info() 335 len = snprintf(p, class_buf_len - buf_used, "%s", statements[state_num]); in get_class_info() 336 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info() 342 len = snprintf(p, class_buf_len - buf_used, "%s ", in get_class_info() 344 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info() 351 len = snprintf(p, class_buf_len - buf_used, "{%s } (", in get_class_info() 355 len = snprintf(p, class_buf_len - buf_used, "("); in get_class_info() 357 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info()
|