diff options
author | Tyler Hicks <tyhicks@linux.microsoft.com> | 2020-07-09 08:19:07 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2020-07-20 19:28:13 +0200 |
commit | 39e5993d0d452b9ef612f2fcf7ca77ff319438f4 (patch) | |
tree | 3f2b9a3d2436a1118ef52b387ca497f4d4bdc2bf /fs/debugfs | |
parent | ima: Fail rule parsing when appraise_flag=blacklist is unsupportable (diff) | |
download | linux-39e5993d0d452b9ef612f2fcf7ca77ff319438f4.tar.xz linux-39e5993d0d452b9ef612f2fcf7ca77ff319438f4.zip |
ima: Shallow copy the args_p member of ima_rule_entry.lsm elements
The args_p member is a simple string that is allocated by
ima_rule_init(). Shallow copy it like other non-LSM references in
ima_rule_entry structs.
There are no longer any necessary error path cleanups to do in
ima_lsm_copy_rule().
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions