Add support for rwlock(9).
Add support for rmlock(9).