K 10 svn:author V 6 jilles K 8 svn:date V 27 2016-02-07T22:12:39.061670Z K 7 svn:log V 365 semget(): Check for [EEXIST] error first. Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and IPC_EXCL were both passed, the semaphore set already exists and has fewer semaphores than nsems, this does not allow an application to retry safely: if the [EINVAL] is actually because of the semmsl limit, an infinite loop would result. PR: 206927 END