Public bug reported:

Currently, an easyprof-generated profile will list the reads with `rk`
and the writes as `rwk`. With recent Qt, this breaks because newer Qt
versions use hard-linking of temporary files to perform atomic writes.
Also, `rk` doesn't allow mmap()'ing shared library for execution.

We at UBports are carrying a patch in Ubuntu Touch which changes the
read rules to `mrk` and write rules to `mrwkl`, and are upstreaming this
patch at [1]. When the MR is merged, I would like this patch to be
included in Ubuntu 24.04, so that Ubuntu Touch doesn't have to package
AppArmor separately from Ubuntu.

If we agree that we want this patch, I can provide an MR on Salsa.

[1] https://gitlab.com/apparmor/apparmor/-/merge_requests/1189

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058690

Title:
  aa-easyprof: allow mmap and link from easyprof generated profiles

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2058690/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to