On Sat, Jul 27, 2019 at 09:41:25AM -0700, Linus Torvalds wrote: > On Sat, Jul 27, 2019 at 9:28 AM Linus Torvalds > <[email protected]> wrote: > > > > Something like > > > > struct pid *fd_to_pid(unsigned int fd) > > { > > struct fd f; > > struct pid *pid; > ... > > I forgot to put my usual disclaimer about TOTALLY UNTESTED GARBAGE in > that email. I want to make that part clear: that code snippet was > meant as a rough guide of direction, not as a "this works". > > Hopefully that was clear.
Yeah. I don't take code someone else has written without verifying or testing into my own code. And I hope people do the same with mine. :) Christian

