Bugzilla – Attachment 950 Details for
Bug 1070
Enchancement: Integration with GridEngine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration
sshd.diff.txt (text/plain), 1.12 KB, created by
Ron Chen
on 2005-08-17 15:19:04 AEST
(
hide
)
Description:
Diff against sshd.c, -DSGESSH_INTEGRATION to enable this integration
Filename:
MIME Type:
Creator:
Ron Chen
Created:
2005-08-17 15:19:04 AEST
Size:
1.12 KB
patch
obsolete
>> diff -u sshd.c.original sshd.c >--- sshd.c.original Tue Aug 16 21:21:50 2005 >+++ sshd.c Wed Aug 17 13:10:06 2005 >@@ -103,6 +103,11 @@ > #define REEXEC_CONFIG_PASS_FD (STDERR_FILENO + 3) > #define REEXEC_MIN_FREE_FD (STDERR_FILENO + 4) > >+#ifdef SGESSH_INTEGRATION >+extern int sgessh_readconfig(void); >+extern void sgessh_do_setusercontext(struct passwd *); >+#endif >+ > extern char *__progname; > > /* Server configuration options. */ >@@ -666,7 +671,12 @@ > demote_sensitive_data(); > > /* Drop privileges */ >- do_setusercontext(authctxt->pw); >+ >+#ifdef SGESSH_INTEGRATION >+ sgessh_do_setusercontext(authctxt->pw); >+#else >+ do_setusercontext(authctxt->pw); >+#endif > > /* It is safe now to apply the key state */ > monitor_apply_keystate(pmonitor); >@@ -890,6 +900,10 @@ > __progname = ssh_get_progname(av[0]); > init_rng(); > >+#ifdef SGESSH_INTEGRATION >+ sgessh_readconfig(); >+#endif >+ > /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */ > saved_argc = ac; > rexec_argc = ac;
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 1070
:
948
|
949
| 950