/ndk/sources/host-tools/sed-4.2.1/lib/ |
se-selinux.in.h | 8 # define security_context_t char* macro 11 static inline int getcon (security_context_t *con _UNUSED_PARAMETER_) 13 static inline void freecon (security_context_t con _UNUSED_PARAMETER_) {} 16 static inline int getfscreatecon (security_context_t *con _UNUSED_PARAMETER_) 18 static inline int setfscreatecon (security_context_t con _UNUSED_PARAMETER_) 22 security_context_t *con _UNUSED_PARAMETER_) 25 security_context_t *con _UNUSED_PARAMETER_) 28 security_context_t *con _UNUSED_PARAMETER_) 31 security_context_t con _UNUSED_PARAMETER_) 34 security_context_t con _UNUSED_PARAMETER_ [all...] |
/external/libselinux/include/selinux/ |
selinux.h | 16 typedef char *security_context_t; typedef 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) [all...] |
label.h | 96 int selabel_lookup(struct selabel_handle *handle, security_context_t *con, 98 int selabel_lookup_raw(struct selabel_handle *handle, security_context_t *con,
|
avc.h | 22 security_context_t ctx; 40 int avc_sid_to_context(security_id_t sid, security_context_t * ctx); 41 int avc_sid_to_context_raw(security_id_t sid, security_context_t * ctx); 54 int avc_context_to_sid(const security_context_t ctx, security_id_t * sid); 55 int avc_context_to_sid_raw(const security_context_t ctx, security_id_t * sid);
|
/external/libselinux/src/ |
freecon.c | 6 void freecon(security_context_t con)
|
avc_sidtab.h | 28 int sidtab_insert(struct sidtab *s, security_context_t ctx) hidden; 31 security_context_t ctx, security_id_t * sid) hidden;
|
callbacks.h | 22 (*selinux_validate)(security_context_t *ctx) hidden;
|
fsetfilecon.c | 10 int fsetfilecon(int fd, const security_context_t context)
|
lsetfilecon.c | 10 int lsetfilecon(const char *path, const security_context_t context)
|
setfilecon.c | 10 int setfilecon(const char *path, const security_context_t context)
|
checkAccess.c | 18 int selinux_check_access(const security_context_t scon, const security_context_t tcon, const char *class, const char *perm, void *aux) {
|
compute_create.c | 13 int security_compute_create(const security_context_t scon, 14 const security_context_t tcon, 16 security_context_t * newcon)
|
check_context.c | 12 int security_check_context(const security_context_t con)
|
canonicalize_context.c | 12 int security_canonicalize_context(const security_context_t con, 13 security_context_t * canoncon)
|
compute_av.c | 13 int security_compute_av(const security_context_t scon, 14 const security_context_t tcon,
|
label_internal.h | 42 security_context_t ctx_raw; 43 security_context_t ctx_trans;
|
avc_sidtab.c | 16 static inline unsigned sidtab_hash(security_context_t key) 49 int sidtab_insert(struct sidtab *s, const security_context_t ctx) 53 security_context_t newctx; 60 newctx = (security_context_t) strdup(ctx); 79 const security_context_t ctx, security_id_t * sid)
|
procattr.c | 18 static int getprocattrcon(security_context_t * context, 76 static int setprocattrcon(security_context_t context, 116 int get##fn(security_context_t *c) \ 122 int set##fn(const security_context_t c) \ 132 int get##fn(pid_t pid, security_context_t *c) \
|
fgetfilecon.c | 10 int fgetfilecon(int fd, security_context_t * context)
|
get_initial_context.c | 14 int security_get_initial_context(const char * name, security_context_t * con)
|
getfilecon.c | 10 int getfilecon(const char *path, security_context_t * context)
|
getpeercon.c | 14 int getpeercon(int fd, security_context_t * context)
|
lgetfilecon.c | 10 int lgetfilecon(const char *path, security_context_t * context)
|
callbacks.c | 35 default_selinux_validate(security_context_t *ctx) 62 (*selinux_validate)(security_context_t *ctx) =
|
/external/openssh/openbsd-compat/ |
port-linux.c | 60 static security_context_t 63 security_context_t sc; 111 security_context_t user_ctx = NULL; 142 security_context_t new_tty_ctx = NULL; 143 security_context_t user_ctx = NULL; 144 security_context_t old_tty_ctx = NULL; 189 if (getcon((security_context_t *)&oldctx) < 0) { 226 security_context_t context;
|