Home
last modified time | relevance | path

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

/src/crypto/openssl/util/
H A Dmkerr.pl140 my $statefile; # state file with assigned reason and function codes
172 $statefile = $1;
179 if ( ! $statefile ) {
180 $statefile = $config;
181 $statefile =~ s/.ec/.txt/;
187 if ( ! $reindex && $statefile ) {
188 open(STATE, "<$statefile") || die "Can't open $statefile, $!";
209 die "Bad line in $statefile:\n$_\n";
231 die "Bad line in $statefile:\n$_\n";
677 open(OUT, ">$statefile.new")
[all …]
/src/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dzed-functions.sh767 time_prev="$(grep -E "^[0-9]+;${tag}\$" "${statefile}" 2>/dev/null \
776 grep -E -v "^[0-9]+;${tag}\$" "${statefile}" 2>/dev/null \
777 > "${statefile}.$$"
778 echo "${time_now};${tag}" >> "${statefile}.$$"
779 mv -f "${statefile}.$$" "${statefile}"
/src/crypto/openssh/
H A Dsshkey-xmss.c450 char *statefile = NULL, *ostatefile = NULL, *lockfile = NULL; in sshkey_xmss_get_state() local
473 asprintf(&statefile, "%s.state", filename) == -1 || in sshkey_xmss_get_state()
498 statefile, &have_state, printerror)) != 0) { in sshkey_xmss_get_state()
529 free(statefile); in sshkey_xmss_get_state()
575 char *statefile = NULL, *ostatefile = NULL, *nstatefile = NULL; in sshkey_xmss_update_state() local
599 if (asprintf(&statefile, "%s.state", filename) == -1 || in sshkey_xmss_update_state()
650 if (link(statefile, ostatefile)) { in sshkey_xmss_update_state()
652 PRINT("backup state %s to %s", statefile, ostatefile); in sshkey_xmss_update_state()
656 if (rename(nstatefile, statefile) == -1) { in sshkey_xmss_update_state()
658 PRINT("rename %s to %s", nstatefile, statefile); in sshkey_xmss_update_state()
[all …]