login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
18
Re: Credentials test patch
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Trond Myklebust <trond.myklebust@...>
To: David Howells <dhowells@...>
Cc: <viro@...>, <hch@...>, <linux-kernel@...>
Subject:
Re: Credentials test patch
Date: Tuesday, September 18, 2007 - 12:44 pm
On Tue, 2007-09-18 at 17:33 +0100, David Howells wrote:
quoted text
> Hi Al, Christoph, > > Here's a new version of my credentials patch. It's still very basic, with > only Ext3, (V)FAT, NFS, AFS, SELinux and keyrings compiled in on an x86_64 > arch kernel. The patched kernel compiles, links and runs. > > I've made the following major changes to the patch: > > (1) System calls that might want to use the credentials call > update_current_cred() before calling into the VFS or whatever. This > allows the keyring pointers in the cred struct to be updated. > > (2) I've got rid of current_cred(), __current_cred() and the accessors for > current's fsuid, fsgid and group list. Instead you just use > current->cred->whatever. You don't need RCU to read the current threads > credentials as only you are permitted to change them. > > David > ---
What about the process' capabilities? Shouldn't they also be part of a credential? Cheers Trond -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mike Galbraith
Re: regression: CD burning (k3b) went broke
Andi Kleen
[PATCH] [3/22] x86_64: Kill temp boot pmds
Alan Cox
Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
git
:
openbsd-misc
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 05/37] dccp: Cleanup routines for feature negotiation
Brandeburg, Jesse
RE: [PATCH] e1000e: test MSI interrupts
Colocation donated by:
Who's online
There are currently
0 users
and
830 guests
online.
Syndicate