[CRIU] Re: [PATCH 7/8] util: Add open_proc_nocheck helper

Cyrill Gorcunov gorcunov at openvz.org
Sat Mar 24 12:19:37 EDT 2012


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. 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