Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311421 Details for
Bug 454494
oops in free_uid when using smbd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch
linux-kernel-test.patch (text/plain), 709 bytes, created by
Anton Arapov
on 2008-07-09 21:00:07 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Anton Arapov
Created:
2008-07-09 21:00:07 UTC
Size:
709 bytes
patch
obsolete
> kernel/user.c | 11 +++++++++++ > 1 files changed, 11 insertions(+), 0 deletions(-) > >diff --git a/kernel/user.c b/kernel/user.c >index 6408c04..220e586 100644 >--- a/kernel/user.c >+++ b/kernel/user.c >@@ -187,6 +187,17 @@ void switch_uid(struct user_struct *new_user) > atomic_dec(&old_user->processes); > switch_uid_keyring(new_user); > current->user = new_user; >+ >+ /* >+ * We need to synchronize with __sigqueue_alloc() >+ * doing a get_uid(p->user).. If that saw the old >+ * user value, we need to wait until it has exited >+ * its critical region before we can free the old >+ * structure. >+ */ >+ smp_mb(); >+ spin_unlock_wait(¤t->sighand->siglock); >+ > free_uid(old_user); > suid_keys(current); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 454494
: 311421