[systemd-devel] [PATCH] Set loaded_policy in smack_setup()

Łukasz Stelmach l.stelmach at samsung.com
Tue Feb 18 05:39:44 PST 2014


It was <2014-02-14 pią 02:24>, when Lennart Poettering wrote:
> On Thu, 19.12.13 16:58, Łukasz Stelmach (l.stelmach at samsung.com) wrote:
>
>> With loaded_policy set to true mount_setup() relabels /dev properly.
>
> Hmm, is this still relevant? 

(this == [1])

> I am not grokking this patch though, as the only result of this is that
> label_fix() is called for all device nodes... However, label_fix() only
> does something on SELinux systems, it has no effect on SMACK, or does
> it?
>
> What am I missing?

Ok, it's been some time. Let me rebase and see...

Hmm... 

It appears this one should have been applied to our tree, where we do
something smackish[1] in label_fix(), rather than yours.

Casey,

Do you have any plans to push the commit[1] upstream?

Footnotes:

[1] http://article.gmane.org/gmane.comp.sysutils.systemd.devel/15596
[2] https://review.tizen.org/git/?p=platform/upstream/systemd.git;a=commitdiff;h=8445e9990936244ccb0a1023baa5abf77f3ae2c4

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140218/d3c04488/attachment.pgp>


More information about the systemd-devel mailing list