Commit 033976af authored by Philippe Gerum's avatar Philippe Gerum

lib/cobalt/heapobj: pshared: allow group access to heap

Allow users who belong to the same group to access the shared heap,
provided umask allows it too.
parent 6dfdc69f
......@@ -628,7 +628,7 @@ static int create_main_heap(pid_t *cnode_r)
snprintf(hobj->fsname, sizeof(hobj->fsname),
"/xeno:%s", hobj->name);
fd = shm_open(hobj->fsname, O_RDWR|O_CREAT, 0600);
fd = shm_open(hobj->fsname, O_RDWR|O_CREAT, 0660);
if (fd < 0)
return __bt(-errno);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment