login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
28
Re: [PATCH 00/59] Introduce credentials
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alan Cox
Subject:
Re: [PATCH 00/59] Introduce credentials
Date: Thursday, August 28, 2008 - 2:45 am
On Thu, 28 Aug 2008 10:19:44 +0100 David Howells <dhowells@redhat.com> wrote:
quoted text
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > > > We get a number of things: > > > > > > (1) Multiple credential changes all happen simultaneously (setresuid() for > > > example). The new set of credentials is committed with a single RCU > > > assignment. > > > > Makes sense - except for the question of bounding memory utilisation. > > Would it make sense to call synchronise_rcu() from commit_creds() or from > setuid()/setresuid()/setgroups()/etc. to make sure that some user process > doing: > > while (1) > alter_credentials(); > > doesn't run the system out of memory by having loads of frees waiting in RCU's > queues because put_cred() uses call_rcu() to defer the destruction.
I suspect you to - or every "nth" event - building up a small queue as would occur in normal usage probably isn't a problem. --
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:
Re: [PATCH 00/59] Introduce credentials
, Alan Cox
, (Wed Aug 27, 6:33 am)
[PATCH 00/59] Introduce credentials
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 01/59] CRED: Wrap task credential accesses in the I ...
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 02/59] CRED: Wrap task credential accesses in the M ...
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 03/59] CRED: Wrap task credential accesses in the P ...
, David Howells
, (Wed Aug 27, 6:45 am)
[PATCH 04/59] CRED: Wrap task credential accesses in the P ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 05/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 06/59] CRED: Wrap task credential accesses in the x ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 07/59] CRED: Wrap task credential accesses in the b ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 08/59] CRED: Wrap task credential accesses in the t ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 09/59] CRED: Wrap task credential accesses in the D ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 10/59] CRED: Wrap task credential accesses in the I ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 11/59] CRED: Wrap task credential accesses in video ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 12/59] CRED: Wrap task credential accesses in the n ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 13/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 14/59] CRED: Wrap task credential accesses in 9P200 ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 15/59] CRED: Wrap task credential accesses in the A ...
, David Howells
, (Wed Aug 27, 6:46 am)
[PATCH 16/59] CRED: Wrap task credential accesses in the a ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 17/59] CRED: Wrap task credential accesses in the a ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 18/59] CRED: Wrap task credential accesses in the B ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 19/59] CRED: Wrap task credential accesses in the C ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 20/59] CRED: Wrap task credential accesses in the C ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 21/59] CRED: Wrap task credential accesses in the d ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 22/59] CRED: Wrap task credential accesses in the e ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 23/59] CRED: Wrap task credential accesses in the E ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 24/59] CRED: Wrap task credential accesses in the E ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 25/59] CRED: Wrap task credential accesses in the E ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 26/59] CRED: Wrap task credential accesses in the F ...
, David Howells
, (Wed Aug 27, 6:47 am)
[PATCH 27/59] CRED: Wrap task credential accesses in the F ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 28/59] CRED: Wrap task credential accesses in the G ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 29/59] CRED: Wrap task credential accesses in the H ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 30/59] CRED: Wrap task credential accesses in the H ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 31/59] CRED: Wrap task credential accesses in the H ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 32/59] CRED: Wrap task credential accesses in the h ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 33/59] CRED: Wrap task credential accesses in the J ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 34/59] CRED: Wrap task credential accesses in the J ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 35/59] CRED: Wrap task credential accesses in the M ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 36/59] CRED: Wrap task credential accesses in the N ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 37/59] CRED: Wrap task credential accesses in the N ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 38/59] CRED: Wrap task credential accesses in the O ...
, David Howells
, (Wed Aug 27, 6:48 am)
[PATCH 39/59] CRED: Wrap task credential accesses in the O ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 40/59] CRED: Wrap task credential accesses in the R ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 41/59] CRED: Wrap task credential accesses in the R ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 42/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 43/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 44/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 45/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 46/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 47/59] CRED: Wrap task credential accesses in the X ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 48/59] CRED: Wrap task credential accesses in the f ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 49/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:49 am)
[PATCH 50/59] CRED: Wrap task credential accesses in the A ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 51/59] CRED: Wrap task credential accesses in the I ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 52/59] CRED: Wrap task credential accesses in the n ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 53/59] CRED: Wrap task credential accesses in the R ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 54/59] CRED: Wrap task credential accesses in the S ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 55/59] CRED: Wrap task credential accesses in the U ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 56/59] CRED: Wrap task credential accesses in the n ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 57/59] CRED: Wrap task credential accesses in the k ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 58/59] CRED: Wrap task credential accesses in the c ...
, David Howells
, (Wed Aug 27, 6:50 am)
[PATCH 59/59] CRED: Wrap task credential accesses in the c ...
, David Howells
, (Wed Aug 27, 6:50 am)
Re: [PATCH 26/59] CRED: Wrap task credential accesses in t ...
, OGAWA Hirofumi
, (Wed Aug 27, 7:12 am)
Re: [PATCH 00/59] Introduce credentials
, David Howells
, (Wed Aug 27, 7:24 am)
Re: [PATCH 34/59] CRED: Wrap task credential accesses in t ...
, Dave Kleikamp
, (Wed Aug 27, 7:31 am)
Re: [PATCH 45/59] CRED: Wrap task credential accesses in t ...
, Jan Kara
, (Wed Aug 27, 7:44 am)
Re: [PATCH 01/59] CRED: Wrap task credential accesses in t ...
, Artem Bityutskiy
, (Wed Aug 27, 7:55 am)
Re: [PATCH 01/59] CRED: Wrap task credential accesses in t ...
, David Howells
, (Wed Aug 27, 8:24 am)
Re: [PATCH 00/59] Introduce credentials
, Alan Cox
, (Wed Aug 27, 9:39 am)
Re: [PATCH 10/59] CRED: Wrap task credential accesses in t ...
, Karsten Keil
, (Wed Aug 27, 10:51 am)
Re: [PATCH 03/59] CRED: Wrap task credential accesses in t ...
, Kyle McMartin
, (Wed Aug 27, 3:19 pm)
Re: [PATCH 38/59] CRED: Wrap task credential accesses in t ...
, Mark Fasheh
, (Wed Aug 27, 4:04 pm)
Re: [PATCH 01/59] CRED: Wrap task credential accesses in t ...
, Stephen Rothwell
, (Wed Aug 27, 4:21 pm)
Re: [PATCH 04/59] CRED: Wrap task credential accesses in t ...
, Benjamin Herrenschmidt
, (Wed Aug 27, 4:45 pm)
Re: [PATCH 00/59] Introduce credentials
, David Howells
, (Thu Aug 28, 2:19 am)
Re: [PATCH 00/59] Introduce credentials
, Alan Cox
, (Thu Aug 28, 2:45 am)
Re: [PATCH 14/59] CRED: Wrap task credential accesses in 9 ...
, Eric Van Hensbergen
, (Thu Aug 28, 10:59 am)
Re: [PATCH 00/59] Introduce credentials
, Paul E. McKenney
, (Thu Aug 28, 1:28 pm)
Re: [PATCH 11/59] CRED: Wrap task credential accesses in v ...
, Mauro Carvalho Chehab
, (Fri Aug 29, 3:32 pm)
Re: [PATCH 09/59] CRED: Wrap task credential accesses in t ...
, Dave Airlie
, (Mon Sep 1, 6:03 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alan Cox
Re: Please add ZFS support (from GPL sources)
Rafael J. Wysocki
[Bug #11287] Regression in 2.6.27-rc2 in acpi_processor_init()
Ingo Molnar
Re: [PATCH] x86: silence section mismatch warning - uv_cpu_init
Ingo Molnar
Re: [GIT PULL] time.c - respin
Lennart Poettering
Re: [PATCH] exit: PR_SET_ANCHOR for marking processes as reapers for child proce...
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
Johannes Schindelin
Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Cabillot Julien
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Stephen J. Bevan
GRE over IPsec
Guido Tschakert
Re: what exactly is enc0?
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] 4691/1: add missing i2c_board_info struct for at91rm9200
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Colocation donated by:
Syndicate