login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
17
Re: Credentials test patch
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ulrich Drepper <drepper@...>
To: David Howells <dhowells@...>
Cc: <viro@...>, <hch@...>, <torvalds@...>, <linux-kernel@...>
Subject:
Re: Credentials test patch
Date: Monday, September 17, 2007 - 10:28 am
On 9/17/07, David Howells <dhowells@redhat.com> wrote:
quoted text
> A better way would be to compare fsuid/fsgid to uid/gid and to just take an > extra ref on the incumbent cred object if they're the same, rather than always > allocating a new one. That, I suspect, would speed up 99.99% of the cases.
Indeed. It's probably rare to have different values and for the case I mentioned even more so since it happens before the first user code gets executed. -
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
:
Kok, Auke
Re: -mm merge plans for 2.6.23 - ioat/dma engine
Jeff Garzik
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Matthew Garrett
[PATCH] Remove process freezer from suspend to RAM pathway
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Jens Axboe
Re: [BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
565 guests
online.
Online users
raba76
arcflash2611
maroon395
Syndicate