[apparmor] [PATCH v2] apparmor: enable raw text policy

2021-09-03 Thread Georgia Garcia
Currently there's no way to introspect the current text policy for a given profile. This adds the functionality of having the raw text profile in the rawdata fs when enabled by a config. It reuses the raw_data data structure by storing the offset to the text policy and its size. That means that th

Re: [apparmor] [PATCH v2] apparmor: enable raw text policy

2021-09-03 Thread Seth Arnold
On Fri, Sep 03, 2021 at 06:31:49PM -0300, Georgia Garcia wrote: > +static const struct file_operations rawtext_fops = { > + .open = rawdata_open, > + .read = rawtext_read, > + .llseek = generic_file_llseek, > + .release = rawdata_release, > +}; Hey Georgia, I'm curious if the rawda