[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] CRED: Take cred_exec_mutex in compat_do_execve() and fix error handling in do_execve()
On Tue, 19 Aug 2008, David Howells wrote:

> Take cred_exec_mutex in compat_do_execve(). This reflects what do_execve()
> does. The mutex protects credentials calculation against PTRACE_ATTACH needing
> to alter it mid-exec.
> Also fix the error handling in do_execve(). The mutex needs to be unlocked if
> an error occurs after it is taken, but before the install_exec_creds()
> released it.
> Signed-off-by: David Howells <>

Applied to

Hopefully this will be in the next linux-next tree for testing.

Alexander, please let us know if it fixes the problem you saw.

- James
James Morris

 \ /
  Last update: 2008-08-20 01:33    [W:0.035 / U:2.656 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site