Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9127 Details for
Bug 17085
gnump3d-1.0 incorect handles groups
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this patch solves this problem, I tested. and testing, and enjoing
server.cc.patch (text/plain), 415 bytes, created by
roma1390
on 2003-03-08 09:46:19 UTC
(
hide
)
Description:
this patch solves this problem, I tested. and testing, and enjoing
Filename:
MIME Type:
Creator:
roma1390
Created:
2003-03-08 09:46:19 UTC
Size:
415 bytes
patch
obsolete
>--- gnump3d-1.0/src/server.cc.org 2003-03-08 09:02:01.000000000 +0200 >+++ gnump3d-1.0/src/server.cc 2003-03-08 09:05:09.000000000 +0200 >@@ -336,6 +336,14 @@ > exit(0); > } > >+ /* Set groups. */ >+ if(initgroups(usr->pw_name, usr->pw_gid) == -1 ) >+ { >+ printf("Can't init groups id. %s:%u\n", m_userName.c_str(), >+ usr->pw_gid ); >+ exit(0); >+ } >+ > /* Set id */ > if( setuid(usr->pw_uid) == -1 ) > {
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 17085
: 9127 |
21821