Searched refs:security_context_t (Results 1 – 25 of 30) sorted by relevance
12
/external/libselinux/include/selinux/ |
D | 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 …]
|
D | 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);
|
D | label.h | 95 int selabel_lookup(struct selabel_handle *handle, security_context_t *con, 97 int selabel_lookup_raw(struct selabel_handle *handle, security_context_t *con,
|
/external/openssh/openbsd-compat/ |
D | port-linux.c | 60 static security_context_t 63 security_context_t sc; in ssh_selinux_getctxbyname() 111 security_context_t user_ctx = NULL; in ssh_selinux_setup_exec_context() 142 security_context_t new_tty_ctx = NULL; in ssh_selinux_setup_pty() 143 security_context_t user_ctx = NULL; in ssh_selinux_setup_pty() 144 security_context_t old_tty_ctx = NULL; in ssh_selinux_setup_pty() 189 if (getcon((security_context_t *)&oldctx) < 0) { in ssh_selinux_change_context() 226 security_context_t context; in ssh_selinux_setfscreatecon()
|
/external/libselinux/src/ |
D | avc_sidtab.c | 16 static inline unsigned sidtab_hash(security_context_t key) in sidtab_hash() 49 int sidtab_insert(struct sidtab *s, const security_context_t ctx) in sidtab_insert() 53 security_context_t newctx; in sidtab_insert() 60 newctx = (security_context_t) strdup(ctx); in sidtab_insert() 79 const security_context_t ctx, security_id_t * sid) in sidtab_context_to_sid()
|
D | procattr.c | 18 static int getprocattrcon(security_context_t * context, in getprocattrcon() 76 static int setprocattrcon(security_context_t context, in setprocattrcon() 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) \
|
D | compute_create.c | 13 int security_compute_create(const security_context_t scon, in security_compute_create() 14 const security_context_t tcon, in security_compute_create() 16 security_context_t * newcon) in security_compute_create()
|
D | 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;
|
D | checkAccess.c | 15 int selinux_check_access(const security_context_t scon, const security_context_t tcon, const char *… in selinux_check_access()
|
D | label_internal.h | 42 security_context_t ctx_raw; 43 security_context_t ctx_trans;
|
D | canonicalize_context.c | 12 int security_canonicalize_context(const security_context_t con, in security_canonicalize_context() 13 security_context_t * canoncon) in security_canonicalize_context()
|
D | compute_av.c | 13 int security_compute_av(const security_context_t scon, in security_compute_av() 14 const security_context_t tcon, in security_compute_av()
|
D | callbacks.c | 35 default_selinux_validate(security_context_t *ctx) in default_selinux_validate() 62 (*selinux_validate)(security_context_t *ctx) =
|
D | freecon.c | 6 void freecon(security_context_t con) in freecon()
|
D | setfilecon.c | 10 int setfilecon(const char *path, const security_context_t context) in setfilecon()
|
D | lsetfilecon.c | 10 int lsetfilecon(const char *path, const security_context_t context) in lsetfilecon()
|
D | fsetfilecon.c | 10 int fsetfilecon(int fd, const security_context_t context) in fsetfilecon()
|
D | callbacks.h | 22 (*selinux_validate)(security_context_t *ctx) hidden;
|
D | check_context.c | 12 int security_check_context(const security_context_t con) in security_check_context()
|
D | getpeercon.c | 14 int getpeercon(int fd, security_context_t * context) in getpeercon()
|
D | get_initial_context.c | 14 int security_get_initial_context(const char * name, security_context_t * con) in security_get_initial_context()
|
D | lgetfilecon.c | 10 int lgetfilecon(const char *path, security_context_t * context) in lgetfilecon()
|
D | getfilecon.c | 10 int getfilecon(const char *path, security_context_t * context) in getfilecon()
|
/external/ipsec-tools/src/racoon/ |
D | policy.h | 159 extern int within_range __P((security_context_t, security_context_t));
|
D | security.c | 215 within_range(security_context_t sl, security_context_t range) in within_range()
|
12