News for hackers. Stuff that matters.
Re:Linux Container Internals by deathanatos on Tuesday June 06, 2017 @01:32AM (#14494982)
The large unsafe call inside pivot_root is much larger than it needs to be. It only needs to encompass the mount() call in that function. It's a pretty trivial change to have it only wrap the if. (Though it could wrap less, but that would either look uglier or need a variable binding the result, which honestly wouldn't be that bad either.)

There are no comments on this comment yet.