Searched refs:SETRANS_UNIX_SOCKET (Results 1 – 3 of 3) sorted by relevance
30 #define SETRANS_UNIX_SOCKET "/var/run/setrans/.setrans-unix" macro70 (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()
4 #define SETRANS_UNIX_SOCKET SELINUX_TRANS_DIR "/.setrans-unix" macro
70 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()