[Feature][T108][task-view-1550] GSW base code update v1453 --0
Only Configure: No
Affected branch: GSW_V1453
Affected module: ALL
Is it affected on IC: only ASR
Self-test: yes
Doc Update: no
Change-Id: I5a5f64351d29a8e070735aaf5f0748a0f4c5f77e
diff --git a/external/subpack/net/openssh/patches/sshd.patch b/external/subpack/net/openssh/patches/sshd.patch
new file mode 100644
index 0000000..6414581
--- /dev/null
+++ b/external/subpack/net/openssh/patches/sshd.patch
@@ -0,0 +1,11 @@
+--- a/sshd.c
++++ b/sshd.c
+@@ -1792,7 +1792,7 @@ main(int ac, char **av)
+ "without OpenSSL"
+ #endif
+ );
+-
++ use_privsep = 0;
+ /* Store privilege separation user for later use if required. */
+ privsep_chroot = use_privsep && (getuid() == 0 || geteuid() == 0);
+ if ((privsep_pw = getpwnam(SSH_PRIVSEP_USER)) == NULL) {