create a set_rand_bitmask function and use instead of open-coding.
[trinity.git] / syscalls / syslog.c
blobe701847d9c5cf60c83d84aea424144cd6d0c8b10
1 /*
2 * SYSCALL_DEFINE3(syslog, int, type, char __user *, buf, int, len)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_syslog = {
7 .name = "syslog",
8 .num_args = 3,
9 .arg1name = "type",
10 .arg2name = "buf",
11 .arg2type = ARG_ADDRESS,
12 .arg3name = "len",
13 .arg3type = ARG_LEN,