How can I prevent core dumps of user programs from going to kernel log messages?
At the moment if I am programming and happen to make the common error of segmentation fault, it ends up getting emailed to root like this:
Sometimes there are many lines.
Is there a way to switch this off? It is not necessary to gather this information.
I have searched for relevant information on the web and this forum without luck.
At the moment if I am programming and happen to make the common error of segmentation fault, it ends up getting emailed to root like this:
Code:
kernel log messages:
+pid 75441 (ds2-test), uid 1001: exited on signal 11 (core dumped)
+pid 75484 (ds2-test), uid 1001: exited on signal 11 (core dumped)
+pid 75485 (ds2-test), uid 1001: exited on signal 11 (core dumped)
+pid 75504 (ds2-test), uid 1001: exited on signal 11 (core dumped)
+pid 75512 (ds2-test), uid 1001: exited on signal 11 (core dumped)
+pid 76975 (ds2-test), uid 1001: exited on signal 11 (core dumped)
Is there a way to switch this off? It is not necessary to gather this information.
I have searched for relevant information on the web and this forum without luck.
Last edited by a moderator: