git: libc - bail out on invalid sem_open(3) flags

Nicolas Thery nth at crater.dragonflybsd.org
Mon Jun 30 21:45:08 PDT 2014


commit 0be02bbdb43e3d96cf4367e2166268c1bdbde078
Author: Nicolas Thery <nthery at gmail.com>
Date:   Mon Jun 30 20:57:27 2014 +0200

    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 at giovannangeli.fr

Summary of changes:
 lib/libthread_xu/thread/thr_sem.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0be02bbdb43e3d96cf4367e2166268c1bdbde078


-- 
DragonFly BSD source repository



More information about the Commits mailing list