No description
Find a file
Joshua Brindle e319cd8538 Author: Daniel J Walsh
Email: dwalsh@redhat.com
Subject: libsemage patch to not compile modules for seusers and fcontext
Date: Wed, 10 Sep 2008 10:30:08 -0400

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

Ivan Gyurdiev wrote:
>
>>> I'm a little unclear on what this is doing - can you clarify?
>>>
>> This is clearing the existing seusers.final file, otherwise delete was
>> not working.
>>
> I think the previous code was doing more - it was merging the local file
> with the shipped base package file, like this:
>
>    data = extract_file_from_policy_package( )
>    write_file ( "seusers.final", data )
>    if ( data != null ) {
>        seusers.clear_cache()  // thereby forcing reload from
> seusers.final when cache() is called again (in merge_components)
>    } else {
>        seusers.clear()
>    }
>
> It's also doing this three times (once for fcontexts, once for seusers,
> once for seusers_extra).
> The problem is that you're skipping the link_sandbox call, which builds
> the base package, containing this information.
>
> Ivan
>
>
Ok I found some problems with the previous patch and did some code
reuse.  I added a function that only read base.pp in order to handle the
 base user_extra and seusers problem.

Signed-off-by: Joshua Brindle <method@manicmethod.com>
2008-09-15 09:25:33 -04:00
checkpolicy initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
libselinux Fix EMBEDDED=y build. 2008-08-26 09:08:25 -04:00
libsemanage Author: Daniel J Walsh 2008-09-15 09:25:33 -04:00
libsepol Subject: remove expand_rule function 2008-08-19 16:35:34 -04:00
policycoreutils Author: Daniel J Walsh 2008-09-07 22:00:20 -04:00
scripts initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
sepolgen bump policycoreutils to 2.0.56 and sepolgen to 1.0.14 2008-09-07 18:57:50 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00