04.06.2018 4:33, Rodney W. Grimes wrote:

>>>> Bad side effect of doing that is it is not hard to get a "core"
>>>> from top when run as a user, as it is going to try to write
>>>> to /, and it probably does not have permission for that.

We already have global sysctl kern.corefile that can be changed to 
/var/tmp/%N.core

Perhaps, a kernel could take a look to process environment to something like
KERN_COREFILE variable for an override of that sysctl?
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to