security/landlock/tsync.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* |
| 3 | * Landlock - Cross-thread ruleset enforcement |
| 4 | * |
| 5 | * Copyright © 2025 Google LLC |
| 6 | */ |
| 7 | |
| 8 | #ifndef _SECURITY_LANDLOCK_TSYNC_H |
| 9 | #define _SECURITY_LANDLOCK_TSYNC_H |
| 10 | |
| 11 | #include <linux/cred.h> |
| 12 | |
| 13 | int landlock_restrict_sibling_threads(const struct cred *old_cred, |
| 14 | const struct cred *new_cred); |
| 15 | |
| 16 | #endif /* _SECURITY_LANDLOCK_TSYNC_H */ |