Home | History | Annotate | Download | only in toolbox

Lines Matching refs:argv

17 int setenforce_main(int argc, char **argv)
21 usage(argv[0]);
25 fprintf(stderr, "%s: SELinux is disabled\n", argv[0]);
28 if (strlen(argv[1]) == 1 && (argv[1][0] == '0' || argv[1][0] == '1')) {
29 rc = security_setenforce(atoi(argv[1]));
31 if (strcasecmp(argv[1], "enforcing") == 0) {
33 } else if (strcasecmp(argv[1], "permissive") == 0) {
36 usage(argv[0]);
40 argv[0], strerror(errno));