Page MenuHomeFreeBSD

D12433.id33631.diff
No OneTemporary

D12433.id33631.diff

Index: head/usr.sbin/bsdinstall/scripts/hardening
===================================================================
--- head/usr.sbin/bsdinstall/scripts/hardening
+++ head/usr.sbin/bsdinstall/scripts/hardening
@@ -66,7 +66,7 @@
echo security.bsd.unprivileged_proc_debug=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
fi
if [ "$feature" = "random_pid" ]; then
- echo kern.randompid=$(jot -r 1 9999) >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
+ echo kern.randompid=1 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
fi
if [ "$feature" = "clear_tmp" ]; then
echo 'clear_tmp_enable="YES"' >> $BSDINSTALL_TMPETC/rc.conf.hardening

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 3, 8:58 PM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40152722
Default Alt Text
D12433.id33631.diff (638 B)

Event Timeline