SVNews r330836

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

2018-03-13 09:46:09 - r330836 by eadler (Eitan Adler)

Complete list of files affected by revision r330836:

(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  
  History   Contents   Diff   MODIFY   /stable/11/sys/dev/syscons/syscons.h  

Commit message:

MFC r304165,r304166:

Like scr_lock, the grab count needs to be per-physical-device to work.

This bug corrupted the grab count on both vtys if the ungrabbed vty is
different from the console, and failed to restore the keyboard state
on the ungrabbed vty, but not restoring the latter usually left the
keyboard mode part of it uncorrupted at 1 (K_XLATE), while after this
fix the keyboard mode part is usually corrupted to 0 (K_RAW).

While here, rename the grab count from 'grabbed' to grab_level.


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

Page generated in 6 ms, 3 files printed. Current time is 2018-03-18 09:41:26. All times are in UTC/GMT.