Changeset 79eec369


Ignore:
Timestamp:
03/02/2021 04:40:31 PM (8 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
11.0, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
7b66ed2
Parents:
bd0dcd5
Message:

Fix a seccomp issue in OpenSSH

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24325 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rbd0dcd5 r79eec369  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[thomas] - Fix a seccomp issue in OpenSSH on non-x86_64 platforms.</para>
     49        </listitem>
     50        <listitem>
    4851          <para>[ken] - Update to nss-3.62. Fixes
    4952          <ulink url="&blfs-ticket-root;14684">#14684</ulink>.</para>
  • postlfs/security/openssh.xml

    rbd0dcd5 r79eec369  
    151151
    152152<screen><userinput remap="pre">sed -e '/INSTALLKEYS_SH/s/)//' -e '260a\  )' -i contrib/ssh-copy-id</userinput></screen>
     153
     154    <para>
     155      Next, fix an issue on platforms other than x86_64:
     156    </para>
     157    <screen><userinput remap="pre">if [ "$(uname -m)" != "x86_64" ]; then
     158    l1="#ifdef __NR_pselect6_time64"
     159    l2="    SC_ALLOW(__NR_pselect6_time64),"
     160    l3="#endif"
     161    sed -e "/^#ifdef __NR_read$/ i $l1\n$l2\n$l3" \
     162        -i sandbox-seccomp-filter.c
     163fi</userinput></screen>
    153164
    154165    <para>
Note: See TracChangeset for help on using the changeset viewer.