UsePrivilegeSeparation doesn t work on Linux 2.2.x [Re: OpenSSH 3.2.2 released]
Niels Provos
provos at citi.umich.edu
Sat May 18 00:16:55 EST 2002
On Fri, May 17, 2002 at 03:43:30PM +0200, Denis Ducamp wrote:
> fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> socketpair(PF_UNIX, SOCK_STREAM, 0, [3, 7]) = 0
> fcntl(3, F_SETFD, FD_CLOEXEC) = 0
> fcntl(7, F_SETFD, FD_CLOEXEC) = 0
> mmap2(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = -1 ENOSYS (Function not implemented)
> old_mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument)
> write(2, "mmap(65536)\r\n", 13mmap(65536)
> ) = 13
> write(2, "debug1: Calling cleanup 0x806ae9"..., 40debug1: Calling cleanup 0x806ae9c(0x0)
> ) = 40
> shutdown(4, 2 /* send and receive */) = 0
That looks more like a kernel problem to me. It does not know about
the mmap2 system call. That is sort of pretty weird. Did you you
pre-compiled binaries or did you compile it yourself? And then
it seems that the fallback old_mmap does not like one of the
parameters. You need to see what API changed in Linux to make this
break.
Niels.
More information about the openssh-unix-dev
mailing list