Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
multipath-tools
multipath-tools-remove-stray-umask-call
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File multipath-tools-remove-stray-umask-call of Package multipath-tools
commit 9b5bed512937cb95382a0d3200a2f1964a759a79 Author: Hannes Reinecke <hare@suse.de> Date: Mon Feb 23 09:26:27 2009 +0100 /var/run/multipathd.sock is world-writable Due to an stray 'umask()' the socket file is in fact world-writable, allowing for an easy exploit. References: 458598 Signed-off-by: Hannes Reinecke <hare@suse.de> diff --git a/multipathd/main.c b/multipathd/main.c index d2a31c2..7c995b6 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -1513,7 +1513,6 @@ daemonize(void) if (chdir("/") < 0) fprintf(stderr, "cannot chdir to '/', continuing\n"); - umask(0); return 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