Searched refs:runtime_path (Results 1 – 1 of 1) sorted by relevance
601 const char *runtime_path = config->runstatedir; in zfs_key_config_modify_session_counter() local602 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()