Re: [PATCH] signals: check_kill_permission: don't check creds if same_thread_group()

From: David Howells
Date: Tue May 18 2010 - 04:55:41 EST

Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> Also, move "cred = current_cred()" down to avoid calling get_current()
> twice.

I don't see what you mean by this. same_thread_group() doesn't call
current_cred(), so why this change?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at