Debian Codegraph @

src/libc/keyctl.c

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2
3 #include <sys/keyctl.h>
4
5 #include "libc-shim.h"
6
7 DEFINE_SYSCALL_SHIM(keyctl, long,
8 int, cmd,
9 unsigned long, arg2,
10 unsigned long, arg3,
11 unsigned long, arg4,
12 unsigned long, arg5)
13
14 DEFINE_SYSCALL_SHIM(add_key, key_serial_t,
15 const char *, type,
16 const char *, description,
17 const void *, payload,
18 size_t, plen,
19 key_serial_t, ringid)
20
21 DEFINE_SYSCALL_SHIM(request_key, key_serial_t,
22 const char *, type,
23 const char *, description,
24 const char *, callout_info,
25 key_serial_t, destringid)