+15
−1
Loading
Add a helper to easily check whether a given namespace is the caller's current namespace. This is currently open-coded in a lot of places. Simply switch on the type and compare the results. Reviewed-by:Aleksa Sarai <cyphar@cyphar.com> Signed-off-by:
Christian Brauner <brauner@kernel.org>