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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Jun 2014 11:27:31 +0200
From:	Tomasz Torcz <tomek@...ebreaker.pl>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:	Jiri Slaby <jslaby@...e.cz>, Tomasz Torcz <tomek@...ebreaker.pl>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] vt: disable console blanking by default


>From ea7cf47e3230eda63aa6c46092719437f9bbae8e Mon Sep 17 00:00:00 2001
From: Tomasz Torcz <tomek@...ebreaker.pl>
Date: Wed, 18 Jun 2014 11:18:06 +0200
Subject: [PATCH] vt: disable console blanking by default

  Remove default 10 minute blank interval. Instead: never blank by
  default.
  "Screensaving" is no longer useful.  Today it only provides
  obstacle when interacting with text console, especially through
  remote lights-out management solutions.

Signed-off-by: Tomasz Torcz <tomek@...ebreaker.pl>
---
 Documentation/kernel-parameters.txt | 4 ++--
 drivers/tty/vt/vt.c                 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 6eaa9cd..0618648 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -710,8 +710,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 		For now, only VisioBraille is supported.
 
 	consoleblank=	[KNL] The console blank (screen saver) timeout in
-			seconds. Defaults to 10*60 = 10mins. A value of 0
-			disables the blank timer.
+			seconds. A value of 0 disables the blank timer.
+			Defaults to never blank.
 
 	coredump_filter=
 			[KNL] Change the default value for
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 5e0f6ff..dbd4f23 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -176,7 +176,7 @@ int console_blanked;
 
 static int vesa_blank_mode; /* 0:none 1:suspendV 2:suspendH 3:powerdown */
 static int vesa_off_interval;
-static int blankinterval = 10*60;
+static int blankinterval;
 core_param(consoleblank, blankinterval, int, 0444);
 
 static DECLARE_WORK(console_work, console_callback);
-- 
1.9.3

-- 
Tomasz Torcz                Only gods can safely risk perfection,
xmpp: zdzichubg@...ome.pl     it's a dangerous thing for a man.  -- Alia

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ