[go: up one dir, main page]

File: reboot.c

package info (click to toggle)
trinity 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,252 kB
  • ctags: 2,738
  • sloc: ansic: 24,011; sh: 322; makefile: 141
file content (15 lines) | stat: -rw-r--r-- 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd, void __user *, arg)
 */
#include "sanitise.h"

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