Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fiirefox profile: px vs. ix #4

Open
curiosityseeker opened this issue Jan 20, 2022 · 1 comment
Open

Fiirefox profile: px vs. ix #4

curiosityseeker opened this issue Jan 20, 2022 · 1 comment

Comments

@curiosityseeker
Copy link

Thanks a lot for providing your AppArmor profiles!

One question: The Firefox profile says in lines 48-49:

# Must be px to avoid env scrubbing for LD_PRELOAD libEGL.so, libmozsandbox.so
  /{usr/bin,usr/lib/firefox*}/firefox* mrpx,

That's a bit confusing to me. pxrequires a separate profile for that executed program. But we're here in the same Firefox profile. px is here equivalent to ìx, IMO. Is there a special reason why you chose px instead? I might be missing something important.

@krathalan
Copy link
Owner

The comment is being misinterpreted -- I should have clarified that environment scrubbing should not be used, i.e. use px instead of Px.

With regards to px vs ix, I don't think it matters in this context. As a general rule I try to use ix for programs which may be run by the parent program intermittently and px for programs which run indefinitely alongside the parent program, and since these firefox processes are designed to stay open indefinitely, I chose to use px. Again, I don't think it really matters in this context and they could be used interchangeably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants