Commit 26cc4f9
committed
minherit: limit INHERIT_SHARE
CheriABI: mostly disallow post-fork sharing via minherit(). Developers
should use mmap and MAP_SHARED instead. Do allow no-op reqests and
sharing of mappings that either have no capabilities or where objects
have the OBJ_SHARECAP flag.1 parent 23215f2 commit 26cc4f9
2 files changed
+30
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
392 | 399 | | |
393 | 400 | | |
394 | 401 | | |
395 | | - | |
396 | | - | |
397 | 402 | | |
398 | 403 | | |
399 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3778 | 3778 | | |
3779 | 3779 | | |
3780 | 3780 | | |
3781 | | - | |
| 3781 | + | |
| 3782 | + | |
3782 | 3783 | | |
3783 | 3784 | | |
3784 | | - | |
| 3785 | + | |
| 3786 | + | |
3785 | 3787 | | |
3786 | 3788 | | |
3787 | 3789 | | |
3788 | 3790 | | |
| 3791 | + | |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
3789 | 3810 | | |
3790 | 3811 | | |
3791 | 3812 | | |
| |||
0 commit comments