I'm working on a large C++ project. While testing it, I frequently get a core dumped from the main process. This produces a lot of uninteresting core dumps saved within systemd
and it takes useful disk space.
Is it possible under Linux running systemd
to disable core-dumps from being recorded only temporarily for a certain user or a perhaps even better only in a certain tty or a certain shell session?
It seems reasonable to me that a user should have the option to disable core-dumps recordings if he/she is about to run a program that dumps a core frequently and he doesn't want to fill the disk space, without the root's intervention.