Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
dhcp
dhcp-3.1.1-dhclient-exec-filedes.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcp-3.1.1-dhclient-exec-filedes.dif of Package dhcp
--- client/dhclient.c +++ client/dhclient.c 2008/09/08 09:27:16 @@ -2659,6 +2659,12 @@ int script_go (client) */ if (leaseFile != NULL) fclose(leaseFile); + if ((i = open("/dev/null", O_RDWR)) != -1) { + dup2(i, STDIN_FILENO); + dup2(i, STDOUT_FILENO); + if (i > STDERR_FILENO) + close(i); + } execve (scriptName, argv, envp); log_error ("execve (%s, ...): %m", scriptName); exit (0);
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