aboutgitcodebugslistschat
path: root/test/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-12 22:24:01 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 05:31:51 +0200
commit80d7012b09cddbf6b8bb0d002af5f4645ad5c450 (patch)
treeb384ab451f8bbc8856636b66a276453c3d6c051f /test/Makefile
parent10c63477476acdd5cbe6f3ac13dc637e80d0104b (diff)
downloadpasst-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.tar
passt-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.tar.gz
passt-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.tar.bz2
passt-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.tar.lz
passt-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.tar.xz
passt-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.tar.zst
passt-80d7012b09cddbf6b8bb0d002af5f4645ad5c450.zip
Consolidate determination of UID/GID to run as
Currently the logic to work out what UID and GID we will run as is spread across conf(). If --runas is specified it's handled in conf_runas(), otherwise it's handled by check_root(), which depends on initialization of the uid and gid variables by either conf() itself or conf_runas(). Make this clearer by putting all the UID and GID logic into a single conf_ugid() function. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/Makefile')
0 files changed, 0 insertions, 0 deletions