Re: DISABLE_AVC=y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/28/2016 11:00 AM, William Roberts wrote:
> Same thing for DISABLE_BOOL, should that die or be fixed?

Would that be useful for the Android device/target build, since they
don't support booleans?

I don't believe there are any users of EMBEDDED=y.  DISABLE_SETRANS=y
and DISABLE_BOOL=y may make sense for Android (host and target builds).
DISABLE_RPM is enabled in Fedora/RHEL now because they have updated rpm
to use the more general setexecfilecon() interface introduced to support
other package managers.  So we may want to even make DISABLE_RPM=y the
default.  Technically that is an ABI break but since Red Hat is already
shipping it that way and rpm has been updated, I'm not sure it matters.

> 
> On Wed, Sep 28, 2016 at 10:58 AM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
>> On 09/28/2016 10:39 AM, William Roberts wrote:
>>> Does anyone actualy use this, this currently doesn't build:
>>>
>>> compute_av.c: In function ‘security_compute_av_flags_raw’:
>>> compute_av.c:65:28: error: suggest braces around empty body in an ‘if’
>>> statement [-Werror=empty-body]
>>>    map_decision(tclass, avd);
>>>                             ^
>>> cc1: all warnings being treated as errors
>>> make[1]: *** [compute_av.o] Error 1
>>>
>>> clude -D_GNU_SOURCE -DDISABLE_AVC   -c -o compute_av.o compute_av.c
>>> compute_av.c: In function ‘security_compute_av_flags_raw’:
>>> compute_av.c:65:28: error: expected expression before ‘;’ token
>>>    map_decision(tclass, avd);
>>>                             ^
>>> make[1]: *** [compute_av.o] Error 1
>>> make[1]: Leaving directory `/home/wc
>>>
>>> Should we fix it or kill it off?
>>
>> I am not aware of any users of it; it is a legacy of some early work on
>> embedded SELinux but does not appear to be used in current solutions
>> (e.g. meta-selinux does not use it).  So I would just kill it.
>> Especially since the userspace AVC is used by many userspace programs
>> now in Linux and in Android.
>>


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux