mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 08:44:52 +02:00
Now logging sshd.pid at %programdata%\ssh (#269)
PowerShell/Win32-OpenSSH#982
This commit is contained in:
parent
bad5548188
commit
02d07309e2
@ -3950,8 +3950,6 @@ channel_disable_adm_local_opens(struct ssh *ssh)
|
|||||||
void
|
void
|
||||||
channel_clear_permitted_opens(struct ssh *ssh)
|
channel_clear_permitted_opens(struct ssh *ssh)
|
||||||
{
|
{
|
||||||
if(ssh == NULL)
|
|
||||||
return;
|
|
||||||
struct ssh_channels *sc = ssh->chanctxt;
|
struct ssh_channels *sc = ssh->chanctxt;
|
||||||
|
|
||||||
sc->permitted_opens = xrecallocarray(sc->permitted_opens,
|
sc->permitted_opens = xrecallocarray(sc->permitted_opens,
|
||||||
|
@ -1565,7 +1565,7 @@
|
|||||||
#define _PATH_PASSWD_PROG "/usr/bin/passwd"
|
#define _PATH_PASSWD_PROG "/usr/bin/passwd"
|
||||||
|
|
||||||
/* Specify location of ssh.pid */
|
/* Specify location of ssh.pid */
|
||||||
#define _PATH_SSH_PIDDIR "."
|
/* #undef _PATH_SSH_PIDDIR */
|
||||||
|
|
||||||
/* Define if we don't have struct __res_state in resolv.h */
|
/* Define if we don't have struct __res_state in resolv.h */
|
||||||
#define __res_state state
|
#define __res_state state
|
||||||
@ -1693,6 +1693,7 @@
|
|||||||
|
|
||||||
#define _PATH_PRIVSEP_CHROOT_DIR "."
|
#define _PATH_PRIVSEP_CHROOT_DIR "."
|
||||||
#define SSHDIR "__PROGRAMDATA__\\ssh"
|
#define SSHDIR "__PROGRAMDATA__\\ssh"
|
||||||
|
#define _PATH_SSH_PIDDIR SSHDIR
|
||||||
#define _PATH_SFTP_SERVER "sftp-server.exe"
|
#define _PATH_SFTP_SERVER "sftp-server.exe"
|
||||||
#define _PATH_SSH_PROGRAM "ssh.exe"
|
#define _PATH_SSH_PROGRAM "ssh.exe"
|
||||||
#define _PATH_LS "dir"
|
#define _PATH_LS "dir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user