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


Groups > linux.debian.user > #196231

Re: Prevent Linux kernel from logging segfaults of user processes

From Urs Thuermann <urs@isnogud.escape.de>
Newsgroups linux.debian.user
Subject Re: Prevent Linux kernel from logging segfaults of user processes
Date 2018-05-30 04:20 +0200
Message-ID <vUYSt-33F-1@gated-at.bofh.it> (permalink)
References <vULix-3lG-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web