passing private flag to SYS_futex in sem_post on x86_64

Roland McGrath roland@hack.frob.com
Thu Sep 13 17:19:00 GMT 2012


If you touch sem_t directly rather than only using the sem_* functions,
then the behavior is undefined.  It's no different from if you
clobbered a pointer-typed field in an internal data structure with a
bogus pointer.



More information about the Libc-alpha mailing list