Re: [PATCH 00/59] Introduce credentials

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Howells
Date: Thursday, August 28, 2008 - 2:19 am

Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:


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.

David
--
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)
Re: [PATCH 00/59] Introduce credentials, David Howells, (Wed Aug 27, 7:24 am)
Re: [PATCH 00/59] Introduce credentials, Alan Cox, (Wed Aug 27, 9:39 am)
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)