Add an entry in linsysfs(5) responsible for defining the file name for core dumps.
/proc/sys/kernel/core_pattern
Perusing the documentation for linux tells us that various specifiers are possible values, which would require translation from and to FreeBSD.
For now, linux's default value of 'core' is always used.
%% a single % character %p PID of dumped process %u (numeric) real UID of dumped process %g (numeric) real GID of dumped process %s number of signal causing dump %t time of dump, expressed as seconds since the Epoch (00:00h, 1 Jan 1970, UTC) %h hostname (same as nodename returned by uname(2)) %e executable filename (without path prefix) %c core file size soft resource limit of crashing process (since Linux 2.6.24)