File: reboot.c

package info (click to toggle)
trinity 1.9%2Bgit20230109.87f1530-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,116 kB
  • sloc: ansic: 33,463; sh: 536; makefile: 163
file content (14 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd, void __user *, arg)
 */
#include "sanitise.h"

struct syscallentry syscall_reboot = {
	.name = "reboot",
	.num_args = 4,
	.arg1name = "magic1",
	.arg2name = "magic2",
	.arg3name = "cmd",
	.arg4name = "arg",
	.arg4type = ARG_ADDRESS,
};