diff options
author | 2023-03-04 15:28:40 +0100 | |
---|---|---|
committer | 2023-03-20 08:45:22 -0700 | |
commit | 919d0532d48ca1bea62bc04f269b9e72706467c6 (patch) | |
tree | 2ecc98176b90d1d143a3be6ffa388bcc27f8efed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/nolibc: add tests for the integer limits in stdint.h (diff) | |
download | wireguard-linux-919d0532d48ca1bea62bc04f269b9e72706467c6.tar.xz wireguard-linux-919d0532d48ca1bea62bc04f269b9e72706467c6.zip |
tools/nolibc: add getuid() and geteuid()
This can be useful to avoid attempting some privileged operations,
starting from the nolibc-test tool that gets two failures when not
privileged.
We call getuid32() and geteuid32() when they are defined, and fall
back to getuid() and geteuid() otherwise.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions