libc - bail out on invalid sem_open(3) flags
authorNicolas Thery <nthery@gmail.com>
Mon, 30 Jun 2014 18:57:27 +0000 (20:57 +0200)
committerNicolas Thery <nthery@gmail.com>
Mon, 30 Jun 2014 20:52:18 +0000 (22:52 +0200)
commit0be02bbdb43e3d96cf4367e2166268c1bdbde078
tree6b76ea3c90829e2324ca32b50cb9ce632dfa64d4
parentf9f06c4c70fd9b1fd2d882cd249231dea19419b7
libc - bail out on invalid sem_open(3) flags

Preventing now callers from passing invalid flags prevents compatibility
issue should new flags be added to sem_open(3) in future standard
revisions.

Reviewed-by: joris@giovannangeli.fr
lib/libthread_xu/thread/thr_sem.c