R1 LovePara: app-server stack, on-target C dev, new NIC support
This commit is contained in:
parent
8de5ae7e9e
commit
2a0f3a406c
1376 changed files with 262659 additions and 28 deletions
22
board/mentalnet/overlay/usr/include/linux/loadpin.h
Normal file
22
board/mentalnet/overlay/usr/include/linux/loadpin.h
Normal file
|
|
@ -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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue