Re: Credentials test patch

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: <dhowells@...>, <viro@...>, <hch@...>, <linux-kernel@...>
Date: Thursday, September 13, 2007 - 5:19 pm

Linus Torvalds <torvalds@linux-foundation.org> wrote:


Agreed.


Like 'current' for instance?

	static __always_inline struct task_struct *get_current(void)
	{
		return x86_read_percpu(current_task);
	}

	#define current get_current()


Yes, I know it's silly.

One thing I was trying to do was make it possible to change how the cred
structure was accessed without having to keep going back and change a whole
load of stuff each time.


It's a 'test' patch, as you'll note from the subject, and not particularly
near completion.  I'm interested in garnering useful comments, particularly on
the points of concern that I raised.

I have no intention of asking you to merge it as it stands - I was hoping that
would be clear.

David
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Credentials test patch, David Howells, (Thu Sep 13, 3:56 pm)
Re: Credentials test patch, David Howells, (Tue Sep 18, 12:33 pm)
Re: Credentials test patch, Trond Myklebust, (Tue Sep 18, 12:44 pm)
Re: Credentials test patch, Casey Schaufler, (Tue Sep 18, 1:58 pm)
Re: Credentials test patch, Trond Myklebust, (Tue Sep 18, 2:03 pm)
Re: Credentials test patch, David Howells, (Tue Sep 18, 2:24 pm)
Re: Credentials test patch, David Howells, (Tue Sep 18, 1:25 pm)
Re: Credentials test patch, David Howells, (Mon Sep 17, 11:27 am)
Re: Credentials test patch, Ulrich Drepper, (Sat Sep 15, 11:51 am)
Re: Credentials test patch, David Howells, (Mon Sep 17, 7:02 am)
Re: Credentials test patch, Ulrich Drepper, (Mon Sep 17, 10:28 am)
Re: Credentials test patch, Linus Torvalds, (Thu Sep 13, 4:09 pm)
Re: Credentials test patch, David Howells, (Thu Sep 13, 5:19 pm)
Re: Credentials test patch, Linus Torvalds, (Thu Sep 13, 5:33 pm)