[Buildroot] [PATCH] package/musl: Make scheduler functions Linux-compatible

Arnout Vandecappelle arnout at mind.be
Tue May 14 19:38:07 UTC 2019



On 14/05/2019 20:54, stefan.nickl at gmail.com wrote:
> On Tue, 2019-05-14 at 20:04 +0200, Arnout Vandecappelle wrote:
>>  As Thomas wrote, the patch as it is is not upstreamable since musl
>> considers
>> this a feature.
>>
>>  However, it is possible that Rich can be convinced to actually read
>> the POSIX
>> spec and decide that linux behaviour is correct (except for the fact
>> that it
>> sched_setscheduler() should return the previous scheduling policy
>> rather than 0,
>> but that can be approximated (in a racy way) by calling
>> sched_getscheduler()
>> first). So it might be worth trying to push the patch upstream.
> 
> Hi Arnout,
> 
> I think upstreaming is out of the question since Rich has actually
> *undone* it before 
> https://git.musl-libc.org/cgit/musl/commit/?id=1e21e78bf7a5
> 
> Also asked on #musl a couple days ago whether they might be willing to
> at least #ifdef it, and only got suggestions for application side
> fixes. So, no dice it seems.

 Yes, but has the argument "Linux does in fact implement POSIX" been used already?

 Regards,
 Arnout



More information about the buildroot mailing list