Enabling the kernel's DMESG_RESTRICT feature

Martin Pitt martin.pitt at ubuntu.com
Wed May 25 18:27:01 UTC 2011


Hello Kees, all,

Kees Cook [2011-05-25 10:03 -0700]:
> Yeah, the problem is that it's not a one-time question (see the bug above),
> so that each time we need privileges to gather data, apport will prompt for
> the sudo password _again_. :(

One word: attach_root_command_outputs() :)

Hooks can and should  use this apport.hookutils function if they have
several log files to attach.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the ubuntu-devel mailing list