summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-04-06 21:00:04 +0000
committermarkus <markus@openbsd.org>2001-04-06 21:00:04 +0000
commitb26ac5ca2b15cdb331f67d05f000bc7ab339b229 (patch)
tree79130ce6715999a340562ac6586a5ada19e32786 /usr.bin/ssh/sshconnect.h
parentReplace FFS directory preference algorithm(dirpref) by new one. (diff)
downloadwireguard-openbsd-b26ac5ca2b15cdb331f67d05f000bc7ab339b229.tar.xz
wireguard-openbsd-b26ac5ca2b15cdb331f67d05f000bc7ab339b229.zip
do gid/groups-swap in addition to uid-swap, should help if /home/group
is chmod 750 + chgrp grp /home/group/, work be deraadt and me, thanks to olar@openwall.com is comments. we had many requests for this.
Diffstat (limited to 'usr.bin/ssh/sshconnect.h')
-rw-r--r--usr.bin/ssh/sshconnect.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshconnect.h b/usr.bin/ssh/sshconnect.h
index 3a71d9c2b35..45caf739590 100644
--- a/usr.bin/ssh/sshconnect.h
+++ b/usr.bin/ssh/sshconnect.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.h,v 1.7 2001/03/26 08:07:09 markus Exp $ */
+/* $OpenBSD: sshconnect.h,v 1.8 2001/04/06 21:00:15 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -37,7 +37,7 @@
int
ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
u_short port, int connection_attempts,
- int anonymous, uid_t original_real_uid,
+ int anonymous, struct passwd *pw,
const char *proxy_command);
/*
@@ -51,7 +51,7 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
void
ssh_login(Key *host_key, const char *host,
- struct sockaddr * hostaddr, uid_t original_real_uid);
+ struct sockaddr * hostaddr, struct passwd *pw);
void