def AaExample.exec
bend-osdev-apparmor@0.1.0.0 · example.bend:56
import bend-osdev-apparmor@0.1.0.0/example.bend as Example
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-apparmor@0.1.0.0/options.bend as O
import bend-osdev-apparmor@0.1.0.0/transitions.bend as TR
import bend-osdev-apparmor@0.1.0.0/apparmor.bend as A
56def AaExample.exec(prof: String, path: String) -> String:
57 TR.AaExecResult.show(A.Aa.exec(O.AaOptions.default(), AaExample.pol(), B.Octets.of_string(prof), B.Octets.of_string(path), False{}))