Преглед на файлове

HBSD: Revert "Flip kern.tty_info_kstacks on by default"

This reverts commit 4040c34651. Kernel
infoleaks as features are antitetical to security, especially leaking to
unprivileged users.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
Discussed-with:	brynet on irc freenode
hardened/current/safestack
Shawn Webb преди 3 месеца
родител
ревизия
d453d5fcac
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      sys/kern/tty_info.c

+ 1
- 1
sys/kern/tty_info.c Целия файл

@@ -239,7 +239,7 @@ sbuf_tty_drain(void *a, const char *d, int len)
}

#ifdef STACK
static bool tty_info_kstacks = true;
static bool tty_info_kstacks = false;
SYSCTL_BOOL(_kern, OID_AUTO, tty_info_kstacks, CTLFLAG_RWTUN,
&tty_info_kstacks, 0,
"Enable printing kernel stack(9) traces on ^T (tty info)");


Зареждане…
Отказ
Запис