Searched refs:xdg_session_file (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libpam/modules/pam_xdg/ |
H A D | pam_xdg.c | 61 char *xdg_session_file; in _pam_xdg_open() local 149 rv = asprintf(&xdg_session_file, "%s/xdg_session.%d", user, i); in _pam_xdg_open() 156 session_file = openat(rt_dir_prefix, xdg_session_file, O_CREAT | O_EXCL, RUNTIME_DIR_MODE); in _pam_xdg_open() 157 free(xdg_session_file); in _pam_xdg_open() 216 char *xdg_session_file; in _pam_xdg_close() local 272 rv = asprintf(&xdg_session_file, "%s/xdg_session.%d", user, i); in _pam_xdg_close() 279 session_file = openat(rt_dir_prefix, xdg_session_file, 0); in _pam_xdg_close() 281 unlinkat(rt_dir_prefix, xdg_session_file, 0); in _pam_xdg_close() 282 free(xdg_session_file); in _pam_xdg_close() 285 free(xdg_session_file); in _pam_xdg_close()
|