aa-enforce, aa-complain do not respect profile flags

Bug #1200326 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned

Bug Description

aa-enforce and aa-complain were written before we added more profile flags. Thus the following code is incorrect:

        printf(gettext('Setting %s to enforce mode.'), $fqdbin);
        print "\n";
        setprofileflags($filename, "");

and:

        printf(gettext('Setting %s to complain mode.'), $fqdbin);
        print "\n";
        setprofileflags($filename, "complain");

Revision history for this message
Steve Beattie (sbeattie) wrote :

Thanks. This is a duplicate of bug 950921, marking as such. Please discuss fixes in that bug report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.