]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: Drop allow /run/media for root patch
authorAlex Kiernan <alex.kiernan@gmail.com>
Sun, 23 Sep 2018 17:21:00 +0000 (17:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Sep 2018 22:15:42 +0000 (23:15 +0100)
commit547e81b678a616ebbdf2e5cc86e918966fafb894
tree8a252de5936b708601af9c7dcd65589031dc952b
parent171900b4bcb06416685ce90b63114a10fefe0b94
glib-2.0: Drop allow /run/media for root patch

Upstream implemented an equivalent fix in:

c672fcc0a8d6 ("gunixmounts: Allow root to display mounts under /run/media/$username")

As a result, this change is completely broken when running as root, as
user_name is unitialised when testing strcmp(user_name, "root") so just
segfaults.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/allow-run-media-sdX-drive-mount-if-username-root.patch [deleted file]
meta/recipes-core/glib-2.0/glib-2.0_2.58.0.bb