diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-03 11:32:42 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-03 11:49:43 -0500 |
commit | 6a93917df9c8c852387d71004ccb43b33da962cd (patch) | |
tree | d9292df05042b9c4c5e1d1ac83b1a7c46a3202d7 /src/shared/seccomp-util.c | |
parent | 8b89628a10af3863bfc97872912e9da4076a5929 (diff) |
core/execute: pass the username to utmp/wtmp database
Before previous commit, username would be NULL for root, and set only
for other users. So the argument passed to utmp_put_init_process()
would be "root" for other users and NULL for root. Seems strange.
Instead, always pass the username if available.
Diffstat (limited to 'src/shared/seccomp-util.c')
0 files changed, 0 insertions, 0 deletions