News for hackers. Stuff that matters.
Re:Paths to being a kernel hacker by miksago on Sunday January 05, 2014 @12:06AM (#7014645)
Yeah, it is, I just read up on it, it's this function: http://lxr.linux.no/linux+v3.12.6/fs/namespace.c#L404

From what I can gather, if the file handle isn't in write mode or is a special file, then we call __mnt_want_write, http://lxr.linux.no/linux+v3.12.6/fs/namespace.c#L305, otherwise we clone the write handle or something.

I'm surprised how simple this code seems.

There are no comments on this comment yet.