MFC r314868:
Linux semop system call return EINVAL in case when the invalid nsops or semid values specified.