Searched refs:log_fd (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
H A D | ipropd_master.c | 928 get_first(kadm5_server_context *server_context, int log_fd, in get_first() argument 938 if (flock(log_fd, LOCK_SH) == -1) { in get_first() 943 ret = kadm5_log_get_version_fd(server_context, log_fd, LOG_VERSION_FIRST, in get_first() 946 flock(log_fd, LOCK_UN); in get_first() 966 int log_fd, uint32_t current_version, in get_left() argument 978 ret = get_first(server_context, log_fd, in get_left() 985 flock(log_fd, LOCK_UN); in get_left() 1023 flock(log_fd, LOCK_UN); in get_left() 1075 flock(log_fd, LOCK_UN); in get_left() 1080 get_right(krb5_context context, int log_fd, krb5_storage *sp, in get_right() argument [all …]
|
H A D | log.c | 545 server_context->log_context.log_fd, in kadm5_log_get_version() 577 if (lock_mode == log_context->lock_mode && log_context->log_fd != -1) in log_open() 585 if (log_context->log_fd != -1) { in log_open() 587 fd = log_context->log_fd; in log_open() 608 if (fd != log_context->log_fd) in log_open() 613 log_context->log_fd = fd; in log_open() 642 fd = log_context->log_fd; in log_init() 720 if (log_context->log_fd != -1) { in kadm5_log_reinit() 721 if (ftruncate(log_context->log_fd, 0) < 0) { in kadm5_log_reinit() 725 if (lseek(log_context->log_fd, 0, SEEK_SET) < 0) { in kadm5_log_reinit() [all …]
|
H A D | ipropd_slave.c | 247 log_off = lseek(server_context->log_context.log_fd, 0, SEEK_CUR); in append_to_log_file() 255 sret = net_write(server_context->log_context.log_fd, buf, len); in append_to_log_file() 260 ret = fsync(server_context->log_context.log_fd); in append_to_log_file() 270 if (ftruncate(server_context->log_context.log_fd, log_off) == -1 || in append_to_log_file() 271 lseek(server_context->log_context.log_fd, log_off, SEEK_SET) == -1) { in append_to_log_file()
|
H A D | private.h | 89 int log_fd; member
|
H A D | init_s.c | 88 ctx->log_context.log_fd = -1; in kadm5_s_init_with_context()
|
/netbsd-src/external/bsd/dhcpcd/dist/src/ |
H A D | logerr.c | 58 int log_fd; member 71 .log_fd = -1, 217 if (ctx->log_fd != -1) { in vlogmessage() 228 len = (int)write(ctx->log_fd, buf, in vlogmessage() 370 return ctx->log_fd; in loggetfd() 378 ctx->log_fd = fd; in logsetfd()
|
/netbsd-src/external/bsd/cron/dist/ |
H A D | CHANGES | 69 Dan O'Neil reminded me that I forgot to reset "log_fd" in misc.c. A lot of 117 tricky bit of badness in the "log_fd" problem.
|