Add uid/gid contexts
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 12 Feb 2019 14:47:00 +0000 (09:47 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 1 May 2019 21:29:07 +0000 (17:29 -0400)
commit390adb99a17639e6c5431ca8403f10155482611c
treed13438580b3a0df7af330ce5d54b9bc47d054f36
parentc3315ccd6f3fc3847d72829363305309e1b9295b
Add uid/gid contexts

Add a context for each available kernel user and group IDs

  * uid : real user ID
  * euid : effective user ID
  * suid : saved set-user ID

These are the IDs as seen in the initial user namespace, see
credentials(7) for details on each type.

Also add a "virtual" version of each type with the "v" prefix that
are the IDs as seen in the current user namespace.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
17 files changed:
Makefile
lttng-abi.c
lttng-abi.h
lttng-context-egid.c [new file with mode: 0644]
lttng-context-euid.c [new file with mode: 0644]
lttng-context-gid.c [new file with mode: 0644]
lttng-context-sgid.c [new file with mode: 0644]
lttng-context-suid.c [new file with mode: 0644]
lttng-context-uid.c [new file with mode: 0644]
lttng-context-vegid.c [new file with mode: 0644]
lttng-context-veuid.c [new file with mode: 0644]
lttng-context-vgid.c [new file with mode: 0644]
lttng-context-vsgid.c [new file with mode: 0644]
lttng-context-vsuid.c [new file with mode: 0644]
lttng-context-vuid.c [new file with mode: 0644]
lttng-events.h
wrapper/user_namespace.h [new file with mode: 0644]
This page took 0.025928 seconds and 5 git commands to generate.