~ubuntu-branches/ubuntu/trusty/apparmor/trusty-201311292003

« back to all changes in this revision

Viewing changes to libraries/libapparmor/src/apparmor.h

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge, Tyler Hicks, Jamie Strandboge
  • Date: 2013-09-10 12:06:06 UTC
  • Revision ID: package-import@ubuntu.com-20130910120606-cli33sg3o4tgayou
Tags: 2.8.0-0ubuntu28
[ Tyler Hicks ]
* Move the aa-exec man page out of apparmor-utils into apparmor, since
  aa-exec is now in apparmor
  - debian/control: adjust Breaks/Replaces to use apparmor-utils
    (<< 2.8.0-0ubuntu28)
  - debian/apparmor.manpages: install the aa-exec man page
  - debian/apparmor-utils.manpages: don't install the aa-exec man page
* debian/patches/0065-lp1220861.patch: Always NUL-terminate confinement
  context strings returned from libapparmor (LP: #1220861)
* debian/patches/0066-lp1196880.patch: Don't assign mode pointer in
  aa_getprocattr() if caller passed in NULL (LP: #1196880)
* debian/patches/0067-libapparmor-mode-strings-are-not-to-be-freed.patch:
  Update man page and code comments to make it clear that freeing the *con
  string returned from libapparmor's getcon functions also frees the *mode
  string
* debian/patches/0068-libapparmor-mention-dbus-method-in-getcon-man.patch:
  Document the D-Bus method, in the aa_getcon man page, that returns the
  AppArmor task confinement string of a D-Bus connection

[ Jamie Strandboge ]
* debian/patches/0069-p11kit-abstraction.patch: p11-kit needs access to
  /usr/share/p11-kit/modules

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 */
77
77
extern int aa_getprocattr_raw(pid_t tid, const char *attr, char *buf, int len,
78
78
                              char **mode);
79
 
extern int aa_getprocattr(pid_t tid, const char *attr, char **buf, char **mode);
 
79
extern int aa_getprocattr(pid_t tid, const char *attr, char **con, char **mode);
80
80
extern int aa_gettaskcon(pid_t target, char **con, char **mode);
81
81
extern int aa_getcon(char **con, char **mode);
82
82
extern int aa_getpeercon_raw(int fd, char *buf, int *len, char **mode);