Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
radvd
0001-run-as-user-radvd-by-default.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-run-as-user-radvd-by-default.diff of Package radvd
From 3ff72b5f5bccad1418441485177488f64dc4a135 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel <ludwig.nussel@suse.de> Date: Tue, 3 May 2011 15:42:36 +0200 Subject: [Patch 1/2] run as user radvd by default diff -rupN radvd-2.2.old/radvd.c radvd-2.2/radvd.c --- radvd-2.2.old/radvd.c 2014-07-27 18:16:30.000000000 -0700 +++ radvd-2.2/radvd.c 2014-07-29 19:15:33.711533262 -0700 @@ -187,6 +187,9 @@ int main(int argc, char *argv[]) /* TODO: Seems like this chroot'ing should happen *after* daemonizing for * the sake of the PID file. */ + if (!username) + username = strdup("radvd"); + if (chrootdir) { if (!username) { fprintf(stderr, "Chroot as root is not safe, exiting\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor