AA profile for iroffer:

Code:
# AppArmor profile for iroffer v1.4.b03
#
# This AppArmor profile assumes the bot's configuration,
# PID, state and log files are stored in ~/xdcc/, and the
# files served for download are stored in ~/xdcc/files/.
#
#include <tunables/global>

/usr/bin/iroffer {
  #include <abstractions/base>
  #include <abstractions/nameservice>

  owner /home/*/xdcc/*.config r,
  owner /home/*/xdcc/*.log* wl,
  owner /home/*/xdcc/*.pid w,
  owner /home/*/xdcc/*.{state,state.tmp,state\~} rwl,
  owner /home/*/xdcc/files/** rw,
  /usr/bin/iroffer r,

}