Loading init/builtins.c +0 −10 Original line number Diff line number Diff line Loading @@ -905,16 +905,6 @@ int do_setsebool(int nargs, char **args) { return ret; } ======= } if (security_set_boolean_list(1, &b, 0) < 0) { ret = -errno; ERROR("setsebool: could not set %s to %s\n", name, value); return ret; } #endif >>>>>>> Change setsebool syntax to be consistent with other init built-ins. return 0; } Loading init/init.c +0 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,6 @@ void service_start(struct service *svc, const char *dynamic_args) int needs_console; int n; char *scon = NULL; #ifdef HAVE_SELINUX int rc; /* starting a service removes it from the disabled or reset Loading init/util.c +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid, { struct sockaddr_un addr; int fd, ret; char *secon; char *filecon; if (socketcon) setsockcreatecon(socketcon); Loading Loading
init/builtins.c +0 −10 Original line number Diff line number Diff line Loading @@ -905,16 +905,6 @@ int do_setsebool(int nargs, char **args) { return ret; } ======= } if (security_set_boolean_list(1, &b, 0) < 0) { ret = -errno; ERROR("setsebool: could not set %s to %s\n", name, value); return ret; } #endif >>>>>>> Change setsebool syntax to be consistent with other init built-ins. return 0; } Loading
init/init.c +0 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,6 @@ void service_start(struct service *svc, const char *dynamic_args) int needs_console; int n; char *scon = NULL; #ifdef HAVE_SELINUX int rc; /* starting a service removes it from the disabled or reset Loading
init/util.c +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid, { struct sockaddr_un addr; int fd, ret; char *secon; char *filecon; if (socketcon) setsockcreatecon(socketcon); Loading