Debian Codegraph @

test cases/common/293 systemd regression/override/sys/keyctl.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include <linux/keyctl.h> /* IWYU pragma: export */
5 #include <stddef.h>
6
7 #if !HAVE_KEYCTL
8 long missing_keyctl(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);
9 # define keyctl missing_keyctl
10 #endif
11
12 #if !HAVE_ADD_KEY
13 key_serial_t missing_add_key(const char *type, const char *description, const void *payload, size_t plen, key_serial_t ringid);
14 # define add_key missing_add_key
15 #endif
16
17 #if !HAVE_REQUEST_KEY
18 key_serial_t missing_request_key(const char *type, const char *description, const char *callout_info, key_serial_t destringid);
19 # define request_key missing_request_key
20 #endif