Bugzilla – Attachment 430 Details for
Bug 686
sshd dies by non-root account session
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for sshd v3.7.1p1 under IRIX Audit environment
patch.withIRIXAudit (text/plain), 795 bytes, created by
DOHI, Yukitada
on 2003-09-19 12:10:43 AEST
(
hide
)
Description:
patch for sshd v3.7.1p1 under IRIX Audit environment
Filename:
MIME Type:
Creator:
DOHI, Yukitada
Created:
2003-09-19 12:10:43 AEST
Size:
795 bytes
patch
obsolete
>--- uidswap.c.org Wed Sep 17 09:16:04 2003 >+++ uidswap.c Fri Sep 19 02:57:22 2003 >@@ -16,6 +16,9 @@ > > #include "log.h" > #include "uidswap.h" >+#ifdef WITH_IRIX_AUDIT >+# include <sat.h> >+#endif > > /* > * Note: all these functions must work in all of the following cases: >@@ -192,9 +195,14 @@ > } > > /* Try restoration of UID if changed (test clearing of saved uid) */ >+#ifdef WITH_IRIX_AUDIT >+ if (old_uid != pw->pw_uid && satsetid(old_uid) != -1) >+ fatal("%s: was able to restore old [e]uid", __func__); >+#else > if (old_uid != pw->pw_uid && > (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) > fatal("%s: was able to restore old [e]uid", __func__); >+#endif > > /* Verify UID drop was successful */ > if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) {
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 686
: 430