On 02/03/2010 07:00 AM, Michael Kerrisk wrote:
> 2010/1/27 Török Edwin <edwinto...@gmail.com>:
>   
>> Package: manpages-dev
>> Version: 3.23-1
>> Severity: normal
>>
>> "man 2 recvmsg" says:
>>       MSG_CTRUNC
>>              indicates that some control data were discarded due to lack of 
>> space in the buffer for ancillary data.
>>
>> That doesn't mention that MSG_CTRUNC can be set due to a permission error 
>> also.
>> SELinux can deny file descriptor passing, in which case the receiving
>> application gets a message with MSG_CTRUNC set and controllen zero!
>>
>> See here for one example where this happens 
>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1700#c3
>>     
>
> (Upstream maintainer here...)
>
> I created an account on this bugzilla, but still it tells me:
>
> "You are not authorized to access bug #1700. "
>
> So, I can't read this bug to get more info.
>
>   

Sorry about that, I fixed it, the bug should be publicly accessible now.
The relevant part to MSG_CTRUNC starts at comment #3.

There is also a similar issue described here:
http://osdir.com/ml/fedora-selinux/2009-09/msg00071.html

Best regards,
--Edwin



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to