the getopt(3) function was once specified to return EOF instead of -1;
this was changed by IEEE Std 1003.2-1992 ("POSIX.2") to decouple getopt()
from stdio.h.
OK millert@
clarify that RFC 6052 specifies that bits 64 through 71 of the address must
be set to zero; these bits are reserved to ensure compatibility with the host
identifier format defined in the IPv6 addressing architecture (see RFC 4291)
OK sashan@
Use BITMAP_MARKER instead of the magic 0x1 in the bitmap code to
tag maps with have external storage. Also define the marker as 0x1ULL
to be on the safer side when it comes to the involved bit operations.
With and OK tb@
httpd: pass struct server_request to the request handlers
Make handlers and the response writer take the request
instead of the client.
No functional change.
looks fine claudio@, OK rsadowski@
httpd: add struct server_request
Move the request state out of struct client into a new struct
server_request, one allocated per client.
No functional change.
looks fine claudio@, OK rsadowski@
Adjust bitmap_id_get in a similar way bitmap_empty.
Process the first element outside of the loop and then the loop
becomes trivial. Also use a single form to calculate the returned
id and use a goto done to jump there.
OK tb@
Better frame buffer driver for HP Artist (onboard 712) and Visualize EG
(onboard B-class and some C-class, as well as PCI) devices, allowing proper
(currently unaccelerated) X11 support, as well as color, underline and larger
fonts in console.
Ported from NetBSD.
Fix memory leak of the adjout array in pt_free
pt_free needs to free the adjout array, do this with adjout_prefix_free
which takes care of accounting and kind of handles cases where the removed
prefixes are actually still active -- in this case peer prefix counts will
be off.
Create a little helper (adjout_prefix_destroy) to take care of clearing
out a adjout_prefix.
Based on a report by Nate P nate.pusnik gmail com
OK tb@
Take the inline marker check out of the loop in bitmap_empty
Instead of checking on every iteration if this is the first element
handle the first element before the loop and start the loop on the
2nd element.
OK tb@
Remove pcap_fddipad and the PCAP_FDDIPAD define in pcap-int.h
tcpdump on alpha does not build right now because pcap_fddipad is no
longer exported. Nothing in OpenBSD uses DLT_FDDI, in other words no
FDDI padding is done in the kernel.
OK jsg@ miod@
Fix the pinctrl bias setting, since the current OF_getproplen() check
did only match for valueless boolean values. On the SGB4E the i2c20
bus still did work because it has external pull-ups.
While there, add support for the bias-bus-hold field.
Feedback and ok kettenis@
fusefs: implement pathconf
fusefs used spec_pathconf() which returns EINVAL for _PC_NAME_MAX
and others, so getconf NAME_MAX fails on a FUSE mount and pjdfstest
can't run at all.
Add fusefs_pathconf() based on ufs_pathconf().
Other _PC_ names can be added when needed
OK helg@
After file descriptor exhaustion, syslogd keeps using TLS.
In case file descriptors are nearly exhausted, syslogd does not
accept(2) new connections, but keeps a reserve. After such an
event, TLS listen sockets switched to regular TCP behavior. This
allowed unauthenticated log data to come in and prevented further
TLS connections.
from Acts1631
Add R key to rename in tree mode, and -n flag to rename-window,
rename-session, select-pane to skip expanding formats in new names or
titles. From Michael Grant.
Use maxfiles as global queue limit for listen sockets.
Sockets on the listen queues have no file yet and were not limited
by kern.maxfiles. A local user could fill the queues of many UNIX
listen sockets with disconnected children and exhaust kernel memory.
Count the queued TCP and UNIX sockets globally and refuse new
connections when they exceed maxfiles. Each queued socket would
become a file after accept(2) anyway.
from Acts1631; OK mvs@