apparmor/profiles/apparmor.d
Jamie Strandboge 39a3f5b08d Add profiles/apparmor.d/abstractions/ubuntu-helpers:
Lenient profile that is intended to be used when 'Ux' is desired but
does not provide enough environment sanitizing. This effectively is an
open profile that blacklists certain known dangerous files and also
does not allow any capabilities. For example, it will not allow 'm' on files
owned be the user invoking the program. While this provides some additional
protection, please use with care as applications running under this profile
are effectively running without any AppArmor protection. Use this profile
only if the process absolutely must be run (effectively) unconfined.

Limitations:
1. This does not work for root owned processes, because of the way we use
   owner matching in the sanitized helper. We could do a better job with
   this to support root, but it would make the policy harder to understand
   and going unconfined as root is not desirable anyway.

2. For this sanitized_helper to work, the program running in the sanitized
   environment must open symlinks directly in order for AppArmor to mediate
   it. This is confirmed to work with:
    - compiled code which can load shared libraries
    - python imports
   It is known not to work with:
    - perl includes

3. Going forward it might be useful to try sanitizing ruby and java

Use at your own risk. This profile was developed as an interim workaround for
LP: #851986 until AppArmor implements proper environment filtering.

Acked-by: Jamie Strandboge <jamie@canonical.com>



Adjust ubuntu abstractions to use sanitized_helper instead of (P)Ux.

Acked-by: Jamie Strandboge <jamie@canonical.com>



Update launchpad-integration to use a sanitized helper in a similar manner
as that in ubuntu-helpers.

Acked-by: Jamie Strandboge <jamie@canonical.com>
2012-01-11 15:20:42 +01:00
..
abstractions Add profiles/apparmor.d/abstractions/ubuntu-helpers: 2012-01-11 15:20:42 +01:00
apache2.d update for /var/run -> /run udev transition. For compatibility, distributions 2011-07-14 07:57:57 -05:00
local exported smbd files need to have 'k' to work properly with certain applications 2010-09-14 14:12:49 -05:00
program-chunks as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
tunables Fix multi-arch comment tyop, thanks to Kees for pointing it out. 2011-03-23 13:44:51 -07:00
bin.ping start on 'local/' mechanism to aid in packaging: 2010-08-05 14:00:02 -05:00
sbin.klogd This commit adds "capability syslog" to the syslogd and syslog-ng 2011-08-19 00:27:03 +02:00
sbin.syslog-ng according to Peter Czanik, the openSUSE syslog-ng maintainer, syslog-ng 2012-01-09 13:28:25 +01:00
sbin.syslogd This commit adds "capability syslog" to the syslogd and syslog-ng 2011-08-19 00:27:03 +02:00
usr.lib.apache2.mpm-prefork.apache2 start on 'local/' mechanism to aid in packaging: 2010-08-05 14:00:02 -05:00
usr.lib.dovecot.deliver Description: update dovecot deliver profile to access various .conf files for 2012-01-06 10:34:44 -06:00
usr.lib.dovecot.dovecot-auth Cleanup no longer necessary wutmp permission now that it's covered by 2011-08-26 18:51:03 -07:00
usr.lib.dovecot.imap Dovecot profile update: 2011-08-27 01:12:10 +02:00
usr.lib.dovecot.imap-login update for /var/run -> /run udev transition. For compatibility, distributions 2011-07-14 07:57:57 -05:00
usr.lib.dovecot.managesieve-login update for /var/run -> /run udev transition. For compatibility, distributions 2011-07-14 07:57:57 -05:00
usr.lib.dovecot.pop3 Dovecot profile update: 2011-08-27 01:12:10 +02:00
usr.lib.dovecot.pop3-login update for /var/run -> /run udev transition. For compatibility, distributions 2011-07-14 07:57:57 -05:00
usr.sbin.avahi-daemon Author: Felix Geyer 2012-01-03 17:26:00 -06:00
usr.sbin.dnsmasq dnsmasq's TFTP server provides read-only access. 2011-12-17 12:20:53 -05:00
usr.sbin.dovecot allow read access for /proc/*/mounts in the dovecot profile 2011-10-12 13:05:00 +02:00
usr.sbin.identd update for /var/run -> /run udev transition. For compatibility, distributions 2011-07-14 07:57:57 -05:00
usr.sbin.mdnsd update for /var/run -> /run udev transition. For compatibility, distributions 2011-07-14 07:57:57 -05:00
usr.sbin.nmbd Add permissions needed for Active Directory authentification to Samba 2011-08-27 20:50:42 +02:00
usr.sbin.nscd Add capability setuid and setgid to nscd profile. Needed by unscd 2011-08-24 00:57:42 +02:00
usr.sbin.ntpd From: Jeff Mahoney <jeffm@suse.com> 2011-08-08 22:16:06 +02:00
usr.sbin.smbd when using smbldap-useradd using this smb.conf entry 2012-01-10 19:06:24 +01:00
usr.sbin.smbldap-useradd when using smbldap-useradd using this smb.conf entry 2012-01-10 19:06:24 +01:00
usr.sbin.traceroute /usr/sbin/traceroute6 is a symlink to /usr/sbin/traceroute. 2011-11-30 13:15:21 +01:00