mirror of
git://slackware.nl/current.git
synced 2025-01-20 22:26:48 +01:00
aa634efe5a
a/kernel-generic-5.4.74-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.74-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.74-x86_64-1.txz: Upgraded. ap/qpdf-10.0.3-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.74-x86-1.txz: Upgraded. k/kernel-source-5.4.74-noarch-1.txz: Upgraded. l/elfutils-0.182-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_35-x86_64-1.txz: Upgraded. n/iptables-1.8.6-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
32 lines
1.7 KiB
Diff
32 lines
1.7 KiB
Diff
--- ./config/policy.xml.orig 2020-11-01 12:48:38.817043527 -0600
|
|
+++ ./config/policy.xml 2020-11-01 12:51:00.357046694 -0600
|
|
@@ -52,6 +52,21 @@
|
|
<policy domain="coder" rights="read|write" pattern="{GIF,JPEG,PNG,WEBP}" />
|
|
-->
|
|
<policymap>
|
|
+ <policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/>
|
|
+ <!-- SECURITY: disable potentially insecure coders: -->
|
|
+ <policy domain="coder" rights="none" pattern="EPHEMERAL" />
|
|
+ <policy domain="coder" rights="none" pattern="HTTPS" />
|
|
+ <policy domain="coder" rights="none" pattern="MVG" />
|
|
+ <policy domain="coder" rights="none" pattern="MSL" />
|
|
+ <policy domain="coder" rights="none" pattern="TEXT" />
|
|
+ <policy domain="coder" rights="none" pattern="SHOW" />
|
|
+ <policy domain="coder" rights="none" pattern="WIN" />
|
|
+ <policy domain="coder" rights="none" pattern="PLT" />
|
|
+ <!-- SECURITY: prevent indirect reads: -->
|
|
+ <policy domain="path" rights="none" pattern="@*" />
|
|
+ <!-- SECURITY: prevent pipe to shell: -->
|
|
+ <policy domain="path" rights="none" pattern="|*" />
|
|
+ <!-- Some examples: -->
|
|
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
|
|
<!-- <policy domain="resource" name="memory" value="2GiB"/> -->
|
|
<!-- <policy domain="resource" name="map" value="4GiB"/> -->
|
|
@@ -71,7 +86,6 @@
|
|
<!-- <policy domain="cache" name="memory-map" value="anonymous"/> -->
|
|
<!-- <policy domain="cache" name="max-memory-request" value="256MiB"/> -->
|
|
<!-- <policy domain="cache" name="synchronize" value="True"/> -->
|
|
- <!-- <policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/> -->
|
|
<!-- <policy domain="system" name="shred" value="2"/> -->
|
|
<!-- <policy domain="system" name="precision" value="6"/> -->
|
|
</policymap>
|