Home
last modified time | relevance | path

Searched refs:SETRANS_UNIX_SOCKET (Results 1 – 3 of 3) sorted by relevance

/external/selinux/mcstrans/src/
Dmcstransd.c30 #define SETRANS_UNIX_SOCKET "/var/run/setrans/.setrans-unix" macro
70 (void)unlink(SETRANS_UNIX_SOCKET); in cleanup_exit()
491 strncpy(addr.sun_path, SETRANS_UNIX_SOCKET, sizeof(addr.sun_path) - 1); in initialize()
493 (void)unlink(SETRANS_UNIX_SOCKET); in initialize()
505 if (chmod(SETRANS_UNIX_SOCKET, S_IRWXU | S_IRWXG | S_IRWXO)) { in initialize()
/external/selinux/libselinux/src/
Dsetrans_internal.h4 #define SETRANS_UNIX_SOCKET SELINUX_TRANS_DIR "/.setrans-unix" macro
Dsetrans_client.c70 strncpy(addr.sun_path, SETRANS_UNIX_SOCKET, sizeof(addr.sun_path)); in setransd_open()
283 has_setrans = (access(SETRANS_UNIX_SOCKET, F_OK) == 0); in init_context_translations()