Home
last modified time | relevance | path

Searched refs:security_context_t (Results 1 – 17 of 17) sorted by relevance

/external/selinux/policycoreutils/mcstrans/src/
Dmcstrans.h7 extern int trans_context(const security_context_t, security_context_t *);
8 extern int untrans_context(const security_context_t, security_context_t *);
Dmcscolor.c47 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()
Dmcstransd.c49 extern int trans_context(const security_context_t, security_context_t *);
50 extern int untrans_context(const security_context_t, security_context_t *);
54 extern int raw_color(const security_context_t, char **);
Dmcstrans.c892 extract_range(const security_context_t incon) { in extract_range()
915 new_context_str(const security_context_t incon, const char *range) { in new_context_str()
1499 trans_context(const security_context_t incon, security_context_t *rcon) { in trans_context()
1606 untrans_context(const security_context_t incon, security_context_t *rcon) { in untrans_context()
/external/openssh/openbsd-compat/
Dport-linux.c60 static security_context_t
63 security_context_t sc = NULL; in ssh_selinux_getctxbyname()
110 security_context_t user_ctx = NULL; in ssh_selinux_setup_exec_context()
141 security_context_t new_tty_ctx = NULL; in ssh_selinux_setup_pty()
142 security_context_t user_ctx = NULL; in ssh_selinux_setup_pty()
143 security_context_t old_tty_ctx = NULL; in ssh_selinux_setup_pty()
188 if (getcon((security_context_t *)&oldctx) < 0) { in ssh_selinux_change_context()
225 security_context_t context; in ssh_selinux_setfscreatecon()
/external/selinux/policycoreutils/newrole/
Dnewrole.c626 int send_audit_message(int success, security_context_t old_context, in send_audit_message()
627 security_context_t new_context, const char *ttyn) in send_audit_message()
660 security_context_t old_context in send_audit_message()
662 security_context_t new_context in send_audit_message()
678 static int relabel_tty(const char *ttyn, security_context_t new_context, in relabel_tty()
679 security_context_t * tty_context, in relabel_tty()
680 security_context_t * new_tty_context) in relabel_tty()
684 security_context_t tty_con = NULL; in relabel_tty()
685 security_context_t new_tty_con = NULL; in relabel_tty()
752 security_context_t tty_context, in restore_tty_label()
[all …]
/external/selinux/policycoreutils/secon/
Dsecon.c345 static int my_getXcon_raw(pid_t pid, security_context_t * con, const char *val) in my_getXcon_raw()
375 static int my_getpidexeccon_raw(pid_t pid, security_context_t * con) in my_getpidexeccon_raw()
379 static int my_getpidfscreatecon_raw(pid_t pid, security_context_t * con) in my_getpidfscreatecon_raw()
383 static int my_getpidkeycreatecon_raw(pid_t pid, security_context_t * con) in my_getpidkeycreatecon_raw()
388 static security_context_t get_scon(void) in get_scon()
391 security_context_t con = NULL, con_tmp; in get_scon()
624 static void disp_con(security_context_t scon_raw) in disp_con()
626 security_context_t scon_trans, scon; in disp_con()
751 security_context_t scon_raw = NULL; in main()
/external/ipsec-tools/src/racoon/
Dpolicy.h159 extern int within_range __P((security_context_t, security_context_t));
Dsecurity.c215 within_range(security_context_t sl, security_context_t range) in within_range()
/external/selinux/policycoreutils/run_init/
Drun_init.c298 int get_init_context(security_context_t * context)
349 security_context_t new_context; /* context for the init script context */
/external/selinux/policycoreutils/sandbox/
Dseunshare.c434 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/policycoreutils/mcstrans/utils/
Duntranscon.c16 security_context_t scon; in main()
Dtranscon.c17 security_context_t scon; in main()
/external/selinux/policycoreutils/setfiles/
Drestore.c36 static int filespec_add(ino_t ino, const security_context_t con, const char *file);
107 security_context_t curcon = NULL, newcon = NULL; in restore()
558 static int filespec_add(ino_t ino, const security_context_t con, const char *file) in filespec_add()
/external/libselinux/include/selinux/
Dselinux.h17 typedef char *security_context_t; typedef
/external/selinux/libselinux/include/selinux/
Dselinux.h17 typedef char *security_context_t; typedef
/external/selinux/libselinux/
DChangeLog33 * Get rid of security_context_t and fix const declarations.