Skip to main content

check_tty_hooks

Function check_tty_hooks 

Source
pub fn check_tty_hooks<P: PhysicalMemoryProvider>(
    reader: &ObjectReader<P>,
) -> Result<Vec<TtyCheckInfo>>
Expand description

Check TTY driver operations for hooks.

Walks the tty_drivers linked list, reads each driver’s tty_operations struct, and checks function pointers against the kernel text region.