[systemd-devel] [PATCH] selinux-access: fix broken ternary operator
Lennart Poettering
lennart at poettering.net
Fri Nov 21 12:24:13 PST 2014
On Fri, 21.11.14 17:02, Lukas Nykryn (lnykryn at redhat.com) wrote:
> it seems to be a typo introduced by ebcf1f97de4f6b1580ae55eb56b1a3939fe6b602
> - _r = selinux_access_check(_b, _m, _u->source_path ?:_u->fragment_path, (permission), &_error); \
> + ({ Unit *_unit = (unit); selinux_generic_access_check(bus,message, _unit->fragment_path ?: _unit->fragment_path, permission,error); })
Looks good! Applied!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list