-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new(userspace/libsinsp): container users and groups from process root
Drop `load_from_container` in favor of `add_container_user` and `add_container_group`. Those are called by `sinsp_threadinfo` `set_user` / `set_group` and load the information from /proc/<pid>/root/etc. For that to work, the process running sinsp has to be priviledged and in the host pid namespace. For more information see `man 5 proc`. Signed-off-by: Angelo Puglisi <[email protected]>
- Loading branch information
1 parent
550144c
commit 8ced729
Showing
3 changed files
with
202 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.