Changeset 1814

Show
Ignore:
Timestamp:
01/11/08 12:34:57 (1 year ago)
Author:
dsugar
Message:

Fix file contexts to correctly lookup paths for matchpathcon
Updates for optional_policy blocks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/test0001/expected.te

    r1622 r1814  
    3232 
    3333# CDSFramework generated networking & directory search perms 
     34optional_policy(` 
     35        gen_require(` 
     36                type root_t; 
     37        ') 
    3438allow a_dirFiles_t root_t:dir { search }; 
     39') 
     40optional_policy(` 
     41        gen_require(` 
     42                type root_t; 
     43        ') 
    3544allow b_dirFiles_t root_t:dir { search }; 
     45') 
  • trunk/test/test0010/expected.te

    r1501 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow _a_dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0010/file_contexts

    r1532 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0012/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow a_b_dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0014/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow _ab_dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0016/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow _a_b__dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0018/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow a3_dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0022/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow _a3_dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0024/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow a3__dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0026/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow _a_3__dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0036/expected.te

    r1496 r1814  
    1414 
    1515# CDSFramework generated networking & directory search perms 
     16optional_policy(` 
     17        gen_require(` 
     18                type root_t; 
     19        ') 
    1620allow thisisanextremelylongnameforasymbolbutiwantedtoseeiftheparsercouldhandleaverylongsymbolname_dirFiles_t root_t:dir { search }; 
     21') 
  • trunk/test/test0044/expected.te

    r1654 r1814  
    2020 
    2121# CDSFramework generated networking & directory search perms 
     22optional_policy(` 
     23        gen_require(` 
     24                type root_t; 
     25        ') 
    2226allow d_dirFiles_t root_t:dir { search }; 
     27') 
  • trunk/test/test0044/file_contexts

    r1532 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0045/expected.te

    r1654 r1814  
    3232 
    3333# CDSFramework generated networking & directory search perms 
     34optional_policy(` 
     35        gen_require(` 
     36                type root_t; 
     37        ') 
    3438allow a_dirFiles_t root_t:dir { search }; 
     39') 
     40optional_policy(` 
     41        gen_require(` 
     42                type root_t; 
     43        ') 
    3544allow d_dirFiles_t root_t:dir { search }; 
     45') 
     46optional_policy(` 
     47        gen_require(` 
     48                type root_t; 
     49        ') 
    3650allow entpoint_t root_t:dir { search }; 
     51') 
  • trunk/test/test0045/file_contexts

    r1532 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0046/expected.te

    r1715 r1814  
    2828# CDSFramework generated networking & directory search perms 
    2929allow parent_t root_t:dir { search }; 
     30optional_policy(` 
     31        gen_require(` 
     32                type root_t; 
     33        ') 
    3034allow parent_child_dirFiles_t root_t:dir { search }; 
     35') 
  • trunk/test/test0046/file_contexts

    r1654 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0048/expected.te

    r1715 r1814  
    2222 
    2323# CDSFramework generated networking & directory search perms 
     24optional_policy(` 
     25        gen_require(` 
     26                type root_t; 
     27        ') 
    2428allow domA_subdomainA_dirFiles_t root_t:dir { search }; 
     29') 
    2530allow domA_t root_t:dir { search }; 
  • trunk/test/test0048/file_contexts

    r1654 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0050/expected.te

    r1496 r1814  
    1717 
    1818# CDSFramework generated networking & directory search perms 
     19optional_policy(` 
     20        gen_require(` 
     21                type root_t; 
     22        ') 
    1923allow domA_dirFiles_t root_t:dir { search }; 
     24') 
  • trunk/test/test0056/expected.te

    r1622 r1814  
    2020 
    2121# CDSFramework generated networking & directory search perms 
     22optional_policy(` 
     23        gen_require(` 
     24                type root_t; 
     25        ') 
    2226allow d_dirFiles_t root_t:dir { search }; 
     27') 
  • trunk/test/test0056/file_contexts

    r1532 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0057/expected.te

    r1622 r1814  
    2020 
    2121# CDSFramework generated networking & directory search perms 
     22optional_policy(` 
     23        gen_require(` 
     24                type root_t; 
     25        ') 
    2226allow d_dirFiles_t root_t:dir { search }; 
     27') 
  • trunk/test/test0057/file_contexts

    r1532 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0066/expected.te

    r1715 r1814  
    4343 
    4444# CDSFramework generated networking & directory search perms 
     45optional_policy(` 
     46        gen_require(` 
     47                type root_t; 
     48        ') 
    4549allow a_child_a_dirFiles_t root_t:dir { search }; 
     50') 
    4651allow a_t root_t:dir { search }; 
     52optional_policy(` 
     53        gen_require(` 
     54                type root_t; 
     55        ') 
    4756allow d_dirFiles_t root_t:dir { search }; 
     57') 
     58optional_policy(` 
     59        gen_require(` 
     60                type root_t; 
     61        ') 
    4862allow entpoint_t root_t:dir { search }; 
     63') 
  • trunk/test/test0066/file_contexts

    r1622 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0068/file_contexts

    r1622 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0070/expected.te

    r1622 r1814  
    1919 
    2020# CDSFramework generated networking & directory search perms 
     21optional_policy(` 
     22        gen_require(` 
     23                type root_t; 
     24        ') 
    2125allow domA_dirFiles_t root_t:dir { search }; 
     26') 
  • trunk/test/test0070/file_contexts

    r1622 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0073/expected.te

    r1715 r1814  
    4343 
    4444# CDSFramework generated networking & directory search perms 
     45optional_policy(` 
     46        gen_require(` 
     47                type root_t; 
     48        ') 
    4549allow a_child_a_dirFiles_t root_t:dir { search }; 
     50') 
    4651allow a_t root_t:dir { search }; 
     52optional_policy(` 
     53        gen_require(` 
     54                type root_t; 
     55        ') 
    4756allow d_dirFiles_t root_t:dir { search }; 
     57') 
     58optional_policy(` 
     59        gen_require(` 
     60                type root_t; 
     61        ') 
    4862allow entpoint_t root_t:dir { search }; 
     63') 
  • trunk/test/test0073/file_contexts

    r1622 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0074/expected.te

    r1715 r1814  
    3131 
    3232# CDSFramework generated networking & directory search perms 
     33optional_policy(` 
     34        gen_require(` 
     35                type root_t; 
     36        ') 
    3337allow entpoint_t root_t:dir { search }; 
     38') 
  • trunk/test/test0074/file_contexts

    r1715 r1814  
     1/       -d      system_u:object_r:root_t:s0 
  • trunk/test/test0079/expected.te

    r1622 r1814  
    4646 
    4747# CDSFramework generated networking & directory search perms 
     48optional_policy(` 
     49        gen_require(` 
     50                type root_t; 
     51        ') 
    4852allow a_dirFiles_t root_t:dir { search }; 
     53') 
     54optional_policy(` 
     55        gen_require(` 
     56                type root_t; 
     57        ') 
    4958allow b_dirFiles_t root_t:dir { search }; 
     59') 
     60optional_policy(` 
     61        gen_require(` 
     62                type root_t; 
     63        ') 
    5064allow c_dirFiles_t root_t:dir { search }; 
     65') 
     66optional_policy(` 
     67        gen_require(` 
     68                type root_t; 
     69        ') 
    5170allow entpoint_t root_t:dir { search }; 
     71') 
  • trunk/test/test0079/file_contexts

    r1622 r1814  
     1/       -d      system_u:object_r:root_t:s0