Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: reboot.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _LINUX_REBOOT_H
[1] Fix | Delete
#define _LINUX_REBOOT_H
[2] Fix | Delete
[3] Fix | Delete
/*
[4] Fix | Delete
* Magic values required to use _reboot() system call.
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
#define LINUX_REBOOT_MAGIC1 0xfee1dead
[8] Fix | Delete
#define LINUX_REBOOT_MAGIC2 672274793
[9] Fix | Delete
#define LINUX_REBOOT_MAGIC2A 85072278
[10] Fix | Delete
#define LINUX_REBOOT_MAGIC2B 369367448
[11] Fix | Delete
#define LINUX_REBOOT_MAGIC2C 537993216
[12] Fix | Delete
[13] Fix | Delete
[14] Fix | Delete
/*
[15] Fix | Delete
* Commands accepted by the _reboot() system call.
[16] Fix | Delete
*
[17] Fix | Delete
* RESTART Restart system using default command and mode.
[18] Fix | Delete
* HALT Stop OS and give system control to ROM monitor, if any.
[19] Fix | Delete
* CAD_ON Ctrl-Alt-Del sequence causes RESTART command.
[20] Fix | Delete
* CAD_OFF Ctrl-Alt-Del sequence sends SIGINT to init task.
[21] Fix | Delete
* POWER_OFF Stop OS and remove all power from system, if possible.
[22] Fix | Delete
* RESTART2 Restart system using given command string.
[23] Fix | Delete
* SW_SUSPEND Suspend system using software suspend if compiled in.
[24] Fix | Delete
* KEXEC Restart system using a previously loaded Linux kernel
[25] Fix | Delete
*/
[26] Fix | Delete
[27] Fix | Delete
#define LINUX_REBOOT_CMD_RESTART 0x01234567
[28] Fix | Delete
#define LINUX_REBOOT_CMD_HALT 0xCDEF0123
[29] Fix | Delete
#define LINUX_REBOOT_CMD_CAD_ON 0x89ABCDEF
[30] Fix | Delete
#define LINUX_REBOOT_CMD_CAD_OFF 0x00000000
[31] Fix | Delete
#define LINUX_REBOOT_CMD_POWER_OFF 0x4321FEDC
[32] Fix | Delete
#define LINUX_REBOOT_CMD_RESTART2 0xA1B2C3D4
[33] Fix | Delete
#define LINUX_REBOOT_CMD_SW_SUSPEND 0xD000FCE2
[34] Fix | Delete
#define LINUX_REBOOT_CMD_KEXEC 0x45584543
[35] Fix | Delete
[36] Fix | Delete
[37] Fix | Delete
[38] Fix | Delete
#endif /* _LINUX_REBOOT_H */
[39] Fix | Delete
[40] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function