blob: 656528673983d7aee022b049dbfa2fa105113ab4 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _LINUX_SECUREBITS_H
3#define _LINUX_SECUREBITS_H 1
4
David Howells607ca462012-10-13 10:46:48 +01005#include <uapi/linux/securebits.h>
6
Serge E. Hallyn5975c722009-10-29 11:40:17 -05007#define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#endif /* !_LINUX_SECUREBITS_H */