Ticket #183 (closed Bug: fixed)

Opened 7 months ago

Last modified 7 months ago

optional inside of conditional

Reported by: apatel Assigned to: dsugar
Priority: High Milestone: 2008 Work Complete v3.0
Component: Translator Keywords:
Cc:

Description

In the checkpoilcy version checkpolicy-2.0.4-1.fc8, policy does not support optional block inside of the conditional block.

Input to reproduce error.

if(user_ping) {
optional_policy(`
        gen_require(`
                type root_t;
        ')
        allow domA_t root_t:dir { search };
')
}

Suggested change.

if(user_ping) {
      gen_require(`
              type root_t;
      ')
      allow domA_t root_t:dir { search };
}

Change History

05/06/08 15:45:42 changed by dsugar

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to Release 2.5.

changeset:2096 fixed problem w/ test cases in changeset:2097

05/20/08 15:08:14 changed by dsugar

  • milestone changed from Release 2.5 to 2008 Work Complete v3.0.

Milestone Release 2.5 deleted