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