~cmars/pollen/dh_auto_test

« back to all changes in this revision

Viewing changes to usr.bin.pollen

  • Committer: Dustin Kirkland
  • Date: 2014-01-14 22:41:38 UTC
  • Revision ID: kirkland@ubuntu.com-20140114224138-tatubn25whd31urm
* debian/control, debian/pollen.install, debian/pollen.postinst,
  debian/rules, usr.bin.pollen:
  - add an apparmor profile for the pollen server, per suggestion
    by Seth Arnold in LP: #1246098
  - big thanks to Jamie Strandboge and Seth Arnold for assistance

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim:syntax=apparmor
 
2
# Created for Ubuntu by: Dustin Kirkland <kirkland@ubuntu.com>
 
3
# ------------------------------------------------------------------
 
4
#
 
5
#    Copyright (C) 2014 Dustin Kirkland
 
6
#    Copyright (C) 2014 Canonical Ltd.
 
7
#
 
8
#    This program is free software; you can redistribute it and/or
 
9
#    modify it under the terms of version 3 of the GNU General Public
 
10
#    License published by the Free Software Foundation.
 
11
#
 
12
# ------------------------------------------------------------------
 
13
#include <tunables/global>
 
14
/usr/bin/pollen {
 
15
  #include <abstractions/base>
 
16
  #include <abstractions/nameservice>
 
17
  capability net_bind_service,
 
18
  /dev/urandom rw,
 
19
  /etc/pollen/* r,
 
20
  /proc/sys/net/core/somaxconn r,
 
21
  /proc/sys/kernel/hostname r,
 
22
  # Site-specific additions and overrides. See local/README for details.
 
23
  #include <local/usr.bin.pollen>
 
24
}