jacereda / fsatrace

Filesystem access tracer
ISC License
78 stars 12 forks source link

Improve shm management #44

Closed jayzhuang closed 2 years ago

jayzhuang commented 2 years ago
  1. Add O_EXCL to shm_open to fail early in case a dirty shm from previous run was not cleaned up properly
  2. Return early on failures so errno is not overwritten