Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
2554a48
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
apparmor
bpf
integrity
keys
loadpin
lockdown
safesetid
selinux
include
audit.h
avc.h
avc_ss.h
classmap.h
conditional.h
ibpkey.h
ima.h
initial_sid_to_string.h
netif.h
netlabel.h
netnode.h
netport.h
objsec.h
policycap.h
policycap_names.h
security.h
xfrm.h
ss
.gitignore
Kconfig
Makefile
avc.c
hooks.c
ibpkey.c
ima.c
netif.c
netlabel.c
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c
status.c
xfrm.c
smack
tomoyo
yama
Kconfig
Kconfig.hardening
Makefile
commoncap.c
device_cgroup.c
inode.c
lsm_audit.c
min_addr.c
security.c
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Breadcrumbs
linux
/
security
/
selinux
/
include
/
ima.h
Blame
Blame
Latest commit
History
History
30 lines (26 loc) · 724 Bytes
Breadcrumbs
linux
/
security
/
selinux
/
include
/
ima.h
Top
File metadata and controls
Code
Blame
30 lines (26 loc) · 724 Bytes
Raw
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2021 Microsoft Corporation * * Author: Lakshmi Ramasubramanian (nramas@linux.microsoft.com) * * Measure critical data structures maintainted by SELinux * using IMA subsystem. */ #ifndef _SELINUX_IMA_H_ #define _SELINUX_IMA_H_ #include "security.h" #ifdef CONFIG_IMA extern void selinux_ima_measure_state(struct selinux_state *selinux_state); extern void selinux_ima_measure_state_locked( struct selinux_state *selinux_state); #else static inline void selinux_ima_measure_state(struct selinux_state *selinux_state) { } static inline void selinux_ima_measure_state_locked( struct selinux_state *selinux_state) { } #endif #endif /* _SELINUX_IMA_H_ */
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
You can’t perform that action at this time.