diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-10 21:13:46 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-10 21:13:46 +1000 |
commit | 57cf638577052cfec0d4bce197c5597588a8b813 (patch) | |
tree | ef59d27eae64048fd8a16d53f6805fbd6525e078 | |
parent | 194a1cb0189e41db76feb9363a89fe716f7cad97 (diff) |
- stevesk@cvs.openbsd.org 2006/07/09 15:15:11
[auth2-none.c authfd.c authfile.c includes.h misc.c monitor.c]
[readpass.c scp.c serverloop.c sftp-client.c sftp-server.c]
[ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
[sshlogin.c sshpty.c]
move #include <fcntl.h> out of includes.h
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | auth2-none.c | 4 | ||||
-rw-r--r-- | authfd.c | 4 | ||||
-rw-r--r-- | authfile.c | 4 | ||||
-rw-r--r-- | includes.h | 3 | ||||
-rw-r--r-- | misc.c | 3 | ||||
-rw-r--r-- | monitor.c | 3 | ||||
-rw-r--r-- | readpass.c | 3 | ||||
-rw-r--r-- | scp.c | 3 | ||||
-rw-r--r-- | serverloop.c | 3 | ||||
-rw-r--r-- | sftp-client.c | 6 | ||||
-rw-r--r-- | sftp-server.c | 3 | ||||
-rw-r--r-- | ssh-add.c | 3 | ||||
-rw-r--r-- | ssh-agent.c | 3 | ||||
-rw-r--r-- | ssh-keygen.c | 3 | ||||
-rw-r--r-- | ssh-keysign.c | 3 | ||||
-rw-r--r-- | ssh.c | 3 | ||||
-rw-r--r-- | sshd.c | 3 | ||||
-rw-r--r-- | sshlogin.c | 4 | ||||
-rw-r--r-- | sshpty.c | 3 |
20 files changed, 50 insertions, 22 deletions
@@ -68,6 +68,12 @@ - stevesk@cvs.openbsd.org 2006/07/08 23:30:06 [log.c] move user includes after /usr/include files + - stevesk@cvs.openbsd.org 2006/07/09 15:15:11 + [auth2-none.c authfd.c authfile.c includes.h misc.c monitor.c] + [readpass.c scp.c serverloop.c sftp-client.c sftp-server.c] + [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c] + [sshlogin.c sshpty.c] + move #include <fcntl.h> out of includes.h 20060706 - (dtucker) [configure.ac] Try AIX blibpath test in different order when @@ -4801,4 +4807,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4376 2006/07/10 11:09:22 djm Exp $ +$Id: ChangeLog,v 1.4377 2006/07/10 11:13:46 djm Exp $ diff --git a/auth2-none.c b/auth2-none.c index 3fdf09a3..d6738175 100644 --- a/auth2-none.c +++ b/auth2-none.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-none.c,v 1.10 2006/03/25 13:17:01 djm Exp $ */ +/* $OpenBSD: auth2-none.c,v 1.11 2006/07/09 15:15:10 stevesk Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -28,6 +28,8 @@ #include <sys/types.h> #include <sys/stat.h> +#include <fcntl.h> + #include "auth.h" #include "xmalloc.h" #include "packet.h" @@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.c,v 1.75 2006/07/08 21:47:12 stevesk Exp $ */ +/* $OpenBSD: authfd.c,v 1.76 2006/07/09 15:15:10 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -43,6 +43,8 @@ #include <openssl/evp.h> +#include <fcntl.h> + #include "ssh.h" #include "rsa.h" #include "buffer.h" @@ -1,4 +1,4 @@ -/* $OpenBSD: authfile.c,v 1.67 2006/04/25 08:02:27 dtucker Exp $ */ +/* $OpenBSD: authfile.c,v 1.68 2006/07/09 15:15:10 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -45,6 +45,8 @@ #include <openssl/evp.h> #include <openssl/pem.h> +#include <fcntl.h> + #include "cipher.h" #include "xmalloc.h" #include "buffer.h" @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.46 2006/07/08 21:47:12 stevesk Exp $ */ +/* $OpenBSD: includes.h,v 1.47 2006/07/09 15:15:10 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -23,7 +23,6 @@ #include <stdarg.h> #include <stdio.h> #include <errno.h> -#include <fcntl.h> /* For O_NONBLOCK */ #include <stdlib.h> #include <string.h> #include <stdarg.h> @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.54 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: misc.c,v 1.55 2006/07/09 15:15:10 stevesk Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2005,2006 Damien Miller. All rights reserved. @@ -33,6 +33,7 @@ #include <netinet/in.h> #include <netinet/tcp.h> +#include <fcntl.h> #ifdef HAVE_PATHS_H # include <paths.h> #include <pwd.h> @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.79 2006/07/08 21:48:53 stevesk Exp $ */ +/* $OpenBSD: monitor.c,v 1.80 2006/07/09 15:15:10 stevesk Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * Copyright 2002 Markus Friedl <markus@openbsd.org> @@ -31,6 +31,7 @@ #include <sys/socket.h> #include <sys/wait.h> +#include <fcntl.h> #ifdef HAVE_PATHS_H #include <paths.h> #endif @@ -1,4 +1,4 @@ -/* $OpenBSD: readpass.c,v 1.39 2006/06/08 14:45:49 markus Exp $ */ +/* $OpenBSD: readpass.c,v 1.40 2006/07/09 15:15:10 stevesk Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -28,6 +28,7 @@ #include <sys/types.h> #include <sys/wait.h> +#include <fcntl.h> #ifdef HAVE_PATHS_H # include <paths.h> #endif @@ -1,4 +1,4 @@ -/* $OpenBSD: scp.c,v 1.143 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: scp.c,v 1.144 2006/07/09 15:15:10 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 <fcntl.h> #include <pwd.h> #include <signal.h> diff --git a/serverloop.c b/serverloop.c index 14baecae..09063ab8 100644 --- a/serverloop.c +++ b/serverloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: serverloop.c,v 1.137 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: serverloop.c,v 1.138 2006/07/09 15:15:11 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 <fcntl.h> #include <pwd.h> #include <signal.h> #include <termios.h> diff --git a/sftp-client.c b/sftp-client.c index 8778439b..e10361e9 100644 --- a/sftp-client.c +++ b/sftp-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.c,v 1.65 2006/04/16 00:54:10 djm Exp $ */ +/* $OpenBSD: sftp-client.c,v 1.66 2006/07/09 15:15:11 stevesk Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -26,7 +26,9 @@ #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif -# include <signal.h> + +#include <fcntl.h> +#include <signal.h> #include "openbsd-compat/sys-queue.h" diff --git a/sftp-server.c b/sftp-server.c index b95cb96c..0c6f4c24 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-server.c,v 1.58 2006/07/06 10:47:57 djm Exp $ */ +/* $OpenBSD: sftp-server.c,v 1.59 2006/07/09 15:15:11 stevesk Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * @@ -20,6 +20,7 @@ #include <sys/stat.h> #include <dirent.h> +#include <fcntl.h> #include <pwd.h> #include "buffer.h" @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-add.c,v 1.81 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: ssh-add.c,v 1.82 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -42,6 +42,7 @@ #include <openssl/evp.h> +#include <fcntl.h> #include <pwd.h> #include "ssh.h" diff --git a/ssh-agent.c b/ssh-agent.c index 87e94b0e..57c7380f 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.141 2006/07/08 21:47:12 stevesk Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.142 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -45,6 +45,7 @@ #include "openbsd-compat/sys-queue.h" #include <sys/resource.h> +#include <fcntl.h> #ifdef HAVE_PATHS_H # include <paths.h> #endif diff --git a/ssh-keygen.c b/ssh-keygen.c index afa718a9..b6959ca1 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.146 2006/07/06 16:22:39 stevesk Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.147 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -21,6 +21,7 @@ #include <openssl/evp.h> #include <openssl/pem.h> +#include <fcntl.h> #include <paths.h> #include <pwd.h> diff --git a/ssh-keysign.c b/ssh-keysign.c index 751d49a9..02c10e2e 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keysign.c,v 1.24 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: ssh-keysign.c,v 1.25 2006/07/09 15:15:11 stevesk Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserved. * @@ -24,6 +24,7 @@ */ #include "includes.h" +#include <fcntl.h> #ifdef HAVE_PATHS_H #include <paths.h> #endif @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.280 2006/07/08 21:47:12 stevesk Exp $ */ +/* $OpenBSD: ssh.c,v 1.281 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -52,6 +52,7 @@ #include <sys/un.h> #include <ctype.h> +#include <fcntl.h> #ifdef HAVE_PATHS_H #include <paths.h> #endif @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.334 2006/07/08 21:47:12 stevesk Exp $ */ +/* $OpenBSD: sshd.c,v 1.335 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -52,6 +52,7 @@ #include <sys/socket.h> #include <sys/wait.h> +#include <fcntl.h> #ifdef HAVE_PATHS_H #include <paths.h> #endif @@ -1,4 +1,4 @@ -/* $OpenBSD: sshlogin.c,v 1.17 2006/03/25 18:36:15 deraadt Exp $ */ +/* $OpenBSD: sshlogin.c,v 1.18 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -41,6 +41,8 @@ #include "includes.h" +#include <fcntl.h> + #include "loginrec.h" #include "log.h" #include "buffer.h" @@ -1,4 +1,4 @@ -/* $OpenBSD: sshpty.c,v 1.21 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: sshpty.c,v 1.22 2006/07/09 15:15:11 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -19,6 +19,7 @@ #include <sys/stat.h> #include <signal.h> +#include <fcntl.h> #include <grp.h> #ifdef HAVE_PATHS_H # include <paths.h> |