create a set_rand_bitmask function and use instead of open-coding.
[trinity.git] / syscalls / capget.c
blobe8b0a269fa3666e64a0e98e45f5d52c7f7594151
1 /*
2 * SYSCALL_DEFINE2(capget, cap_user_header_t, header, cap_user_data_t, dataptr)
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_capget = {
10 .name = "capget",
11 .num_args = 2,
12 .arg1name = "header",
13 .arg2name = "dataptr",
14 .rettype = RET_ZERO_SUCCESS,