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
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Arjan van de Ven
[Announce] Development release 0.1 of the LatencyTOP tool
Andrew Morton
-mm merge plans for 2.6.23
Greg Kroah-Hartman
[PATCH 020/196] IDE: Convert from class_device to device for ide-tape
git
:
linux-netdev
:
Tantilov, Emil S
RE: [PATCH] net: sk_alloc() should not blindly overwrite memory
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
582 guests
online.
Online users
sreejithc
newarticles
kernel Clark
victordaniels
womenswintercoa
musicislife85
womenswintercoa
Syndicate