diff options
| author | Roberto Sassu <[email protected]> | 2015-04-11 15:12:39 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2015-05-21 17:59:29 +0000 |
| commit | 8d94eb9b5cff350ba170848c862ca0006d33d496 (patch) | |
| tree | 88774fba38e58df1530470b3a5072e5b729f2ec6 /security/selinux/hooks.c | |
| parent | ima: wrap event related data to the new ima_event_data structure (diff) | |
| download | kernel-8d94eb9b5cff350ba170848c862ca0006d33d496.tar.gz kernel-8d94eb9b5cff350ba170848c862ca0006d33d496.zip | |
ima: pass iint to ima_add_violation()
This patch adds the iint associated to the current inode as a new
parameter of ima_add_violation(). The passed iint is always not NULL
if a violation is detected. This modification will be used to determine
the inode for which there is a violation.
Since the 'd' and 'd-ng' template field init() functions were detecting
a violation from the value of the iint pointer, they now check the new
field 'violation', added to the 'ima_event_data' structure.
Changelog:
- v1:
- modified an old comment (Roberto Sassu)
Signed-off-by: Roberto Sassu <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
