Hallo Douglas,

> if [ "$(uname -m)" != "x86_64" ]; then
> l1="#ifdef __NR_pselect6_timeyr"
> l2="        SC_ALLOW(__NR_pselect6_time64),"
> l3="#endif"
> sed -e "/^ifdef __NR_read$/ i $l1\n$l2\n$\l3" -i sandbox-seccomp-filter.c
> fi

apart from the minor typos your suggestion is gold!
thanks so much, I was really desperate because I had no idea and I don't follow 
openssh that closely.

Fixed it like this:
> l1="#ifdef __NR_pselect6_time64"
> sed -e "/^#ifdef __NR_read$/ i $l1\n$l2\n$l3" -i.orig sandbox-seccomp-filter.c


Applied the patch, recompiled and it started to work.

Finally I noticed the one difference from the other partition on the machine 
which I use to test my 32 bit stuff: this one still had openssh 8.3 installed, 
so I could logon there, and only 8.4 ceased to work.
At first I suspected something strange had happened to the builtin list of kex 
protocols.

Stay healthy,
Thomas
--
"Do you wanna be a legend or a passing footprint on the sands of time?"
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to