summaryrefslogtreecommitdiff
path: root/src/boot/efi/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-06 20:29:07 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-14 18:29:30 +0100
commit9bfaffd5a9c138b0bbdfb452b3f4435746f2d18b (patch)
tree16167597e9a372638ecbd6f8351036d4df3ed033 /src/boot/efi/util.c
parente932f5407ef5ad05d25d7dfefa4cda0fe81cc346 (diff)
util-lib: rework rename_process() to be able to make use of PR_SET_MM_ARG_START
PR_SET_MM_ARG_START allows us to relatively cleanly implement process renaming. However, it's only available with privileges. Hence, let's try to make use of it, and if we can't fall back to the traditional way of overriding argv[0]. This removes size restrictions on the process name shown in argv[] at least for privileged processes.
Diffstat (limited to 'src/boot/efi/util.c')
0 files changed, 0 insertions, 0 deletions