Attempt to fix the mkdir LSM race.
authorRob Landley <rob@landley.net>
Thu, 28 May 2015 06:43:47 +0000 (01:43 -0500)
committerRob Landley <rob@landley.net>
Thu, 28 May 2015 06:43:47 +0000 (01:43 -0500)
commit2d66e6a23822a500ecf6610411941e99127129c8
treea1742937f24691332b05ad2100cb2a816d575b8f
parenta65a7f4241f1cc9b4963a285e3a2137cffae62ad
Attempt to fix the mkdir LSM race.

Doing a world writeable mkdir and _then_ adding a label seems like a race
window, so set the global "create stuff with these labels" context, then
do the creates.
lib/lsm.h
toys/posix/mkdir.c