Lines Matching refs:security_context_t
16 typedef char *security_context_t;
19 extern void freecon(security_context_t con);
22 extern void freeconary(security_context_t * con);
28 extern int getcon(security_context_t * con);
38 extern int setcon(const security_context_t con);
42 extern int getpidcon(pid_t pid, security_context_t * con);
46 extern int getprevcon(security_context_t * con);
51 extern int getexeccon(security_context_t * con);
55 extern int setexeccon(const security_context_t con);
60 extern int getfscreatecon(security_context_t * con);
64 extern int setfscreatecon(const security_context_t context);
69 extern int getkeycreatecon(security_context_t * con);
73 extern int setkeycreatecon(const security_context_t context);
78 extern int getsockcreatecon(security_context_t * con);
82 extern int setsockcreatecon(const security_context_t context);
88 extern int getfilecon(const char *path, security_context_t * con);
89 extern int lgetfilecon(const char *path, security_context_t * con);
90 extern int fgetfilecon(int fd, security_context_t * con);
93 extern int setfilecon(const char *path, security_context_t con);
94 extern int lsetfilecon(const char *path, security_context_t con);
95 extern int fsetfilecon(int fd, security_context_t con);
101 extern int getpeercon(int fd, security_context_t * con);
140 int (*func_validate) (security_context_t *ctx);
163 extern int security_compute_av(const security_context_t scon,
164 const security_context_t tcon,
171 extern int security_compute_create(const security_context_t scon,
172 const security_context_t tcon,
174 security_context_t * newcon);
178 extern int security_compute_relabel(const security_context_t scon,
179 const security_context_t tcon,
181 security_context_t * newcon);
185 extern int security_compute_member(const security_context_t scon,
186 const security_context_t tcon,
188 security_context_t * newcon);
192 extern int security_compute_user(const security_context_t scon,
194 security_context_t ** con);
202 security_context_t * con);
214 extern int security_check_context(const security_context_t con);
217 extern int security_canonicalize_context(const security_context_t con,
218 security_context_t * canoncon);
276 extern int selinux_check_access(const security_context_t scon,
277 const security_context_t tcon,