Page MenuHomeFreeBSD

Make semaphore names list mutex non-recursive.
ClosedPublic

Authored by kib on Apr 30 2017, 10:57 AM.
Tags
None
Referenced Files
F166624687: D10545.diff
Fri, Aug 14, 11:22 PM
Unknown Object (File)
Thu, Aug 13, 1:49 PM
Unknown Object (File)
Sat, Aug 8, 11:11 PM
Unknown Object (File)
Sat, Aug 8, 8:51 PM
Unknown Object (File)
Sat, Aug 8, 10:37 AM
Unknown Object (File)
Sat, Aug 8, 9:15 AM
Unknown Object (File)
Fri, Aug 7, 7:17 PM
Unknown Object (File)
Thu, Aug 6, 12:25 PM
Subscribers

Details

Summary

I do not see how recursion can be realized in the current code.

The mutex is used un sem_open() and sem_close(), which cannot recurse. The atfork handlers cannot collide with the open and close code.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable