merge newfstat variants
[trinity.git] / syscalls / delete_module.c
blobbbd5706d218544e896d1beac14de5b1b83abbdc1
1 /*
2 * SYSCALL_DEFINE2(delete_module, const char __user *, name_user, unsigned int, flags
4 * On success, zero is returned.
5 * On error, -1 is returned and errno is set appropriately.
6 */
7 #include "sanitise.h"
9 struct syscallentry syscall_delete_module = {
10 .name = "delete_module",
11 .num_args = 2,
12 .flags = CAPABILITY_CHECK,
13 .arg1name = "name_user",
14 .arg1type = ARG_ADDRESS,
15 .arg2name = "flags",
16 .rettype = RET_ZERO_SUCCESS,