Searched refs:security_context_t (Results 1 – 14 of 14) sorted by relevance
/external/selinux/mcstrans/src/ |
D | mcstrans.h | 7 extern int trans_context(const security_context_t, security_context_t *); 8 extern int untrans_context(const security_context_t, security_context_t *);
|
D | mcscolor.c | 47 static security_context_t my_context; 79 security_context_t ctx; in check_dominance() 112 …rc = security_compute_av_raw(ctx, (security_context_t)raw, context_class, context_contains_perm, &… in check_dominance() 285 int raw_color(const security_context_t raw, char **color_str) { in raw_color()
|
D | mcstransd.c | 48 extern int trans_context(const security_context_t, security_context_t *); 49 extern int untrans_context(const security_context_t, security_context_t *); 53 extern int raw_color(const security_context_t, char **);
|
D | mcstrans.c | 891 extract_range(const security_context_t incon) { in extract_range() 914 new_context_str(const security_context_t incon, const char *range) { in new_context_str() 1492 trans_context(const security_context_t incon, security_context_t *rcon) { in trans_context() 1615 untrans_context(const security_context_t incon, security_context_t *rcon) { in untrans_context()
|
/external/openssh/openbsd-compat/ |
D | port-linux.c | 58 static security_context_t 61 security_context_t sc = NULL; in ssh_selinux_getctxbyname() 108 security_context_t user_ctx = NULL; in ssh_selinux_setup_exec_context() 139 security_context_t new_tty_ctx = NULL; in ssh_selinux_setup_pty() 140 security_context_t user_ctx = NULL; in ssh_selinux_setup_pty() 141 security_context_t old_tty_ctx = NULL; in ssh_selinux_setup_pty() 190 if (getcon((security_context_t *)&oldctx) < 0) { in ssh_selinux_change_context() 227 security_context_t context; in ssh_selinux_setfscreatecon()
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 646 int send_audit_message(int success, security_context_t old_context, in send_audit_message() 647 security_context_t new_context, const char *ttyn) in send_audit_message() 680 security_context_t old_context in send_audit_message() 682 security_context_t new_context in send_audit_message() 698 static int relabel_tty(const char *ttyn, security_context_t new_context, in relabel_tty() 699 security_context_t * tty_context, in relabel_tty() 700 security_context_t * new_tty_context) in relabel_tty() 704 security_context_t tty_con = NULL; in relabel_tty() 705 security_context_t new_tty_con = NULL; in relabel_tty() 778 security_context_t tty_context, in restore_tty_label() [all …]
|
/external/selinux/policycoreutils/secon/ |
D | secon.c | 344 static int my_getXcon_raw(pid_t pid, security_context_t * con, const char *val) in my_getXcon_raw() 374 static int my_getpidexeccon_raw(pid_t pid, security_context_t * con) in my_getpidexeccon_raw() 378 static int my_getpidfscreatecon_raw(pid_t pid, security_context_t * con) in my_getpidfscreatecon_raw() 382 static int my_getpidkeycreatecon_raw(pid_t pid, security_context_t * con) in my_getpidkeycreatecon_raw() 387 static security_context_t get_scon(void) in get_scon() 390 security_context_t con = NULL, con_tmp; in get_scon() 623 static void disp_con(security_context_t scon_raw) in disp_con() 625 security_context_t scon_trans, scon; in disp_con() 751 security_context_t scon_raw = NULL; in main()
|
/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()
|
/external/selinux/policycoreutils/run_init/ |
D | run_init.c | 306 int get_init_context(security_context_t * context) 357 security_context_t new_context; /* context for the init script context */
|
/external/selinux/mcstrans/utils/ |
D | untranscon.c | 16 security_context_t scon; in main()
|
D | transcon.c | 17 security_context_t scon; in main()
|
/external/selinux/sandbox/ |
D | seunshare.c | 434 struct stat *out_st, struct passwd *pwd, security_context_t execcon) in create_tmpdir() 440 security_context_t con = NULL; in create_tmpdir() 552 killall (security_context_t execcon) in killall() 555 security_context_t scon; in killall() 618 security_context_t execcon = NULL; in main()
|
/external/selinux/libselinux/include/selinux/ |
D | selinux.h | 17 typedef char *security_context_t; typedef
|