File: init_module.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 (17 lines) | stat: -rw-r--r-- 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * SYSCALL_DEFINE3(init_module, void __user *, umod,
	 unsigned long, len, const char __user *, uargs)
 */
#include "sanitise.h"

struct syscall syscall_init_module = {
	.name = "init_module",
	.num_args = 3,
	.flags = CAPABILITY_CHECK,
	.arg1name = "umod",
	.arg1type = ARG_ADDRESS,
	.arg2name = "len",
	.arg2type = ARG_LEN,
	.arg3name = "uargs",
	.arg3type = ARG_ADDRESS,
};