diff options
| author | nkozlovskiy <[email protected]> | 2023-10-11 19:11:46 +0300 |
|---|---|---|
| committer | nkozlovskiy <[email protected]> | 2023-10-11 19:33:28 +0300 |
| commit | 61b3971447e473726d6cdb23fc298e457b4d973c (patch) | |
| tree | e2a2a864bb7717f7ae6138f6a3194a254dd2c7bb /contrib/libs/linux-headers/linux/loadpin.h | |
| parent | a674dc57d88d43c2e8e90a6084d5d2c988e0402c (diff) | |
add sanitizers dependencies
Diffstat (limited to 'contrib/libs/linux-headers/linux/loadpin.h')
| -rw-r--r-- | contrib/libs/linux-headers/linux/loadpin.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/libs/linux-headers/linux/loadpin.h b/contrib/libs/linux-headers/linux/loadpin.h new file mode 100644 index 00000000000..e2701c5897f --- /dev/null +++ b/contrib/libs/linux-headers/linux/loadpin.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (c) 2022, Google LLC + */ + +#ifndef _LINUX_LOOP_LOADPIN_H +#define _LINUX_LOOP_LOADPIN_H + +#define LOADPIN_IOC_MAGIC 'L' + +/** + * LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS - Set up the root digests of verity devices + * that loadpin should trust. + * + * Takes a file descriptor from which to read the root digests of trusted verity devices. The file + * is expected to contain a list of digests in ASCII format, with one line per digest. The ioctl + * must be issued on the securityfs attribute 'loadpin/dm-verity' (which can be typically found + * under /sys/kernel/security/loadpin/dm-verity). + */ +#define LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS _IOW(LOADPIN_IOC_MAGIC, 0x00, unsigned int) + +#endif /* _LINUX_LOOP_LOADPIN_H */ |
