Hi there,
I use the latest version of -current:
OpenBSD 5.5-current (GENERIC.MP) #122: Wed May 21 08:45:26 MDT 2014
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
I did "$ sudo sysmerge -d -s etc55.tgz -x xetc55.tgz" and got no hint
on changes related to 'kern.nosuidcoredump'.
Now I have see a litte inconsistency between the standard
in /etc/sysctl.conf and 'man(8) sysctl' regarding the usage of
'kern.nosuidcoredump':
In /etc/sysctl.conf the relevant line still reads:
#kern.nosuidcoredump=2 # 2=Put suid coredumps in /var/crash
while the documentation on
http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
for 'man(8) sysctl' says in the last line of the EXAMPLES section
"sysctl kern.nosuidcoredump=3"
Hmmm - how about adjusting the default /etc/sysctl.conf like so:
(suggestion follows Theo's explanation in
http://marc.info/?l=openbsd-cvs&m=139917564022367)
$ diff -c sysctl.conf sysctl.conf.new
*** sysctl.conf Thu May 22 12:26:26 2014
--- sysctl.conf.new Thu May 22 12:30:21 2014
***************
*** 34,39 ****
--- 34,40 ----
#kern.userasymcrypto=1 # 1=Permit userland to do asymmetric crypto
#kern.splassert=2 # 2=Enable with verbose error messages
#kern.nosuidcoredump=2 # 2=Put suid coredumps in /var/crash
+ # 3=act like =2 but try to dump cores into
/var/crash/<programname>/
#kern.watchdog.period=32 # >0=Enable hardware watchdog(4) timer if
available
#kern.watchdog.auto=0 # 0=Disable automatic watchdog(4) retriggering
#kern.pool_debug=0 # 0=Disable pool corruption checks (faster)
Cheers,
STEFAN
________________________________
STEFAN WOLLNY
Mail: [email protected]
GnuPG-Key ID: 0xAA20A0E6
________________________________