tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sem_open(2) and ENAMETOOLONG
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 23.04.2016 23:52, David Holland wrote:
> On Sat, Apr 23, 2016 at 09:12:43PM +0000, David Holland wrote:
>>>>> Additionally I noted that SEM_VALUE_MAX is defined at least
>>>>> twice in the code-base, in <semaphore.h> and
>>>>> sys/kern/uipc_sem.c (thankfully with the same value: ~0U).
>>>>
>>>> That would be a bug.
>>
>> namely: please fix :-)
>
> ...I just found another report of this in 2008 :(
>
> I am fixing it.
>
Thank you!
I'm in process of optimization of semaphore names in my code from
30-60 to 14 characters and checking how the things work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXG+9LAAoJEEuzCOmwLnZsnfIP/Rv/s/LdcMWwrDIsLoZ1G2qx
hqeOMbG0M4P8zHqIOvVvlDPEw+BSqlH5yYjR/6E6JpVbfnKujWsnexrauyvPLQsm
wgm5vai0NZXX9MvEncz8hRlYyJgsa+3vYoEI+ObZB8pEn63Fvg0nHRnHteweUE59
xmfi8oaPV0NYRmiXQoqKwpSzRwwdZZyz+M3TpkRJdE5w8typoU5bc1rqV+nGZGhn
oF/dabmsg79iptYvOcr27TR2Qn/4viAZ9rxZQSH+dIxyG8Y/zBPyRyuCZCAcz4y0
rBTRiAhIR2IXtCQFC69ViNV470YVYmp0IsllEnSyHobUgv/H+PrWYQO2z5xvHNc+
RW7pz8GssNHu4MO5VNuWKoxUKCZH6s3JlLsaPgXjWeq0GIZOQiR+pesfeqyJLhiN
jJjqPhJd5KauefaQi/SMeY0LxohFBOao8o2PsiRwSBERDRavIpkW2MJxudJixwkW
xqgdBZTWCJuvHko+mUWzabkczhgAPr420U17zc7pKoOIO2SMGlCsD0y8nFiBZLfg
tjuATmDGyRA37MNRM5h4VXxzCdzQsc86KyDxoctP8gG+7Jyz7wqDB3pnI/JGNKeb
QZ1uOPcxFH+43KS4W7LSfhh42djl4bp9z7OdKMlBjtt02ClkjOZslv/LLCMJPpwd
OKhF2fuzm+S4VN3Z7Tz/
=NTMj
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index