Skip to content

Commit

Permalink
doc/syscall-interception: Add sysinfo
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
  • Loading branch information
tomponline committed Apr 25, 2022
1 parent 5c79f18 commit 6e0a65f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/syscall-interception.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,10 @@ may result in breakage for other attributes that would have been
previously allowed by the kernel.

This can be enabled by setting `security.syscalls.intercept.setxattr` to `true`.

## sysinfo

The `sysinfo` system call is used by some distributions instead of `/proc/` entries to report on resource usage.

In order to provide resource usage information specific to the container, rather than the whole system, this
syscall interception mode uses cgroup-based resource usage information to fill in the system call response.

0 comments on commit 6e0a65f

Please sign in to comment.