Re: [RFC] call_with_creds()

From: Linus Torvalds
Date: Wed Jul 18 2018 - 19:07:02 EST


On Wed, Jul 18, 2018 at 2:22 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> Why is counter any better than LSB of a pointer?

Easier nesting, but if you do it with the "surround by a macro" model
I guess you can just save/restore instead (like you did in
call_with_creds).

Linus