diff options
author | Beau Belgrave <[email protected]> | 2022-09-30 17:10:16 -0700 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-10-03 13:28:46 -0400 |
commit | e5d271812e7a4d527e65b0228b4a16795c0e0c6c (patch) | |
tree | 2a7621adfb0a0303c3e63c1ab35150fa1bc309cd /lib/mpi/mpi-sub-ui.c | |
parent | 5d8d2bb946dd24d00c99384471ad8148571a9fbd (diff) |
tracing/user_events: Move pages/locks into groups to prepare for namespaces
In order to enable namespaces or any sort of isolation within
user_events the register lock and pages need to be broken up into
groups. Each event and file now has a group pointer which stores the
actual pages to map, lookup data and synchronization objects.
This only enables a single group that maps to init_user_ns, as IMA
namespace has done. This enables user_events to start the work of
supporting namespaces by walking the namespaces up to the init_user_ns.
Future patches will address other user namespaces and will align to the
approaches the IMA namespace uses.
Link: https://lore.kernel.org/linux-kernel/[email protected]/#t
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Beau Belgrave <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions