Table of Contentsctrl_alt_del - routes the keyboard interrupt ctrl-alt-del key sequence linux/kernel/sys.c void ctrl_alt_del(void);
This simple routine tests the variable C_A_D for a true/false condition. If it is true then a hard reset is done by the system. Otherwise, a signal SIGINT is sent to the process with the process ID 1, usually a program called init. This routine is in interrupt mode. It can not sync() your system. Data loss may occur. It is recommended that you configure your system to send a signal to init, where you can control the shutdown.
NOTESThe default of this function is to do hard resets immediately. Linus Torvalds reboot(2), reset_hard_now(9), sync(2)
Table of Contents
www.fiveanddime.net