Commit 61a1dcd
lsm: infrastructure management of the perf_event security blob
Move management of the perf_event->security blob out of the individual
security modules and into the security infrastructure. Instead of
allocating the blobs from within the modules the modules tell the
infrastructure how much space is required, and the space is allocated
there. There are no longer any modules that require the perf_event_free()
hook. The hook definition has been removed.
Signed-off-by: Casey Schaufler <[email protected]>
Reviewed-by: John Johansen <[email protected]>
[PM: subject tweak]
Signed-off-by: Paul Moore <[email protected]>1 parent 66de33a commit 61a1dcd
File tree
5 files changed
+29
-17
lines changed- include/linux
- security
- selinux
- include
5 files changed
+29
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | 442 | | |
444 | 443 | | |
445 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| 234 | + | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| |||
412 | 414 | | |
413 | 415 | | |
414 | 416 | | |
| 417 | + | |
415 | 418 | | |
416 | 419 | | |
417 | 420 | | |
| |||
5685 | 5688 | | |
5686 | 5689 | | |
5687 | 5690 | | |
5688 | | - | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
| 5697 | + | |
| 5698 | + | |
| 5699 | + | |
| 5700 | + | |
| 5701 | + | |
| 5702 | + | |
| 5703 | + | |
5689 | 5704 | | |
5690 | 5705 | | |
5691 | 5706 | | |
| |||
5696 | 5711 | | |
5697 | 5712 | | |
5698 | 5713 | | |
5699 | | - | |
| 5714 | + | |
| 5715 | + | |
5700 | 5716 | | |
5701 | 5717 | | |
5702 | 5718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6955 | 6955 | | |
6956 | 6956 | | |
6957 | 6957 | | |
| 6958 | + | |
| 6959 | + | |
| 6960 | + | |
6958 | 6961 | | |
6959 | 6962 | | |
6960 | 6963 | | |
| |||
6986 | 6989 | | |
6987 | 6990 | | |
6988 | 6991 | | |
6989 | | - | |
6990 | | - | |
6991 | | - | |
6992 | | - | |
| 6992 | + | |
6993 | 6993 | | |
6994 | | - | |
6995 | 6994 | | |
6996 | 6995 | | |
6997 | 6996 | | |
6998 | 6997 | | |
6999 | | - | |
7000 | | - | |
7001 | | - | |
7002 | | - | |
7003 | | - | |
7004 | | - | |
7005 | | - | |
7006 | | - | |
7007 | 6998 | | |
7008 | 6999 | | |
7009 | 7000 | | |
| |||
7316 | 7307 | | |
7317 | 7308 | | |
7318 | 7309 | | |
7319 | | - | |
7320 | 7310 | | |
7321 | 7311 | | |
7322 | 7312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
220 | 226 | | |
0 commit comments