lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 29 Sep 2013 21:40:09 -0400
From:	Dave Jones <davej@...hat.com>
To:	Ben Hutchings <ben@...adent.org.uk>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Jiri Slaby <jslaby@...e.cz>, Bastian Blank <waldi@...ian.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sysrq: Allow access to sensitive keys to be restricted
 by default

On Mon, Sep 30, 2013 at 02:31:08AM +0100, Ben Hutchings wrote:
 > From: Bastian Blank <waldi@...ian.org>
 > 
 > Add a Kconfig variable to set the initial value of the Magic SysRq mask
 > (sysctl: kernel.sysrq).
 > 
 > Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
 > ---
 > This has been in Debian for a while, but should probably be signed-off
 > by Bastian as well.
 > 
 > Debian sets this to 0x01b6, which excludes.
 > 
 >           8 - enable debugging dumps of processes etc.
 >          64 - enable signalling of processes (term, kill, oom-kill)
 > ...
 >  
 > +config MAGIC_SYSRQ_DEFAULT_MASK
 > +	hex "Default mask for Magic SysRq keys on the console"
 > +	depends on MAGIC_SYSRQ
 > +	default 1
 > +	help
 > +	  Specifies the default mask for the allowed SysRq keys.  This can be
 > +	  used to disable several sensitive keys by default.

Might be nice to have the mask values duplicated here to save having to
go grepping through code ?

	Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists