29
29
aa_getpeercon - get the confinement of a socket's other end (peer)
33
35
B<#include E<lt>sys/apparmor.hE<gt>>
35
B<int aa_getprocattr_raw(pid_t tid, const char *attr, char *buf, int len,
37
B<int aa_getprocattr_raw(pid_t tid, const char *attr, char *buf, int len, char **mode);>
38
B<int aa_getprocattr(pid_t tid, const char *attr, char **buf, char **mode);>
39
B<int aa_getprocattr(pid_t tid, const char *attr, char **con, char **mode);>
40
41
B<int aa_gettaskcon(pid_t target, char **con, char **mode);>