Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 27 Apr 2021 21:55:50 +0200
From: Szabolcs Nagy <>
To: Matus Kysel <>
Subject: Re: libc-test issue with sem_close

* Matus Kysel <> [2021-04-26 09:49:35 +0000]:
> Hi Szabolcs,
> I am using your library as part of my validation suite and recently I have updated it to latest master, but the sem_close test is not buildable for me as it is missing fcntl.h header. I have attached possible fix, because I did not found how to contribute to you repo.

ccing musl, libc-test is mostly discussed there.

posix says

"Inclusion of the <semaphore.h> header may make visible symbols defined in the <fcntl.h> and <time.h> headers."

which sounds optional, not guaranteed visibility of O_ open flags in
semaphore.h, but sem_open is expected to be usable with only semaphore.h

i'm not sure what is the strict standard requirement here, without
clarification i consider it a libc header issue if an api is not usable
with just the header where it is declared.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.