diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2025-07-05 03:25:14 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2025-07-05 17:07:17 +0000 |
commit | 7134ad650bc47d8f7719c059e2f14f647af803d7 (patch) | |
tree | cff094f82a707db0715a8f60070077edcac34eb7 /usr.sbin/lpr/(developers-only) | |
parent | 667ef8875bad115d334a85c1023db0cf4d8379ba (diff) |
We already have a chance of cutting it close to the devctl limit
depending on the path, but this should be less than 50 bytes extra on
average. The jid gives us enough for userland to be able to actually
locate the corefile on disk in case it was produced in a jailed process,
the rest is just icing on the cake. We could extract pid/signo from the
core itself, but it's nice to be able to do some pre-filtering before
we even touch the core.
I'd like to use this in a (near-future) ucored port that will hoover up
corefiles from all over the system depending on some criteria.
Reviewed by: imp (earlier version), kib
Differential Revision: https://reviews.freebsd.org/D51164
Diffstat (limited to 'usr.sbin/lpr/(developers-only)')
0 files changed, 0 insertions, 0 deletions