Вопрос

According to documentation, "On success, zero is returned" but none of the functions mentioned return 0. They are all returning const char * or void. Can someone please clarify in which case 0 will be returned?

Это было полезно?

Решение

After asking this question on selinux official mailing list, it is a bug and they will fix it. context_new actually assigns memory block

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top