projects/linux·blob master · refs

18 lines · 433 B

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#include <linux/types.h>
13
14int landlock_restrict_sibling_threads(const struct cred *old_cred,
15 const struct cred *new_cred,
16 u32 restrict_flags);
17
18#endif /* _SECURITY_LANDLOCK_TSYNC_H */