genode/repos/ports/src/noux-pkg/openssh/sshconnect.h.patch

23 lines
641 B
Diff

set*uid() is not implemented but it does not matter anyway because there
is only one user per noux instance.
diff --git a/sshconnect.h b/sshconnect.h
index 0ea6e99..18f7d36 100644
--- a/src/noux-pkg/openssh/sshconnect.h
+++ b/src/noux-pkg/openssh/sshconnect.h
@@ -55,6 +55,7 @@ void ssh_userauth2(const char *, const char *, char *, Sensitive *);
void ssh_put_password(char *);
int ssh_local_cmd(const char *);
+#if 0
/*
* Macros to raise/lower permissions.
*/
@@ -73,3 +74,6 @@ int ssh_local_cmd(const char *);
strerror(errno)); \
errno = save_errno; \
} while (0)
+#endif
+#define PRIV_START
+#define PRIV_END