Hi, https://github.com/systemd/systemd/pull/1399 this discussion highlights that the code around 'usemask' is not robust enough. The 'volatile' does not mean atomic. It would be nice to improve the code -- avoid the mask at all, or use pthread_mutex_lock() (note that you can use mmaped shared memory for the muttex and share the lock between forked processes, you don't have to use threads). Comments? Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html