Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/util/
H A Dmkerr.pl139 my $statefile; # state file with assigned reason and function codes
171 $statefile = $1;
178 if ( ! $statefile ) {
179 $statefile = $config;
180 $statefile =~ s/.ec/.txt/;
186 if ( ! $reindex && $statefile ) {
187 open(STATE, "<$statefile") || die "Can't open $statefile, $!";
208 die "Bad line in $statefile:\n$_\n";
230 die "Bad line in $statefile:\n$_\n";
669 open(OUT, ">$statefile.new")
[all …]
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dzed-functions.sh761 time_prev="$(grep -E "^[0-9]+;${tag}\$" "${statefile}" 2>/dev/null \
770 grep -E -v "^[0-9]+;${tag}\$" "${statefile}" 2>/dev/null \
771 > "${statefile}.$$"
772 echo "${time_now};${tag}" >> "${statefile}.$$"
773 mv -f "${statefile}.$$" "${statefile}"
/freebsd/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 …]