<div dir="ltr"><div><div><div>Hi there,<br><br></div>I've been working on making AppArmor profiles for LibreOffice and have been wondering about the best way to integrate them upstream.  Originally I was thinking about having them in AppArmor upstream but it makes more sense to be in lock step with LibreOffice versions.  That way as bugs get fixed or LibreOffice is made to require less permissions it shows up at the right time.<br></div><div><br></div><div>You can see the latest public version here[1*] and that thread starts here[2].  <br><br></div><div>If they could be integrated somewhere with the build system it would help solve the other big issue that I've ran into, the changing pathnames from pre-built debs to different distros doing things differently.   In an ideal world each different system then could just generate a libreoffice-apparmor package that would enable the profiles. <br><br></div><div>If not (or if we want to decide all that later), I would just be happy knowing where in the LibreOffice code base the profiles make sense to live.<br><br></div><div>Just to be clear, I don't believe you could turn these on by default right now.   This just gives organizations who want LibreOffice confined that option.<br><br></div><div>Kind regards,<br></div><div>Bryan<br><br></div><div>Canonical Backline Support Engineer<br></div><div><br></div>[1]  <a href="https://lists.ubuntu.com/archives/apparmor/2015-April/007713.html">https://lists.ubuntu.com/archives/apparmor/2015-April/007713.html</a><br>[2]  <a href="https://lists.ubuntu.com/archives/apparmor/2015-April/007690.html">https://lists.ubuntu.com/archives/apparmor/2015-April/007690.html</a><br></div>* This profile found a few bugs in AppArmor.  I had to do AppArmor restarts to reload the profiles.  <br></div>