Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196190 > unrolled thread

Prevent Linux kernel from logging segfaults of user processes

Started by"Steve Keller" <keller.steve@gmx.de>
First post2018-05-29 13:50 +0200
Last post2018-05-30 04:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Prevent Linux kernel from logging segfaults of user processes "Steve Keller" <keller.steve@gmx.de> - 2018-05-29 13:50 +0200
    Re: Prevent Linux kernel from logging segfaults of user processes Urs Thuermann <urs@isnogud.escape.de> - 2018-05-30 04:20 +0200

#196190 — Prevent Linux kernel from logging segfaults of user processes

From"Steve Keller" <keller.steve@gmx.de>
Date2018-05-29 13:50 +0200
SubjectPrevent Linux kernel from logging segfaults of user processes
Message-ID<vULix-3lG-1@gated-at.bofh.it>
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?

Steve

[toc] | [next] | [standalone]


#196231

FromUrs Thuermann <urs@isnogud.escape.de>
Date2018-05-30 04:20 +0200
Message-ID<vUYSt-33F-1@gated-at.bofh.it>
In reply to#196190
Steve Keller <keller.steve@gmx.de> 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.

urs

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web