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

Seth Arnold seth.arnold at canonical.com
Sat Sep 4 02:07:32 UTC 2021


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 rawdata_open and rawdata_release here are
correct. If they are correct, is there any problem if the same process
opens both the raw_text and the raw_data files? Is there any problem if
two or more processes open both raw_text and raw_data?

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20210904/32e02828/attachment.sig>


More information about the AppArmor mailing list