File Index
Files and directories
Sign in
FILE

id.h

File preview with syntax highlighting.

linux-6.19.14/security/landlock/id.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Landlock - Unique identification number generator
 4 *
 5 * Copyright © 2024-2025 Microsoft Corporation
 6 */
 7
 8#ifndef _SECURITY_LANDLOCK_ID_H
 9#define _SECURITY_LANDLOCK_ID_H
10
11#ifdef CONFIG_AUDIT
12
13void __init landlock_init_id(void);
14
15u64 landlock_get_id_range(size_t number_of_ids);
16
17#else /* CONFIG_AUDIT */
18
19static inline void __init landlock_init_id(void)
20{
21}
22
23#endif /* CONFIG_AUDIT */
24
25#endif /* _SECURITY_LANDLOCK_ID_H */
~/ Read-only file preview.