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
:
Linus Torvalds
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Mike Galbraith
Re: regression: CD burning (k3b) went broke
Con Kolivas
Re: -mm merge plans for 2.6.23
git
:
linux-netdev
:
Gerrit Renker
[PATCH 24/37] dccp: Processing Confirm options
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
868 guests
online.
Online users
rencer14
camcord885
Syndicate