[systemd-devel] [ANNOUNCE] systemd v44

Daniel J Walsh dwalsh at redhat.com
Mon Mar 19 06:35:07 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/19/2012 07:59 AM, Thierry Reding wrote:
> * Kay Sievers wrote:
>> On Sat, Mar 17, 2012 at 15:14, Koen Kooi
>> <koen at dominion.thruhere.net> wrote:
>>> 
>>> Op 16 mrt. 2012, om 02:40 heeft Lennart Poettering het volgende
>>> geschreven:
>>> 
>>>> Heya,
>>>> 
>>>> this is primarily a bugfix release (but does include a couple
>>>> of new things) and might be very likely the version we'll
>>>> ship in Fedora 17, unless there's some unforeseen bigger bug
>>>> left to be fixed.
>>>> 
>>>> http://cgit.freedesktop.org/systemd/systemd/plain/NEWS 
>>>> http://www.freedesktop.org/software/systemd/systemd-44.tar.xz
>>>
>>>
>>>> 
I get the following error and warnings when crosscompiling for arm:
>>> 
>>> | src/journal/journald.c: In function 'process_event': |
>>> src/journal/journald.c:2147:49: error: 'PAGE_SIZE' undeclared
>>> (first use in this function)
>> 
>> PATH_MAX might be simpler to use here.
> 
> Exactly how long are SELinux labels allowed to be? I couldn't find
> any related constants in any of the headers on my system.
> Alternatively, maybe a more portable way would be to use
> sysconf(_SC_PAGESIZE) here?
> 
> Thierry
> 
> 
> 
> _______________________________________________ systemd-devel
> mailing list systemd-devel at lists.freedesktop.org 
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Right now they are unlimited, but we are having discussions with
upstream about potentially picking a limit of around 2k.

I have been able to generate a worse case label of just over 5k, in
userspace, but this would be limited to around 2k if coming from the
kernel.

In NON-MlS world, SELinux labels would never be longer then 100 chars.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9nNgoACgkQrlYvE4MpobMNLQCgjiy3jBQdEuaNDT3stwf7L/15
QDcAniZB7MuNcaAEeCKYrR8u+cNY0VmU
=Fc28
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list