Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull trivial vfs updates from Al Viro: "A few cleanups + Neil's namespace_unlock() optimization" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: exec: make prepare_bprm_creds static genheaders: %-<width>s had been there since v6; %-*s - since v7 VFS: use synchronize_rcu_expedited() in namespace_unlock() iov_iter: reduce code duplication
This commit is contained in:
@@ -1402,7 +1402,7 @@ EXPORT_SYMBOL(finalize_exec);
|
||||
* Or, if exec fails before, free_bprm() should release ->cred and
|
||||
* and unlock.
|
||||
*/
|
||||
int prepare_bprm_creds(struct linux_binprm *bprm)
|
||||
static int prepare_bprm_creds(struct linux_binprm *bprm)
|
||||
{
|
||||
if (mutex_lock_interruptible(¤t->signal->cred_guard_mutex))
|
||||
return -ERESTARTNOINTR;
|
||||
|
Reference in New Issue
Block a user