| 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 |
long keyctl_shim(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5); |
| 8 |
#define keyctl keyctl_shim |
| 9 |
|
| 10 |
key_serial_t add_key_shim(const char *type, const char *description, const void *payload, size_t plen, key_serial_t ringid); |
| 11 |
#define add_key add_key_shim |
| 12 |
|
| 13 |
key_serial_t request_key_shim(const char *type, const char *description, const char *callout_info, key_serial_t destringid); |
| 14 |
#define request_key request_key_shim |