Displaying 20 results from an estimated 400 matches similar to: "[Bug 544] sshd w/privsep fails on Linux 2.0, mm_receive_fd: expected type 1 got 1074276337"
2006 Nov 01
0
No subject
HAVE_SENDMSG = 1
HAVE_ACCRIGHTS_IN_MSGHDR - not defined
HAVE_CONTROL_IN_MSGHDR = 1
> void
> mm_send_fd(int socket, int fd)
> {
> #if defined(HAVE_SENDMSG) && (defined(HAVE_ACCRIGHTS_IN_MSGHDR) || defined(HAVE_CONTROL_IN_MSGHDR))
> struct msghdr msg;
> struct iovec vec;
> char ch = '\0';
> int n;
> #ifndef HAVE_ACCRIGHTS_IN_MSGHDR
2023 Feb 16
0
[RFC PATCH v1 12/12] test/vsock: MSG_ZEROCOPY support for vsock_perf
On Mon, Feb 06, 2023 at 07:06:32AM +0000, Arseniy Krasnov wrote:
>To use this option pass '--zc' parameter:
--zerocopy or --zero-copy maybe better follow what we did with the other
parameters :-)
>
>./vsock_perf --zc --sender <cid> --port <port> --bytes <bytes to send>
>
>With this option MSG_ZEROCOPY flag will be passed to the 'send()' call.
2002 May 29
2
OpenSSH 3.2.3p1 won't compile under IRIX 6.5.14
Previously 3.2.2 would not compile under Solaris, then 3.2.3
came out with a bug fix for the problem.
Now 3.2.3 won't compile under IRIX 6.5.14. I've tried using
both gcc 3.0.1 and the IRIX MIPSpro 7.1 compilers. I've been
compiling previous versions of OpenSSH for years using these
same compilers (we haven't updated the MIPSpro compiler for 3
years, and I've been using it on
2009 Mar 20
0
tftpd-hpa can't reopen /dev/log
Hi,
here is an example of tftpd-hpa running in daemon mode failing to
reopen /dev/log. No wonder, as it tries after chrooting.
Cheers,
Feri.
$ sudo strace -f -p 2356
Process 2356 attached - interrupt to quit
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
setsockopt(4, SOL_IP, IP_PKTINFO, [1], 4) = 0
recvmsg(4, {msg_name(16)={sa_family=AF_INET, sin_port=htons(57109),
2015 Feb 26
4
Call for testing: OpenSSH 6.8
On Thu, 26 Feb 2015, Damien Miller wrote:
> > Yes I saw that later.
> >
> > The testsuite build fails on Solaris 2.6 thusly:
> [...]
> > regress/netcat.c:1037: error: 'struct msghdr' has no member named
> > 'msg_control'
>
> ah, looks like we need to copy some bits from monitor_fdpass.c
Perhaps like this:
diff --git regress/netcat.c
2009 Nov 04
0
PATCH: fast copy of files in local server mode
Dear List,
the attached patch makes rsync of local folders almost as fast as cp.
when rsync client and server has detected that they are working in
local_server mode,
they use local_socket, a unix domain socket pair, to pass the file
descriptors of the synced files.
the server uses the file descriptor it receives from the client to fast copy
from src to dst file.
on completion of every file fast
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
2015 Aug 07
0
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
On 07/29/2015 01:45 AM, Ron via Syslinux wrote:
>
> Take 2 at bouncing this to the rest of the original recipients through a
> different MTA, since mail.zytor.com refused to accept it the first time.
>
> Please re-add Jason Gunthorpe <jgg at obsidianresearch.com> and
> 793921 at bugs.debian.org to the CC for replies.
>
>
> On Wed, Jul 29, 2015 at 05:34:00PM
2015 Jul 29
2
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
Take 2 at bouncing this to the rest of the original recipients through a
different MTA, since mail.zytor.com refused to accept it the first time.
Please re-add Jason Gunthorpe <jgg at obsidianresearch.com> and
793921 at bugs.debian.org to the CC for replies.
On Wed, Jul 29, 2015 at 05:34:00PM +0930, Ron wrote:
>
> Hi Jason,
>
> On Tue, Jul 28, 2015 at 03:45:30PM -0600, Jason
2002 Jun 25
0
Privilege separation and linux kernel 2.0.x: mm_receive_fd fails
FWIW, after patching the mmap issue, openssh still doesn't work on
linux kernel 2.0.39 (+ patches):
sshd[22202]: fatal: mm_receive_fd: expected type 1 got 2355841
I didn't dig deeper into it yet, but I believe 2.0 kernel does not support
the kind of recvmsg() use privsep expects.
-- v --
v at iki.fi
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
hello hpa,
here my birthday submission :)
please pull:
git pull git://git.debian.org/users/maks/klibc.git maks
Sam fixed a longstanding x86_32 build bug, thus it seems a good time
to flush the queue of the piled up patches, the shortlog tells it:
Aurelien Jarno (1):
[klibc] sh4: syscalls fixes
Benjamin Cama (1):
[klibc] fstype: btrfs size endianness fix
Mike Waychison (2):
2009 Sep 11
1
[PATCH] guestfish: Redirect stdout when executing remote commands
guestfish --listen necessarily redirects its stdout to /dev/null so as not to
interfere with eval. The remote protocol doesn't contain any other provision for
collecting stdout for the caller, so executing guestfish --remote will never
generate any output.
This patch fixes that by forwarding the caller's STDOUT to the listener over the
unix socket connection. The listener redirects its
2023 Nov 07
0
[PATCH AUTOSEL 6.1 11/18] vsock: read from socket's error queue
From: Arseniy Krasnov <avkrasnov at salutedevices.com>
[ Upstream commit 49dbe25adac42d3e06f65d1420946bec65896222 ]
This adds handling of MSG_ERRQUEUE input flag in receive call. This flag
is used to read socket's error queue instead of data queue. Possible
scenario of error queue usage is receiving completions for transmission
with MSG_ZEROCOPY flag. This patch also adds new defines:
2023 Nov 07
0
[PATCH AUTOSEL 6.5 20/30] vsock: read from socket's error queue
From: Arseniy Krasnov <avkrasnov at salutedevices.com>
[ Upstream commit 49dbe25adac42d3e06f65d1420946bec65896222 ]
This adds handling of MSG_ERRQUEUE input flag in receive call. This flag
is used to read socket's error queue instead of data queue. Possible
scenario of error queue usage is receiving completions for transmission
with MSG_ZEROCOPY flag. This patch also adds new defines:
2023 Nov 07
0
[PATCH AUTOSEL 6.6 21/31] vsock: read from socket's error queue
From: Arseniy Krasnov <avkrasnov at salutedevices.com>
[ Upstream commit 49dbe25adac42d3e06f65d1420946bec65896222 ]
This adds handling of MSG_ERRQUEUE input flag in receive call. This flag
is used to read socket's error queue instead of data queue. Possible
scenario of error queue usage is receiving completions for transmission
with MSG_ZEROCOPY flag. This patch also adds new defines:
2002 May 28
1
Build problem on IRIX 6.5.16m
I had a problem building OpenSSH 3.2.3p1 on IRIX 6.5.16m.
The configure command I used was:
env CC=cc ./configure --prefix=/usr --sysconfdir=/etc/ssh
--libexecdir=/usr/lib \
--mandir=/usr/share/man/u_man --with-catman=man --without-rsh \
--with-xauth=/usr/bin/X11/xauth --with-ssl-
dir=../openssl-0.9.6d \
--with-prngd-socket=/dev/egd-pool
The errors during make are:
2002 Jun 20
0
[Bug 280] New: make failed on IRIX - SCM_RIGHTS unknown
http://bugzilla.mindrot.org/show_bug.cgi?id=280
Summary: make failed on IRIX - SCM_RIGHTS unknown
Product: Portable OpenSSH
Version: -current
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
2009 Dec 07
7
Name Resolution Broken for One Address
I seem to have broken my laptop and have been unable to figure it out.
Name resolution works great, except one address, which seems to be
resolving to 0.0.0.1. Could you help me figure out what I have done and
fix it?
The following lines are in /etc/hosts
192.168.11.1 dev.example.com
192.168.11.1 dev1.example.com
Pinging any other address that I try works, except dev.example.com.
2008 Jan 28
1
Dovecot-auth crash
I wrote mail as different used few minutes ago... Here is better result
from strace.
23:56:00.390607 close(18) = 0
23:56:00.390792 open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 18
23:56:00.390858 close(18) = 0
23:56:00.390904 open("/usr/lib/sasl2/libldapdb.la", O_RDONLY) = 18
23:56:00.390963 fstat64(18, {st_mode=S_IFREG|0644, st_size=848, ...}) =
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