core/socket: use chase_symlinks to find binary inside chroot when looking for SELinux...
authorFilipe Brandenburger <filbranden@google.com>
Wed, 28 Mar 2018 07:00:42 +0000 (00:00 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Mar 2018 07:00:42 +0000 (09:00 +0200)
commit2ef044ea1ec359d7ffe9c8b3c7c75429186bd8a6
treee35c613e3ae4a7accfe322473c97065ac3db2430
parent1700f4f42c569adb7c15bb403f840263c9a5a88d
core/socket: use chase_symlinks to find binary inside chroot when looking for SELinux label (#8591)

This is a follow up for this comment from @poettering:
https://github.com/systemd/systemd/pull/8405#discussion_r175719214

This updates PR #8405.

Tested manually using the same commands in
https://lists.freedesktop.org/archives/systemd-devel/2018-March/040478.html.
src/core/socket.c