Age | Commit message (Collapse) | Author |
|
The functionality has moved into log_setdebug().
OK millert@
|
|
the error string. Log the message when the error happens and make
the function void.
OK millert@
|
|
process incoming messages. Split this functionality into log_info()
and logline(). Sort the parameters like they appear in the syslog
line.
OK millert@
|
|
Make messages a bit more consistent. Note that the new function
supports format strings. Replace some log_debug() with log_warn().
OK millert@
|
|
|
|
OK deraadt@
|
|
w/ millert
|
|
Internally syslogd's fatal() calls die() to do cleanup if necessary.
Also replace all err(3) after log_init() with fatal().
OK millert@
|
|
ok millert@ deraadt@
|
|
ok millert@ deraadt@
|
|
OK rzalamena@
|
|
This code suffered from many years of incremental improvements, fix it to:
- verify available buffer space in all cases and don't just trust the caller
- have an API where you always pass the full buffer length and absolute offset
- use consistent types for lengths and buffer offsets (int vs. size_t, ssize_t)
- don't just ignore errors, return and fail when something is wrong
OK rzalamena@
|
|
ok millert@ deraadt@ tom@
|
|
zero the buffers first. All the current objects appear to be safe,
however future changes might introduce structure pads.
Discussed with guenther, ok bluhm
|
|
|
|
message advising use of "fw_update -d" rather than saying "ok" and doing
nothing. (pkg_delete intentionally makes it hard to uninstall firmware
to prevent surprises when cleaning a machine).
aja and I were surprised by the "ok" leaving the fw package installed.
suggestion from espie to mention fw_update -d in the message.
|
|
log_debugadd() to construct debug message incrementally.
OK deraadt@
|
|
do not look up windows as sessions (and panes as windows) when they are
qualified with a ':' or a '.'. So 'foo' as a window target will look for
windows and sessions called 'foo', but ':foo' will only look for
windows, and 'foo:' only for sessions. This means the common case of
using an unadorned session as a window target (send -tfoo) should
continue to work, but an explicit window will not get confused with a
session (send -t:foo).
|
|
falls back to an alternative if the tty name is not available. This is
clearer than overloading the client ttyname member and allows us to
remove the path stored in the tty struct, it should always be the same
as the client.
|
|
|
|
of writing them individually.
|
|
i've omitted hunk 3 of his diff, as what's there now is correct;
ok mikeb
|
|
- add -Z to help and usage()
|
|
|
|
copyout to avoid leaking kernel stack
ok deraadt@
|
|
future disk info sysctl has pads in the structures, use M_ZERO when
allocating the storage to avoid leaking kernel memory.
|
|
it has no pads, but a future ABI change could add something and leak
kernel memory.
|
|
|
|
with -Z
ok jsing@
|
|
as PEM format. This allows for it to be used or examined with tools
external to libtls
bump minor
ok jsing@
|
|
public key as an identifier to RSA, and adds an function for relayd to
use to disable private key checking when doing engine privsep.
ok jsing@
|
|
cannot happen and there is nothing that could be done about it.
OK deraadt@
|
|
ok reyk@ deraadt@ jmc@
|
|
|
|
the servers config for its rekeying handling. Without this no rekeying happens
and httpd stops working. Learned the hard way by me and beck@
OK reyk@
|
|
changes to avoid exposing userland memory.
|
|
question is set to http if /etc/installurl exists and override the
install method information from the cgi server.
'makes sense' deraadt@
|
|
OK rzalamena@
|
|
OK rzalamena@
|
|
Replaces forcing interface link state down and up to generate
RTM_IFINFO messages.
|
|
|
|
|
|
OK jsg@
|
|
are. Track and use the actual lengths and use memcpy()/memcmp()
instead of strcmp()/strdup().
|
|
remove some debug printfs, get rid of STATIC and __inline defines and
remove a bit more unused code.
ok drahn@, visa@
|
|
the release write becomes globally visible only after any writes
of the critical section are globally visible. In practice, the
reordering has not happened because the kernel runs in the total
store order mode.
Tested by and OK kettenis@
|
|
|
|
string to hex nybble by nybble. This avoids using the return value
of snprintf() unchecked. OK deraadt@
|
|
need to be installed by hand until the iwm-firmware package has been updated.
This includes handling (by ignoring) of IWM_UCODE_TLV_FW_MEM_SEG and
IWM_DEBUG_LOG_MSG firmware commands. Mostly stolen from dragonflybsd.
With this in the X270 has working ethernet and wifi.
Commit! deraadt@
|
|
Michal Zalewski, feedback & ok deraadt@
|