login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
20
Re: [PATCH 3/3] CRED: Move the effective capabilities into the cred struct
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Casey Schaufler <casey@...>
To: Trond Myklebust <Trond.Myklebust@...>, Andrew Morgan <morgan@...>
Cc: David Howells <dhowells@...>, <viro@...>, <hch@...>, <sds@...>, <casey@...>, <linux-kernel@...>, <selinux@...>, <linux-security-module@...>
Subject:
Re: [PATCH 3/3] CRED: Move the effective capabilities into the cred struct
Date: Thursday, September 20, 2007 - 11:36 am
--- Trond Myklebust <Trond.Myklebust@netapp.com> wrote:
quoted text
> On Wed, 2007-09-19 at 21:11 -0700, Andrew Morgan wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > David Howells wrote: > > > Move the effective capabilities mask from the task struct into the > credentials > > > record. > > > > > > Note that the effective capabilities mask in the cred struct shadows that > in > > > the task_struct because a thread can have its capabilities masks changed > by > > > another thread. The shadowing is performed by update_current_cred() > which is > > > invoked on entry to any system call that might need it. > > > > OOC If we were to simply drop support for one process changing the > > capabilities of another, would we need this patch? > > No. This has nothing to do about one process changing some other > process' capabilities. It has to do with being able to pass security > information around the kernel beyond the confines of the task struct. > > This is needed in order to deal with asynchronous i/o where security > checks may have to be deferred, and where the task struct may no longer > be available. > One example would be a failover situation when doing deferred writes: if > the first choice of storage medium is unavailable, and the kernel tries > to fail the write over to another storage. On NFS that might involve > having to build up a new RPCSEC_GSS security context for the new server. > Currently, you cannot do this safely because all the security info is > cached in the task struct and much of it cannot be copied.
Ok, what can't be copied, and why can't it be copied? Casey Schaufler
casey@schaufler-ca.com
-
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:
[PATCH 0/3] Introduce credential record
, David Howells
, (Wed Sep 19, 12:17 pm)
[PATCH 1/3] CRED: Introduce a COW credentials record
, David Howells
, (Wed Sep 19, 12:17 pm)
[PATCH 2/3] CRED: Split the task security data and move part...
, David Howells
, (Wed Sep 19, 12:18 pm)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Serge E. Hallyn
, (Mon Sep 24, 10:00 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Stephen Smalley
, (Mon Sep 24, 10:21 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, David Howells
, (Wed Sep 26, 9:30 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Casey Schaufler
, (Wed Sep 26, 10:58 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Stephen Smalley
, (Wed Sep 26, 10:14 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Serge E. Hallyn
, (Mon Sep 24, 11:35 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, David Howells
, (Mon Sep 24, 11:52 am)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Casey Schaufler
, (Wed Sep 19, 1:28 pm)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, David Howells
, (Wed Sep 19, 6:57 pm)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, Casey Schaufler
, (Thu Sep 20, 12:31 pm)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, David Howells
, (Thu Sep 20, 1:17 pm)
Re: [PATCH 2/3] CRED: Split the task security data and move ...
, David Howells
, (Thu Sep 20, 1:33 pm)
[PATCH 3/3] CRED: Move the effective capabilities into the c...
, David Howells
, (Wed Sep 19, 12:18 pm)
Re: [PATCH 3/3] CRED: Move the effective capabilities into t...
, Andrew Morgan
, (Thu Sep 20, 12:11 am)
Re: [PATCH 3/3] CRED: Move the effective capabilities into t...
, Al Viro
, (Wed Sep 26, 2:23 pm)
Re: [PATCH 3/3] CRED: Move the effective capabilities into t...
, Trond Myklebust
, (Thu Sep 20, 9:38 am)
Re: [PATCH 3/3] CRED: Move the effective capabilities into t...
, Casey Schaufler
, (Thu Sep 20, 11:36 am)
Re: [PATCH 3/3] CRED: Move the effective capabilities into t...
, Trond Myklebust
, (Thu Sep 20, 12:09 pm)
Re: [PATCH 3/3] CRED: Move the effective capabilities into t...
, David Howells
, (Thu Sep 20, 4:15 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jan Engelhardt
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
1009 guests
online.
Online users
ezinearticles
Syndicate