Displaying 20 results from an estimated 59 matches for "monitor_fdpass".
2014 Jul 28
4
[Bug 2260] New: monitor_fdpass.c fails to compile on QNX 6.3.2
https://bugzilla.mindrot.org/show_bug.cgi?id=2260
Bug ID: 2260
Summary: monitor_fdpass.c fails to compile on QNX 6.3.2
Product: Portable OpenSSH
Version: 6.6p1
Hardware: ix86
OS: Other
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at mindro...
2002 May 29
2
OpenSSH 3.2.3p1 won't compile under IRIX 6.5.14
...ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/etc/openssh\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
monitor_fdpass.c
cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 58
The identifier "SCM_RIGHTS" is undefined.
cmsg->cmsg_type = SCM_RIGHTS;
^
cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 117
The identifier "SCM_RIGHTS" is undefined.
if...
2002 Jun 27
3
OpenSSH 3.4p1 - compilation problem on Linux
...ake[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tools/openssh-3.4p1/openbsd-compat'
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh -lopenbsd-compat -lbsd -lz -lcrypto
./libssh.a(monitor_fdpass.o): In function `mm_send_fd':
/tools/openssh-3.4p1/monitor_fdpass.c:54: undefined reference to `CMSG_FIRSTHDR'
/tools/openssh-3.4p1/monitor_fdpass.c:58: undefined reference to `CMSG_DATA'
./libssh.a(monitor_fdpass.o): In function `mm_receive_fd':
/tools/openssh-3.4p1/monitor_fdpass....
2003 Sep 18
1
Problem building OpenSSH on Cobalt Raq2i running standard Linux
...P_SERVER=\"/usr/local/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H
-c monitor_fdpass.c
monitor_fdpass.c: In function `mm_send_fd':
monitor_fdpass.c:57: `SCM_RIGHTS' undeclared (first use this function)
monitor_fdpass.c:57: (Each undeclared identifier is reported only once
monitor_fdpass.c:57: for each function it appears in.) make: ***
[monitor_fdpass.o] Error 1
I'm tr...
2006 Oct 15
1
v4.4p1: compile fix
Hello,
I've attached a small unified diff fixing a compilation problem
under linux v2.0.35:
? monitor_fdpass.c:
<sys/un.h> need to be included in order to get the structures
fro cmsg... defined.
? --with-mantype=man
I would prefer this to be the default, but YMMV.
THX for listening.
CU Tom.
(Thomas M.Ott)
Germany
-------------- next part --------------
--- openssh-4.4p1/monitor_fdpass.c.ori...
2008 Jul 29
1
Question regarding alignment patch
Contrast
http://cvsweb.mindrot.org/index.cgi/openssh/monitor_fdpass.c?r1=1.23;r2=1.24
with
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/monitor_fdpass.c.diff?r1=1.14&r2=1.15
The original replaces cmsgbuf.tmp with cmsgbuf.buf, while the -portable
version *adds* cmsgbuf.buf but retains cmsgbuf.tmp.
I assume this was an oversight, and cmsgbuf.tmp should...
2014 Apr 29
3
[Bug 2237] New: monitor_fdpass.c: poll.h
https://bugzilla.mindrot.org/show_bug.cgi?id=2237
Bug ID: 2237
Summary: monitor_fdpass.c: poll.h
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Other
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at mindrot.org...
2002 Jun 14
0
[Bug 276] New: openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
...Version: -current
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: Al.Smith at gold.net
SCM_RIGHTS not defined in monitor_fdpass.c.
% uname -aR
IRIX64 foo 6.5 6.5.16m 04101930 IP27
% gzip -dc openssh-3.2.3p1.tar.gz | tar xf -
% cd openssh-3.2.3p1
% ./configure --with-ssl-dir=/usr/local
[snip]
checking for msg_accrights field in struct msghdr... yes
checking for msg_control field in struct msghdr... yes
[snip]
% make
[snip]...
2002 Jun 27
0
[Bug 311] New: Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS undeclared
...RVER=\"/usr/local/libexec/sftp-server\" -
D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -
D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -
DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
monitor_fdpass.c
monitor_fdpass.c: In function `mm_send_fd':
monitor_fdpass.c:57: `SCM_RIGHTS' undeclared (first use this function)
monitor_fdpass.c:57: (Each undeclared identifier is reported only once
monitor_fdpass.c:57: for each function it appears in.)
monitor_fdpass.c: In function `mm_receive_fd'...
2002 Apr 17
4
openssh-SNAP-20020412 and AIX ...
...r/local/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/usr/local/etc\"
-DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\"
-DHAVE_CONFIG_H -c monitor_fdpass.c
"monitor_fdpass.c", line 43.18: 1506-195 (S) Integral constant
expression with a value greater than zero is required.
"monitor_fdpass.c", line 87.18: 1506-195 (S) Integral constant
expression with a value greater than zero is required.
make: *** [monitor_fdpass.o] Error 1
(...
2002 Jul 01
0
[Bug 327] New: monitor_fdpass.c: Expected 1 got 1075033556 - Privilege Separation
http://bugzilla.mindrot.org/show_bug.cgi?id=327
Summary: monitor_fdpass.c: Expected 1 got 1075033556 - Privilege
Separation
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Miscellaneous...
2008 Feb 20
1
alignment problem in monitor_fdpass.c
Hi,
After FreeBSD changed from using -O2 to using -O on their ARM port, I
found that sshd stopped working. (gcc version 4.2.1 20070719 [FreeBSD])
I have downloaded openssh-SNAP-20080220.tar.gz and the code still look
the same.
Anyway looking into it, I found that the problem is in monitor_fdpass.c
in the functions mm_send_fd and mm_receive_fd. Using -O2 used to align
the tmp array on a 4 byte boundary and using -O does not. On
architectures that do not like unaligned accesses this will break.
An extraction of mm_send_fd() look something like this:
##############################
struct ms...
2002 Jun 25
0
make fails during linking
...ibraries: -lbsd -lz -lcrypto
make fails during linking with the following error message:
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o
readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib
-L/usr/local/lib -lssh -lopenbsd-compat -lbsd -lz -lcrypto
./libssh.a(monitor_fdpass.o): In function `mm_send_fd':
/home/oliver/test/openssh-3.3p1/monitor_fdpass.c:54: undefined reference
to `CMSG_FIRSTHDR'
/home/oliver/test/openssh-3.3p1/monitor_fdpass.c:58: undefined reference
to `CMSG_DATA'
./libssh.a(monitor_fdpass.o): In function `mm_receive_fd':
/home/oliver/t...
2002 Jul 04
0
[Bug 336] New: ssh does not compile on Linux with libc5 and 2.0 kernel
...nedTo: openssh-unix-dev at mindrot.org
ReportedBy: johanw at xs4all.nl
When compiling ssh on an older Linux system with a 2.0 kernel and libc5, compile errors arise because configure erroneously defines
HAVE_CONTROL_IN_MSGHDR in config.h. This results in undefined references:
./libssh.a(monitor_fdpass.o): In function `mm_send_fd':
/Packages/ssh/openssh-3.4p1/monitor_fdpass.c:54: undefined reference to `CMSG_FIRSTHDR'
/Packages/ssh/openssh-3.4p1/monitor_fdpass.c:58: undefined reference to `CMSG_DATA'
./libssh.a(monitor_fdpass.o): In function `mm_receive_fd':
/Packages/ssh/openssh-...
2002 Jul 01
5
[Bug 327] monitor_fdpass.c: Expected 1 got 1075033556 - Privilege Separation
http://bugzilla.mindrot.org/show_bug.cgi?id=327
------- Additional Comments From jmknoble at pobox.com 2002-07-02 04:11 -------
Could you please check the error message again? Is it:
mm_receive_fd: recvmsg: expected received 1 got nnnnnnnn
or is it this:
mm_receive_fd: expected type 1 got nnnnnnnn
? Those are two different problems, within a few lines of each other. The
exact text
2002 Jun 15
4
[Bug 276] openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
http://bugzilla.mindrot.org/show_bug.cgi?id=276
------- Additional Comments From stevesk at pobox.com 2002-06-15 14:26 -------
this is what i asked in a message a while back; can an IRIX
expert help here?
"should we be using a UNIX95 (or whatever) namespace for IRIX?
what happens with D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
------- You are receiving this
2002 May 28
1
Build problem on IRIX 6.5.16m
...-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/etc/ssh\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/lib/ssh-rand-helper\" -DHAVE_CONFIG_H -c
monitor_fdpass.c
cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 58
The identifier "SCM_RIGHTS" is undefined.
cmsg->cmsg_type = SCM_RIGHTS;
^
cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 117
The identifier "SCM_RIGHTS" is undefined....
2002 Apr 06
0
[Bug 206] New: -SNAP-20020405: build failures on AIX 3.2.5 with XLC 1.2.1.16
...Platform: Other
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: Matthew_Clarke at mindlink.bc.ca
This compiler doesn't seem to like monitor_fdpass.c.
Configured as:
./configure --with-prngd-socket=/usr/local/var/run/egd-pool --with-mantype=man
Compiler complaint, on several lines of monitor_fdpass.c:
"monitor_fdpass.c", line 42.36: 1506-043 (S) Sizeof operator cannot be used with
functions, void, bit-fields, incomplete types, or...
2002 Jun 27
8
[Bug 311] Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS undeclared
http://bugzilla.mindrot.org/show_bug.cgi?id=311
------- Additional Comments From jmknoble at pobox.com 2002-06-28 09:00 -------
What version of glibc?
What's the output of the following?
find /usr/include -name \*.h -follow -exec grep -l SCM_RIGHTS \{\} \;
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2006 Nov 01
0
No subject
...: Nothing to be done for `all'.
| make[1]: Leaving directory `/tools/openssh-3.4p1/openbsd-compat'
| gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh -lopenbsd-compat -lbsd -lz -lcrypto
| ./libssh.a(monitor_fdpass.o): In function `mm_send_fd':
| /tools/openssh-3.4p1/monitor_fdpass.c:54: undefined reference to `CMSG_FIRSTHDR'
| /tools/openssh-3.4p1/monitor_fdpass.c:58: undefined reference to `CMSG_DATA'
| ./libssh.a(monitor_fdpass.o): In function `mm_receive_fd':
| /tools/openssh-3.4p1/monitor...