Re: Prevent Linux kernel from logging segfaults of user processes
Steve Keller <email@example.com> writes:
> Since quite a long time the Linux kernel prints log messages about
> processes that cause a segmentation fault, but it has not always
> been that way (Linux 2.x, maybe also 3.x versions, AFAIR).
> On a multi-user system, where users develop & debug software it is
> annoying for the admin to see all these messages in dmesg.
> So my question is can these messages been turned off, either completely
> or for certain (effective or real) user ids, e.g. uid above 1000?
I think you're looking for
echo 0 > /proc/sys/debug/exception-trace
I'm not aware of a way to disable this only for certain uids.