Home
last modified time | relevance | path

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

/external/selinux/restorecond/
Dutmpwatcher.c45 static struct stringsList *utmp_ptr = NULL; variable
53 struct stringsList *prev_utmp_ptr = utmp_ptr; in utmpwatcher_handle()
57 utmp_ptr = NULL; in utmpwatcher_handle()
64 strings_list_add(&utmp_ptr, u.ut_user); in utmpwatcher_handle()
75 changed = strings_list_diff(prev_utmp_ptr, utmp_ptr); in utmpwatcher_handle()
84 struct stringsList *ptr = utmp_ptr; in watch_file()
101 if (utmp_ptr == NULL) { in utmpwatcher_add()
109 if (utmp_ptr) in utmpwatcher_free()
110 strings_list_free(utmp_ptr); in utmpwatcher_free()