Re: [PATCH] shift current_cred() from __f_setown() to f_modown()
From: Linus Torvalds
Date: Tue Jun 16 2009 - 16:22:50 EST
On Tue, 16 Jun 2009, Oleg Nesterov wrote:
>
> Shift current_cred() from __f_setown() to f_modown(). This reduces
> the number of arguments and saves 48 bytes from fs/fcntl.o.
Ok, I know I asked for this, but now I suddenly start worrying about
whether f_owner.uid/euid are initialized at all for the pid==NULL case?
They used to be initialized to zero, now they are left alone. Are they
initialized somewhere else earlier?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/