]> andersk Git - openssh.git/commitdiff
- stevesk@cvs.openbsd.org 2006/07/06 16:03:53
authordjm <djm>
Mon, 10 Jul 2006 10:53:08 +0000 (10:53 +0000)
committerdjm <djm>
Mon, 10 Jul 2006 10:53:08 +0000 (10:53 +0000)
     [auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c]
     [auth-rhosts.c auth-rsa.c auth.c auth.h auth2-hostbased.c]
     [auth2-pubkey.c auth2.c includes.h misc.c misc.h monitor.c]
     [monitor_wrap.c monitor_wrap.h scp.c serverloop.c session.c]
     [session.h sftp-common.c ssh-add.c ssh-keygen.c ssh-keysign.c]
     [ssh.c sshconnect.c sshconnect.h sshd.c sshpty.c sshpty.h uidswap.c]
     [uidswap.h]
     move #include <pwd.h> out of includes.h; ok markus@

37 files changed:
ChangeLog
auth-options.c
auth-options.h
auth-passwd.c
auth-rh-rsa.c
auth-rhosts.c
auth-rsa.c
auth.c
auth.h
auth2-hostbased.c
auth2-pubkey.c
auth2.c
includes.h
loginrec.c
misc.c
misc.h
monitor.c
monitor_wrap.c
monitor_wrap.h
scp.c
serverloop.c
session.c
session.h
sftp-common.c
sftp-server.c
ssh-add.c
ssh-keygen.c
ssh-keysign.c
ssh-rand-helper.c
ssh.c
sshconnect.c
sshconnect.h
sshd.c
sshpty.c
sshpty.h
uidswap.c
uidswap.h

index ec1339db0307bfd1352335fbcdbafa94012c29a4..beedf79b6f49a64aa97a2d31105447f3f05aa716 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    - djm@cvs.openbsd.org 2006/07/06 10:47:57
      [sftp-server.8 sftp-server.c]
      add commandline options to enable logging of transactions; ok markus@
+   - stevesk@cvs.openbsd.org 2006/07/06 16:03:53
+     [auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c]
+     [auth-rhosts.c auth-rsa.c auth.c auth.h auth2-hostbased.c]
+     [auth2-pubkey.c auth2.c includes.h misc.c misc.h monitor.c]
+     [monitor_wrap.c monitor_wrap.h scp.c serverloop.c session.c]
+     [session.h sftp-common.c ssh-add.c ssh-keygen.c ssh-keysign.c]
+     [ssh.c sshconnect.c sshconnect.h sshd.c sshpty.c sshpty.h uidswap.c]
+     [uidswap.h]
+     move #include <pwd.h> out of includes.h; ok markus@
 
 20060706
  - (dtucker) [configure.ac] Try AIX blibpath test in different order when
index 56d598412653d80bc30b897791acfc96818a4c6d..473fb8bf7b2fe4d7b058e15e0f147f3c52a66880 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.c,v 1.35 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth-options.c,v 1.36 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 
 #include "includes.h"
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include "xmalloc.h"
 #include "match.h"
 #include "log.h"
index d34b5f1906544532168639d80e2dc33e1b49c8f2..cd2b030cd4623881b827c4f7d948a7697504f7cd 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.h,v 1.14 2006/03/25 22:22:42 djm Exp $ */
+/* $OpenBSD: auth-options.h,v 1.15 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
 #ifndef AUTH_OPTIONS_H
 #define AUTH_OPTIONS_H
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 /* Linked list of custom environment strings */
 struct envstring {
        struct envstring *next;
index 2ebcc5fc4ec6d56850546ce652877e0a11127093..3cf86dcbddfeee43a050ef227d840ab3324a7b6a 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-passwd.c,v 1.36 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth-passwd.c,v 1.37 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 
 #include "includes.h"
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include "packet.h"
 #include "buffer.h"
 #include "log.h"
index c8bdfa26c17b436208ea8de5d61013108ca165d7..8fa21e12c639a3f556a0d90135f9f758856364f4 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rh-rsa.c,v 1.40 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth-rh-rsa.c,v 1.41 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 
 #include "includes.h"
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include "packet.h"
 #include "uidswap.h"
 #include "log.h"
index ce72adb7d9299f17d0c7f6998fb902edccc9e40f..d50ea3a01e0e9f825daf73afcc192b5ae9516bda 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rhosts.c,v 1.37 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth-rhosts.c,v 1.38 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -22,6 +22,7 @@
 #ifdef HAVE_NETGROUP_H
 # include <netgroup.h>
 #endif
+#include <pwd.h>
 
 #include "packet.h"
 #include "uidswap.h"
index c331c267d21938c3d53a03a88ae6b86132507969..867597642e4054db3d75e3aa7c7d7b8268b4e08a 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rsa.c,v 1.67 2006/03/25 18:29:35 deraadt Exp $ */
+/* $OpenBSD: auth-rsa.c,v 1.68 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -22,6 +22,8 @@
 #include <openssl/rsa.h>
 #include <openssl/md5.h>
 
+#include <pwd.h>
+
 #include "rsa.h"
 #include "packet.h"
 #include "xmalloc.h"
diff --git a/auth.c b/auth.c
index ffa94e886845114c3272445c27a801276b999405..0c8894c99c260acfba040c7f337de5e84d36626f 100644 (file)
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.67 2006/03/30 11:40:21 dtucker Exp $ */
+/* $OpenBSD: auth.c,v 1.68 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
@@ -31,6 +31,7 @@
 #ifdef HAVE_PATHS_H
 # include <paths.h>
 #endif
+#include <pwd.h>
 #ifdef HAVE_LOGIN_H
 #include <login.h>
 #endif
diff --git a/auth.h b/auth.h
index 5f9fb6f101327ab235cef8fafd0576734489941b..6688c3dc56d684d50a29084eecac174669ba7fff 100644 (file)
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.53 2006/04/20 09:27:09 djm Exp $ */
+/* $OpenBSD: auth.h,v 1.54 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
 #ifndef AUTH_H
 #define AUTH_H
 
+#include <sys/types.h>
+
 #include <signal.h>
+#include <pwd.h>
 
-#include "key.h"
-#include "hostfile.h"
 #include "buffer.h"
 #include <openssl/rsa.h>
 
@@ -45,6 +46,9 @@
 #include <krb5.h>
 #endif
 
+#include "key.h"
+#include "hostfile.h"
+
 typedef struct Authctxt Authctxt;
 typedef struct Authmethod Authmethod;
 typedef struct KbdintDevice KbdintDevice;
index 8d5f383531a91db9941c7181e9688edea324dd9d..56bf0be1337057acd8829eaacf20b1fb5f9fca8c 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-hostbased.c,v 1.8 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth2-hostbased.c,v 1.9 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
 
 #include "includes.h"
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include "ssh2.h"
 #include "xmalloc.h"
 #include "packet.h"
index 8786014f2f7e445ee3406635273781f6bfa8bec9..7962dcef20f99221e975d1b16368eb49253e12e6 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-pubkey.c,v 1.12 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth2-pubkey.c,v 1.13 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
@@ -28,6 +28,8 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
+#include <pwd.h>
+
 #include "ssh.h"
 #include "ssh2.h"
 #include "xmalloc.h"
diff --git a/auth2.c b/auth2.c
index 8f7ec0d6db2bf59e70b8c66f6411c4027829f932..ad57c64e6b7022f27591e5ed128b27b6619e4108 100644 (file)
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2.c,v 1.110 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth2.c,v 1.111 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
 
 #include "includes.h"
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include "ssh2.h"
 #include "xmalloc.h"
 #include "packet.h"
index 51b6a0b84fc5858fd1d841bacd4a1f701feb2395..55ca7bedd7ae99509f6064d6c24f26d72e70ce61 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.44 2006/07/05 02:42:09 stevesk Exp $ */
+/* $OpenBSD: includes.h,v 1.45 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -27,8 +27,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdarg.h>
-#include <pwd.h>
-#include <grp.h>
 #include <time.h>
 #include <stddef.h>
 
index 76ddc2000a2bd6b6a0b5ac8d4a6fe8135e677524..42f022fd9986d3e790cfda76ceda5b9e2c8551f7 100644 (file)
 
 #include <netinet/in.h>
 
+#include <pwd.h>
+
 #include "ssh.h"
 #include "xmalloc.h"
 #include "loginrec.h"
diff --git a/misc.c b/misc.c
index 63c7ddf1ec80d712d3b7f61ce600c15f676555d7..b7316519d82a045953c0039208ef7bc8c690143c 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.53 2006/07/05 02:42:09 stevesk Exp $ */
+/* $OpenBSD: misc.c,v 1.54 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  * Copyright (c) 2005,2006 Damien Miller.  All rights reserved.
@@ -27,6 +27,7 @@
 #include "includes.h"
 
 #include <sys/ioctl.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 
 #include <netinet/in.h>
@@ -34,6 +35,7 @@
 
 #ifdef HAVE_PATHS_H
 # include <paths.h>
+#include <pwd.h>
 #endif
 #ifdef SSH_TUN_OPENBSD
 #include <net/if.h>
diff --git a/misc.h b/misc.h
index bbd66ef106b6abdc67f4084e0afb056a6f0e0e7b..f96328662f6e803669f8af0b93f960d8abb92296 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.h,v 1.31 2006/03/30 09:58:15 djm Exp $ */
+/* $OpenBSD: misc.h,v 1.32 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
 #ifndef _MISC_H
 #define _MISC_H
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 /* misc.c */
 
 char   *chop(char *);
index 08919ddfc4eb0464b053000b504577aa277ca10f..72176f9aa6a583d8d3f83da1e2f71e40b6ddbb90 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.77 2006/03/30 11:40:21 dtucker Exp $ */
+/* $OpenBSD: monitor.c,v 1.78 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright 2002 Niels Provos <provos@citi.umich.edu>
  * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -33,6 +33,7 @@
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
+#include <pwd.h>
 #include <signal.h>
 
 #ifdef SKEY
index 332652895cb98111b7e08c61fbe1239a37333b00..22b1fe8545d314b5936b382dbc11208f6aa68a01 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor_wrap.c,v 1.45 2006/03/30 09:58:15 djm Exp $ */
+/* $OpenBSD: monitor_wrap.c,v 1.46 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright 2002 Niels Provos <provos@citi.umich.edu>
  * Copyright 2002 Markus Friedl <markus@openbsd.org>
 
 #include "includes.h"
 
+#include <sys/types.h>
+
 #include <openssl/bn.h>
 #include <openssl/dh.h>
 
+#include <pwd.h>
+
 #include "ssh.h"
 #include "dh.h"
 #include "kex.h"
index c06e306061074ba1e7c87835a32f61aca7215b47..0f3b211c977ffeb5e77f838ed6652398f9a95be3 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor_wrap.h,v 1.16 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: monitor_wrap.h,v 1.17 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Copyright 2002 Niels Provos <provos@citi.umich.edu>
 
 #ifndef _MM_WRAP_H_
 #define _MM_WRAP_H_
+
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include "key.h"
 #include "buffer.h"
 
diff --git a/scp.c b/scp.c
index e5332972c2bcd82d866bdc04ee9e590b4aa0642e..cfe2165e69f4e29d1b1615d26a673376287bc207 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.142 2006/05/17 12:43:34 markus Exp $ */
+/* $OpenBSD: scp.c,v 1.143 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * scp - secure remote copy.  This is basically patched BSD rcp which
  * uses ssh to do the data transfer (instead of using rcmd).
@@ -81,6 +81,7 @@
 
 #include <ctype.h>
 #include <dirent.h>
+#include <pwd.h>
 #include <signal.h>
 
 #include "xmalloc.h"
index a0832679c9f1d4afac7e081c3d6ce536a03354f8..14baecae13ed9a1e012a6ce2ff722960a4e96e61 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: serverloop.c,v 1.136 2006/07/05 02:42:09 stevesk Exp $ */
+/* $OpenBSD: serverloop.c,v 1.137 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -43,6 +43,7 @@
 
 #include <netinet/in.h>
 
+#include <pwd.h>
 #include <signal.h>
 #include <termios.h>
 
index 899c3a16b47435ece14a452224857948154a7bc4..9115c5aa1553d6af240f021d370d60827211a785 100644 (file)
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.205 2006/07/06 10:47:05 djm Exp $ */
+/* $OpenBSD: session.c,v 1.206 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
@@ -46,6 +46,7 @@
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
+#include <pwd.h>
 #include <signal.h>
 #include <arpa/inet.h>
 
index bdac05934ec309024410dc0db5b1d1deaa9c1f7c..c3a12821f8f791ce088180cadd3252427ce2b282 100644 (file)
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.27 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: session.h,v 1.28 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
 #ifndef SESSION_H
 #define SESSION_H
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #define TTYSZ 64
 typedef struct Session Session;
 struct Session {
index 8c794a05f858eff1a622dfe03310f520ba5bf609..92ce90661138702c5e39ad31ec1afdbf40acd0ab 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-common.c,v 1.14 2006/07/02 22:45:59 stevesk Exp $ */
+/* $OpenBSD: sftp-common.c,v 1.15 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2001 Markus Friedl.  All rights reserved.
  * Copyright (c) 2001 Damien Miller.  All rights reserved.
@@ -30,6 +30,7 @@
 #include <sys/stat.h>
 
 #include <grp.h>
+#include <pwd.h>
 
 #include "buffer.h"
 #include "bufaux.h"
index e882216b108457c4a5dc7f4fdf5768e1a60fe053..b95cb96c2e082cf85c93d0c6b806db5d1836be44 100644 (file)
@@ -20,6 +20,7 @@
 #include <sys/stat.h>
 
 #include <dirent.h>
+#include <pwd.h>
 
 #include "buffer.h"
 #include "bufaux.h"
index 836cb5f9caba3dd56151a12912b1b07d6c0eb8c6..1cc10295f255d00d07b1f4691423774c771310bc 100644 (file)
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-add.c,v 1.80 2006/05/30 11:46:38 mk Exp $ */
+/* $OpenBSD: ssh-add.c,v 1.81 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -42,6 +42,8 @@
 
 #include <openssl/evp.h>
 
+#include <pwd.h>
+
 #include "ssh.h"
 #include "rsa.h"
 #include "log.h"
index e06ae1a5249ef830954603e1784a8afcc557faa8..b10e42ec89ea7aa9a9ef4253aa839d89d3b25334 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.144 2006/05/17 12:43:34 markus Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.145 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -20,6 +20,9 @@
 #include <openssl/evp.h>
 #include <openssl/pem.h>
 
+#include <paths.h>
+#include <pwd.h>
+
 #include "xmalloc.h"
 #include "key.h"
 #include "rsa.h"
index 017af53077e401a9f953cf5d8deae85d61eab31e..751d49a902749ab93e6eb8339b03fac2fad052a9 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keysign.c,v 1.23 2006/04/02 08:34:52 dtucker Exp $ */
+/* $OpenBSD: ssh-keysign.c,v 1.24 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Copyright (c) 2002 Markus Friedl.  All rights reserved.
  *
@@ -27,6 +27,7 @@
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
+#include <pwd.h>
 
 #include <openssl/evp.h>
 #include <openssl/rand.h>
index d8da7d3c02ce5638c858d9815675c88f03bed097..feb1bfb1834de675888e625f73b6ecc27f7eefb5 100644 (file)
@@ -36,6 +36,7 @@
 # include <sys/un.h>
 #endif
 
+#include <pwd.h>
 #include <signal.h>
 
 #include <openssl/rand.h>
diff --git a/ssh.c b/ssh.c
index 47b1b71950e78a489a2a8dbc2b3c2bf687cd7e35..d9837f1620c785fba061f990fa162785e71a85d0 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.278 2006/07/03 08:54:20 stevesk Exp $ */
+/* $OpenBSD: ssh.c,v 1.279 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -54,6 +54,7 @@
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
+#include <pwd.h>
 #include <signal.h>
 
 #include <openssl/evp.h>
index 7f9c09b9147c6a0bef0c9565c581b246618eaa06..3bc455eb472b0a8f06cc843168c9a8185dcb00a1 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.187 2006/07/05 02:42:09 stevesk Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.188 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -26,6 +26,7 @@
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
+#include <pwd.h>
 
 #include "ssh.h"
 #include "xmalloc.h"
index 692d27567534491b5fd7fdc9dc455fe67736cc29..c1b07390b38d155ed49988ed5938bad0b54084c4 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.h,v 1.20 2006/06/06 10:20:20 markus Exp $ */
+/* $OpenBSD: sshconnect.h,v 1.21 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
 #ifndef SSHCONNECT_H
 #define SSHCONNECT_H
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 typedef struct Sensitive Sensitive;
 struct Sensitive {
        Key     **keys;
diff --git a/sshd.c b/sshd.c
index 4c0231d766f0532a9a173aa56b46e8e2270a5569..790d27576d98816c1cba77848ba4e92aa02ae957 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.332 2006/07/03 08:54:20 stevesk Exp $ */
+/* $OpenBSD: sshd.c,v 1.333 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -54,6 +54,7 @@
 #ifdef HAVE_PATHS_H
 #include <paths.h>
 #endif
+#include <pwd.h>
 #include <signal.h>
 
 #include <openssl/dh.h>
index 92f86e7a10be51dee64c8008456de904a7f6f4c9..973c2d2d87e7b73ba532ca1dd537c08901cc4c7f 100644 (file)
--- a/sshpty.c
+++ b/sshpty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshpty.c,v 1.20 2006/07/02 22:45:59 stevesk Exp $ */
+/* $OpenBSD: sshpty.c,v 1.21 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -23,6 +23,7 @@
 #ifdef HAVE_PATHS_H
 # include <paths.h>
 #endif
+#include <pwd.h>
 #include <termios.h>
 #ifdef HAVE_UTIL_H
 # include <util.h>
index f61a5e71eedcb19be64649dbc370da78ebbabe98..a7b337474242358ec6021b2e0f60c777069fdd76 100644 (file)
--- a/sshpty.h
+++ b/sshpty.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshpty.h,v 1.8 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: sshpty.h,v 1.9 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -17,6 +17,9 @@
 #ifndef SSHPTY_H
 #define SSHPTY_H
 
+#include <sys/types.h>
+
+#include <pwd.h>
 #include <termios.h>
 
 struct termios get_saved_tio(void);
index 32441828d85870f2adb3314cc9ce10be27e2cfbc..2ac5d7f91d34ff21e1894dbd16bc1fec8d8a2b97 100644 (file)
--- a/uidswap.c
+++ b/uidswap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uidswap.c,v 1.29 2006/06/08 14:45:49 markus Exp $ */
+/* $OpenBSD: uidswap.c,v 1.30 2006/07/06 16:03:53 stevesk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 
 #include "includes.h"
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 #include <grp.h>
 
 #include "log.h"
index f827782d5b212b6fd3db84375ed16829a4c43cd6..436c10f7569b1798a4b74333ff7f0e16c36b10b5 100644 (file)
--- a/uidswap.h
+++ b/uidswap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uidswap.h,v 1.11 2006/06/08 14:45:49 markus Exp $ */
+/* $OpenBSD: uidswap.h,v 1.12 2006/07/06 16:03:53 stevesk Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
 #ifndef UIDSWAP_H
 #define UIDSWAP_H
 
+#include <sys/types.h>
+
+#include <pwd.h>
+
 void    temporarily_use_uid(struct passwd *);
 void    restore_uid(void);
 void    permanently_set_uid(struct passwd *);
This page took 0.09568 seconds and 5 git commands to generate.