[CRIU] Re: [PATCH 7/8] util: Add open_proc_nocheck helper
Pavel Emelyanov
xemul at parallels.com
Sat Mar 24 13:38:46 EDT 2012
On 03/24/2012 08:19 PM, Cyrill Gorcunov wrote:
> On Sat, Mar 24, 2012 at 08:11:18PM +0400, Pavel Emelyanov wrote:
>> On 03/23/2012 05:30 PM, Cyrill Gorcunov wrote:
>>> Will need it to test if file descriptor
>>> is rather a socket.
>>
>> What socket? You cannot open other task's sockets via proc!
>
> This helper is used to test a file descriptor for being socket
> or not, if it fails then it's a socket.
If you do so, then I can say that the series is wrong without looking
into it :)
> Look into next patch in series which uses this helper.
>
> (My bad, the change log is not descriptive enough, I could
> update it)
>
> Cyrill
>
More information about the CRIU
mailing list