security/landlock/id.h

Source file repositories/reference/linux-study-clean/security/landlock/id.h

File Facts

System
Linux kernel
Corpus path
security/landlock/id.h
Extension
.h
Size
473 bytes
Lines
26
Domain
Core OS
Bucket
Security And Isolation
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _SECURITY_LANDLOCK_ID_H
#define _SECURITY_LANDLOCK_ID_H

#ifdef CONFIG_AUDIT

void __init landlock_init_id(void);

u64 landlock_get_id_range(size_t number_of_ids);

#else /* CONFIG_AUDIT */

static inline void __init landlock_init_id(void)
{
}

#endif /* CONFIG_AUDIT */

#endif /* _SECURITY_LANDLOCK_ID_H */

Annotation

Implementation Notes