diff options
author | Julien Cristau <jcristau@debian.org> | 2015-10-19 15:42:30 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-10-19 12:18:17 -0400 |
commit | 1d4aa672424d8b1629fda11400b88607b5066965 (patch) | |
tree | 8561e684b9b7bf34696a9291be83c130ab564cc1 /hw/xquartz/darwinEvents.c | |
parent | 08c4912406b965bbac0a3a52413c374a073c051b (diff) |
xorg-wrapper: when starting the server as root, reset its environment
When the server is privileged, we shouldn't be passing the user's
environment directly.
Clearing the environment is recommended by the libdbus maintainers, see
https://bugs.freedesktop.org/show_bug.cgi?id=52202
v2: rename envp to empty_envp (Jeremy)
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83849
Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'hw/xquartz/darwinEvents.c')
0 files changed, 0 insertions, 0 deletions