Red Hat Bugzilla – Bug 68896
mm doesn't change ownership properly of SysV semaphores
Last modified: 2007-04-18 12:44:11 EDT
When mm is told to change the ownership or modes of a shared memory object, it
doesn't properly update the ownership or mode of semaphores (assuming that it is
compiled with semaphores enabled). I'll attach a patch.
Created attachment 65464 [details]
patch to set perms of semaphores in mm
Fixing for 1.1.3-8 and later.
The author of mm pointed out a problem in my patch. When I wrote "i <=
sizeof(sems)/sizeof(*sems)", the "<=" should have been "<". Please fix this if
you retained the bug when integrating my patch into your package.
Also, he said that my fix will be in mm 1.2.0, although I don't know if/when
that'll be released.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.