Parcourir la source

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 il y a 3 mois
Parent
révision
d453d5fcac
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      sys/kern/tty_info.c

+ 1
- 1
sys/kern/tty_info.c Voir le fichier

@@ -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)");


Chargement…
Annuler
Enregistrer