Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
librtas
librtas.open_create.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librtas.open_create.patch of Package librtas
--- librtas_src/common.c | 2 +- librtas_src/syscall_rmo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/librtas_src/common.c +++ b/librtas_src/common.c @@ -65,7 +65,7 @@ int open_proc_rtas_file(const char *name npaths = sizeof(proc_rtas_paths) / sizeof(char *); for (i = 0; i < npaths; i++) { sprintf(full_name, "%s/%s", proc_rtas_paths[i], name); - fd = open(full_name, mode); + fd = open(full_name, mode, 644); if (fd >= 0) break; } --- a/librtas_src/syscall_rmo.c +++ b/librtas_src/syscall_rmo.c @@ -117,7 +117,7 @@ static int acquire_file_lock(off_t start /* Lazily open lock file */ if (wa_config.lockfile_fd < 0) { - wa_config.lockfile_fd = open(lockfile_path, O_CREAT | O_RDWR); + wa_config.lockfile_fd = open(lockfile_path, O_CREAT | O_RDWR, 644); if (wa_config.lockfile_fd < 0) { dbg1("could not open lockfile %s\n", lockfile_path); return RTAS_IO_ASSERT;
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