Changeset 79eec369


Ignore:
Timestamp:
03/02/2021 04:40:31 PM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
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.