Add uid/gid contexts
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 12 Feb 2019 14:47:00 +0000 (09:47 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 18 Oct 2019 15:16:39 +0000 (11:16 -0400)
commitdc923e75c174ee4e7a80e5f9af1dfd39fb8346ea
tree976fcdac948a566963134605d6150c865e791c7a
parenta6cf40a4491954d6f81052f8bbce757f73727f16
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>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@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.025962 seconds and 4 git commands to generate.