tsync.h 378 B

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