On Wed, Sep 08, 2021 at 11:43:27AM -0300, Georgia Garcia wrote:
> So when there's a call for raw_data and raw_text by the same process,
> the refcount will be increased twice and loaddata will be decompressed
> twice having the result in two different private variables. That
> applies for two or mo
On Sat, 2021-09-04 at 02:07 +, Seth Arnold wrote:
> 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 = raw
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
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