Commit a39c0f7
lsm: infrastructure management of the dev_tun blob
Move management of the dev_tun security blob out of the individual
security modules and into the LSM infrastructure. The security modules
tell the infrastructure how much space they require at initialization.
There are no longer any modules that require the dev_tun_free hook.
The hook definition has been removed.
Signed-off-by: Casey Schaufler <[email protected]>
Reviewed-by: John Johansen <[email protected]>
[PM: subject tweak, selinux style fixes]
Signed-off-by: Paul Moore <[email protected]>1 parent 0900128 commit a39c0f7
File tree
5 files changed
+28
-20
lines changed- include/linux
- security
- selinux
- include
5 files changed
+28
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | | - | |
| 356 | + | |
358 | 357 | | |
359 | 358 | | |
360 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
410 | 411 | | |
411 | 412 | | |
412 | 413 | | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
| |||
4875 | 4877 | | |
4876 | 4878 | | |
4877 | 4879 | | |
4878 | | - | |
| 4880 | + | |
| 4881 | + | |
| 4882 | + | |
| 4883 | + | |
| 4884 | + | |
| 4885 | + | |
| 4886 | + | |
| 4887 | + | |
| 4888 | + | |
| 4889 | + | |
| 4890 | + | |
| 4891 | + | |
4879 | 4892 | | |
4880 | 4893 | | |
4881 | 4894 | | |
| |||
4887 | 4900 | | |
4888 | 4901 | | |
4889 | 4902 | | |
4890 | | - | |
| 4903 | + | |
4891 | 4904 | | |
4892 | 4905 | | |
4893 | 4906 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5578 | 5578 | | |
5579 | 5579 | | |
5580 | 5580 | | |
5581 | | - | |
| 5581 | + | |
5582 | 5582 | | |
5583 | | - | |
| 5583 | + | |
5584 | 5584 | | |
5585 | | - | |
5586 | | - | |
5587 | | - | |
5588 | 5585 | | |
5589 | | - | |
5590 | | - | |
5591 | 5586 | | |
5592 | 5587 | | |
5593 | 5588 | | |
5594 | | - | |
5595 | | - | |
5596 | | - | |
5597 | | - | |
5598 | | - | |
5599 | 5589 | | |
5600 | 5590 | | |
5601 | 5591 | | |
| |||
5613 | 5603 | | |
5614 | 5604 | | |
5615 | 5605 | | |
5616 | | - | |
| 5606 | + | |
5617 | 5607 | | |
5618 | 5608 | | |
5619 | 5609 | | |
5620 | 5610 | | |
5621 | 5611 | | |
5622 | 5612 | | |
5623 | 5613 | | |
5624 | | - | |
| 5614 | + | |
5625 | 5615 | | |
5626 | 5616 | | |
5627 | 5617 | | |
| |||
5639 | 5629 | | |
5640 | 5630 | | |
5641 | 5631 | | |
5642 | | - | |
| 5632 | + | |
5643 | 5633 | | |
5644 | 5634 | | |
5645 | 5635 | | |
| |||
6978 | 6968 | | |
6979 | 6969 | | |
6980 | 6970 | | |
| 6971 | + | |
6981 | 6972 | | |
6982 | 6973 | | |
6983 | 6974 | | |
| |||
7289 | 7280 | | |
7290 | 7281 | | |
7291 | 7282 | | |
7292 | | - | |
7293 | 7283 | | |
7294 | 7284 | | |
7295 | 7285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
210 | 215 | | |
0 commit comments