audit-bsm.c lacks <errno.h>
Dag-Erling Smørgrav
des at des.no
Sat Sep 30 23:14:02 EST 2006
#include <errno.h> was removed from includes.h in July:
----------------------------
revision 1.113
date: 2006/07/12 12:22:46; author: dtucker; state: Exp; lines: +1 -2
- stevesk at cvs.openbsd.org 2006/07/11 20:07:25
[scp.c auth.c monitor.c serverloop.c sftp-server.c sshpty.c readpass.c
sshd.c monitor_wrap.c monitor_fdpass.c ssh-agent.c ttymodes.c atomicio.c
includes.h session.c sshlogin.c monitor_mm.c packet.c sshconnect2.c
sftp-client.c nchan.c clientloop.c sftp.c misc.c canohost.c channels.c
ssh-keygen.c progressmeter.c uidswap.c msg.c readconf.c sshconnect.c]
move #include <errno.h> out of includes.h; ok markus@
----------------------------
However, it was never added to audit-bsm.c, which references errno
twice:
cc -O2 -pipe -march=pentium4 -I/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh -include ssh_namespace.h -DUSE_BSM_AUDIT -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL -DXAUTH_PATH=\"/usr/X11R6/bin/xauth\" -DNO_IDEA -g -c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c: In function `bsm_audit_record':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:175: error: `errno' undeclared (first use in this function)
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:175: error: (Each undeclared identifier is reported only once
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:175: error: for each function it appears in.)
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c: In function `bsm_audit_session_setup':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:208: error: `errno' undeclared (first use in this function)
*** Error code 1
Stop in /usr/src/secure/usr.sbin/sshd.
*** Error code 1
Stop in /usr/src/secure/usr.sbin.
*** Error code 1
Stop in /usr/src/secure.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the openssh-unix-dev
mailing list