selinux_child.c revision 01f78f755fde63997ccfded71fb8395569b11430
2873N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
2873N/A#include "util/child_common.h"
6819N/A#include "providers/dp_backend.h"
6819N/Astruct input_buffer {
if (len == 0) {
return EINVAL;
p += len;
if (len == 0) {
return EINVAL;
p += len;
return EOK;
size_t p = 0;
return ENOMEM;
return EOK;
int result,
int ret;
if (r == NULL) {
return ENOMEM;
r->size = 0;
return ret;
*rsp = r;
return EOK;
const char *mls)
int ret;
* https://bugzilla.redhat.com/show_bug.cgi?id=1186422 to make sure
return ret;
int opt;
&debug_to_stderr, 0,
switch(opt) {
goto fail;
if (getuid() != 0) {
if (getgid() != 0) {
goto fail;
goto fail;
goto fail;
errno = 0;
goto fail;
goto fail;
goto fail;
goto fail;
errno = 0;
goto fail;
goto fail;
return EXIT_SUCCESS;
fail:
return EXIT_FAILURE;