Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-18 Thread HATAYAMA Daisuke
From: Lennart Poettering Subject: Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check Date: Thu, 18 Jun 2015 13:30:43 +0200 > On Thu, 18.06.15 18:29, HATAYAMA Daisuke (d.hatay...@jp.fujitsu.com) wrote: > >> >> int r; >> >>

Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-18 Thread Lennart Poettering
On Thu, 18.06.15 18:29, HATAYAMA Daisuke (d.hatay...@jp.fujitsu.com) wrote: > >> int r; > >> > >> STRV_FOREACH(i, units) { > >> -u = manager_get_unit(m, *i); > >> +r = manager_load_unit(m, *i, NULL, error, &u); > >> +if (r < 0) >

Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-18 Thread HATAYAMA Daisuke
From: Lennart Poettering Subject: Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check Date: Wed, 17 Jun 2015 18:25:32 +0200 > On Wed, 10.06.15 14:40, HATAYAMA Daisuke (d.hatay...@jp.fujitsu.com) wrote: > >> From 398deee74edb06b54b8a74c25697cd6d977d8f2d M

Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-17 Thread Lennart Poettering
On Wed, 10.06.15 14:40, HATAYAMA Daisuke (d.hatay...@jp.fujitsu.com) wrote: > From 398deee74edb06b54b8a74c25697cd6d977d8f2d Mon Sep 17 00:00:00 2001 > From: HATAYAMA Daisuke > Date: Wed, 10 Jun 2015 14:10:31 +0900 > Subject: [PATCH] selinux: fix missing SELinux unit access check > > Currently, S

Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-10 Thread Harald Hoyer
Am 10.06.2015 um 08:05 schrieb systemd github import bot: > Patchset imported to github. > To create a pull request, one of the main developers has to initiate one via: >

Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-09 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: -- Generated by https://github.com/haraldh/mail2git ___

[systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-09 Thread HATAYAMA Daisuke
I found an oversight in the previous v1 patch, found at http://lists.freedesktop.org/archives/systemd-devel/2015-June/032796.html, that u->load_state == UNIT_ERROR in the error path of unit_load(), that is: int unit_load(Unit *u) { int r; .. fail: u->load_state = u->load_state