Bugzilla – Attachment 2661 Details for
Bug 2425
sshd doesn't need to call setproject() when configured to use PAM on Solaris
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to limit setproject(3PROJECT) calls to non-PAM configurations
patch (text/plain), 870 bytes, created by
brent.paulson
on 2015-07-07 07:06:19 AEST
(
hide
)
Description:
patch to limit setproject(3PROJECT) calls to non-PAM configurations
Filename:
MIME Type:
Creator:
brent.paulson
Created:
2015-07-07 07:06:19 AEST
Size:
870 bytes
patch
obsolete
>--- platform.c.orig Mon Jul 6 13:38:06 2015 >+++ platform.c.new Mon Jul 6 13:38:54 2015 >@@ -106,7 +106,7 @@ > (void)ssh_selinux_enabled(); > #endif > >-#ifdef USE_SOLARIS_PROJECTS >+#ifdef USE_SOLARIS_PROJECTS && !defined(USE_PAM) > /* if solaris projects were detected, set the default now */ > if (getuid() == 0 || geteuid() == 0) > solaris_set_default_project(pw); > >--- port-solaris.c.orig Mon Jul 6 13:42:59 2015 >+++ port-solaris.c.new Mon Jul 6 13:42:18 2015 >@@ -198,7 +198,7 @@ > } > #endif > >-#ifdef USE_SOLARIS_PROJECTS >+#ifdef USE_SOLARIS_PROJECTS && !defined(USE_PAM) > #include <sys/task.h> > #include <project.h> > >@@ -226,4 +226,4 @@ > debug("getdefaultproj(%s): %s", pw->pw_name, strerror(errno)); > } > } >-#endif /* USE_SOLARIS_PROJECTS */ >+#endif /* USE_SOLARIS_PROJECTS && !defined(USE_PAM) */ >
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 Raw
Actions:
View
Attachments on
bug 2425
:
2661
|
2742