Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
systemd-mini.1059
0001-selinux-access-fix-broken-ternary-operator...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-selinux-access-fix-broken-ternary-operator.patch of Package systemd-mini.1059
Based on 1e648011b20c8126412d3cf2699d575d9ba9e0fe Mon Sep 17 00:00:00 2001 From: Lukas Nykryn <lnykryn@redhat.com> Date: Fri, 21 Nov 2014 17:02:15 +0100 Subject: [PATCH] selinux-access: fix broken ternary operator 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); }) --- src/core/selinux-access.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- src/core/selinux-access.h +++ src/core/selinux-access.h 2014-12-15 11:49:54.521518349 +0000 @@ -34,7 +34,7 @@ int selinux_generic_access_check(sd_bus #define selinux_access_check(bus, message, permission, error) \ selinux_generic_access_check(bus, message, NULL, permission, error) #define selinux_unit_access_check(unit, bus, message, permission, error) \ - ({ Unit *_unit = (unit); selinux_generic_access_check(bus, message, _unit->fragment_path ?: _unit->fragment_path, permission, error); }) + ({ Unit *_unit = (unit); selinux_generic_access_check(bus, message, _unit->source_path ?: _unit->fragment_path, permission, error); }) #else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor