Home | History | Annotate | Download | only in selinux

Lines Matching refs:con

20 extern void freecon(char * con);
23 extern void freeconary(char ** con);
27 /* Get current context, and set *con to refer to it.
29 extern int getcon(char ** con);
31 /* Set the current security context to con.
39 extern int setcon(const char * con);
42 set *con to refer to it. Caller must free via freecon. */
43 extern int getpidcon(pid_t pid, char ** con);
45 /* Get previous context (prior to last exec), and set *con to refer to it.
47 extern int getprevcon(char ** con);
49 /* Get exec context, and set *con to refer to it.
50 Sets *con to NULL if no exec context has been set, i.e. using default.
52 extern int getexeccon(char ** con);
56 extern int setexeccon(const char * con);
58 /* Get fscreate context, and set *con to refer to it.
59 Sets *con to NULL if no fs create context has been set, i.e. using default.
61 extern int getfscreatecon(char ** con);
67 /* Get keycreate context, and set *con to refer to it.
68 Sets *con to NULL if no key create context has been set, i.e. using default.
70 extern int getkeycreatecon(char ** con);
76 /* Get sockcreate context, and set *con to refer to it.
77 Sets *con to NULL if no socket create context has been set, i.e. using default.
79 extern int getsockcreatecon(char ** con);
87 /* Get file context, and set *con to refer to it.
89 extern int getfilecon(const char *path, char ** con);
90 extern int lgetfilecon(const char *path, char ** con);
91 extern int fgetfilecon(int fd, char ** con);
94 extern int setfilecon(const char *path, const char *con);
95 extern int lsetfilecon(const char *path, const char *con);
96 extern int fsetfilecon(int fd, const char *con);
100 /* Get context of peer socket, and set *con to refer to it.
102 extern int getpeercon(int fd, char ** con);
191 /* Compute the set of reachable user contexts and set *con to refer to
195 char *** con);
203 char ** con);
215 extern int security_check_context(const char * con);
218 extern int security_canonicalize_context(const char * con,