Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c601 const char *runtime_path = config->runstatedir; in zfs_key_config_modify_session_counter() local
602 if (mkdir(runtime_path, S_IRWXU) != 0 && errno != EEXIST) { in zfs_key_config_modify_session_counter()
607 if (chown(runtime_path, 0, 0) != 0) { in zfs_key_config_modify_session_counter()
612 if (chmod(runtime_path, S_IRWXU) != 0) { in zfs_key_config_modify_session_counter()
619 if (asprintf(&counter_path, "%s/%u", runtime_path, config->uid) == -1) in zfs_key_config_modify_session_counter()