Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _LINUX_SECUREBITS_H |
| 3 | #define _LINUX_SECUREBITS_H 1 |
| 4 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 5 | #include <uapi/linux/securebits.h> |
| 6 | |
Serge E. Hallyn | 5975c72 | 2009-10-29 11:40:17 -0500 | [diff] [blame] | 7 | #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits)) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #endif /* !_LINUX_SECUREBITS_H */ |