Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174389561
D12433.id33631.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
638 B
Referenced Files
None
Subscribers
None
D12433.id33631.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12433: bsdinstall(8) hardening menu: Utilize new kern.randompid=1 behaviour
Attached
Detach File
Event Timeline
Log In to Comment