SVNews r330838

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-13 10:00:14 - r330838 by eadler (Eitan Adler)

Complete list of files affected by revision r330838:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/dev/syscons/syscons.c  

Commit message:

MFC r304164:

Disable some more unsafe things in (low level) console mode:
- never call up to the tty layer to restart output for keyboard input in
  console mode. This was already disallowed in kdb mode. Other cases
  are rarely reached.
- disable the reboot, halt and powerdown keys in console mode. The suspend,
  standby and panic keys are still allowed, and aren't even conditonal
  on excessive configuration options. Some of these actions are still
  available in ddb mode as ddb commands which are equally unsafe. Some
  are useful at input prompts and should be restored when the locking is
- disallow bells in kdb mode (should be in console mode, but the flag for
  that is not available). Visual bell gives very alarming behaviour by
  trying to use callouts which don't work in kdb mode. Audio bell uses
  timeouts and hardware resources with mutexes that can deadlock in
  reasonable use of ddb.

Screen switches in kdb mode are not very safe, but they are important
functionality and there is a lot of code to make them sort of work.


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 4 ms, 2 files printed. Current time is 2018-03-22 06:00:44. All times are in UTC/GMT.