commit | 6e2372a86c7e862ed931910f8a5f4b908639d689 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sun Sep 30 17:53:54 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Sep 30 17:53:54 2012 -0400 |
tree | 57892b1e0d718fbb9ab86767915bca095cc5e307 | |
parent | 2e3648b85db1c71bfc684233f7a521b0d4bbeb20 [diff] |
clean up, bugfixes, and general improvement for shm_open/shm_unlink 1. don't make non-cloexec file descriptors 2. cancellation safety (cleanup handlers were missing, now unneeded) 3. share name validation/mapping code between open/unlink functions 4. avoid wasteful/slow syscalls