summaryrefslogtreecommitdiff
path: root/security/landlock/tsync.h
blob: ef86bb61c2f6eea18fa0acae1a7767899a4668b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Landlock - Cross-thread ruleset enforcement
 *
 * Copyright © 2025 Google LLC
 */

#ifndef _SECURITY_LANDLOCK_TSYNC_H
#define _SECURITY_LANDLOCK_TSYNC_H

#include <linux/cred.h>

int landlock_restrict_sibling_threads(const struct cred *old_cred,
				      const struct cred *new_cred);

#endif /* _SECURITY_LANDLOCK_TSYNC_H */