Changeset b317cda


Ignore:
Timestamp:
08/21/2023 02:40:05 AM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
9414365d
Parents:
2e397ac8
Message:

polkit: Expand and fix the command explanation for js102 sed

and demote duktape to recommended (but still keep it required internally
for jhalfs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/polkit.xml

    r2e397ac8 rb317cda  
    9090    <bridgehead renderas="sect4">Required</bridgehead>
    9191    <para role="required">
    92       <xref linkend="glib2"/> and
    93       <xref linkend="duktape"/>
     92      <xref linkend="glib2"/>
    9493    </para>
    9594
    9695    <bridgehead renderas="sect4">Recommended</bridgehead>
    9796    <para role="recommended">
     97      <!-- For jhalfs just make it required to avoid over-complexity. -->
     98      <xref role="required" linkend="duktape"/>,
    9899      <xref linkend="gobject-introspection"/>,
    99100      <xref linkend="libxslt"/>,<phrase revision="systemd"> and</phrase>
     
    186187    </para>
    187188
    188 <screen><userinput remap="nodep">sed -e 's/JS_Init/JS::DisableJitBackend(); &amp;/' \
     189<screen><userinput remap="nodump">sed -e 's/JS_Init/JS::DisableJitBackend(); &amp;/' \
    189190    -i src/polkitbackend/polkitbackendjsauthority.cpp</userinput></screen>
    190191
     
    250251
    251252    <para>
    252       <parameter>sed -e 's/JS_Init/JS::DisableJitBackend(); &amp;/' ...
    253       </parameter>: The JIT compiling of JS102 needs W+X mapping which
    254       is dangerous and is not permitted by current
    255       <application>systemd</application>.
     253      <command>sed -e 's/JS_Init/JS::DisableJitBackend(); &amp;/' ...
     254      </command>: The JIT compiling of JS102 needs W+X mapping which
     255      is dangerous and is not permitted by the
     256      <application>systemd</application> unit file shipped within the polkit
     257      package.  This command is not strictly needed on systems based on
     258      sysvinit but it still improves security.  It has no effect if building
     259      polkit with the recommended <xref linkend='duktape'/> Javascript
     260      engine.
    256261    </para>
    257262
Note: See TracChangeset for help on using the changeset viewer.