master
remove prototypes with no matching function and externs with no var partly checked by millert@
accton.c: add missing $OpenBSD$ tag
Unbreak previous.
When looking up a symble using kvm_nlist(3), we need to prepend an underscore. This fixes acpidump on arm64. How this ever worked before is unclear, but part of the puzzle is that we didn't properly check the return value of the kvm_nlist(3) calls. So fix that too.
Avoid gendered language in man pages when not referring to a specific person. Rewrite or use singular they.
correct indentation; no functional change ok tb@
Tweak previous: don't warn if hw.perfpolicy isn't available
simplify FILES, start EXAMPLES
Remove stylistic differences between arp(8) and ndp(8) delete() function. This makes it easier to spot real changes in behavior. OK kn@
Ignore extra groups that don't fit in the buffer passed to getgrouplist(3)
Properly escape ASCII control characters in JSON rather than erroring
Rewrite rde_update code to not use imsg_compose_ibuf anymore. OK tb@
Add /rib/in and /rib/out as endpoints to query the Adj-RIB-In and Adj-RIB-Out respectively.
drop custom rdaemon(), daemon(3) as usual
Correct the SYNOPSIS to show that having a program is required, remove a needless ambiguity, and do not use the same argument placeholder for two different arguments.
mark up arguments individually and drop redundant .Bk
Remove newbsd.gdb rather than bsd.gdb from reorder_kernel
when processing readdir(), this incorrectly did fstatat() against "..". observed during experimental work with O_BELOW ok millert, who may want to refactor this further.
ugh, another typo; spotted by naddy
Rewrite dev_mkdb with FTS
Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour
straighten synopsis for interface arguments
Drop chroot(2) + rdaemon() and rely on pledge(2) to daemon(3) as usual
More daemons need the same treatment as ospfd recently got in order to prevent NULL dereference in interface departure logic when the arrival of the same interface has not been observed.
man pages: add missing commas between subordinate and main clauses
remove sun3/4 bits missed when sparc was removed ok miod@
userspace: remove vestigial '?' cases from top-level getopt(3) loops
unbreak build; typofix d{ea -> ae}mon; noticed by bluhm
Fix qcpas matching pattern. Multiple ORed patterns go on multiple lines. Tested on a T14s in ACPI mode.
Build gpioctl(8) on riscv64.
Delete obsolete /* ARGSUSED */ lint comments.
The maximum length of the value is extended to 64k bytes.
Set correct request timeout once we found the correct server block.
snprintf/vsnprintf return < 0 on error, rather than -1.
Do not hardcode the CRL lifetime for "ikectl revoke" to 365 days. This value is supposed to be configurable via ikeca.cnf.
Allow UDP for built-in inetd(8) services on 127.0.0.1.
Only set BootOrder if our boot option isn't already part of it. This means sysupgrade (or reinstalls) will not longer set OpenBSD as the default OS if users change the boot order by some other means. Fresh installs will still make OpenBSD the default OS.
cap cpu stats at 99 to preserve column width and separation. feedback ok deraadt job miod
spelling. ok jmc
Always "get in first" by sending out the values for all session and connection params for each stage of the login process. This way iscsid is in control what is selected and the targets just need to answer. With this it is possible to connect to a lio target.
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno ok jmc@ schwarze@
The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.
Make stopped ldom utilization appear as zero
Print poll(2) errno
Fix missing line.
sync FILES and -s, fix one reference (lldpd does not talk to itself)
At least make this rotting version of lpd compile again.
sync manual section numbers
update the installed path for sendmail: from matt schwartz trim the comment - it is just repeating info
Set system ID field in the PVD to OpenBSD
-o[arg] must not have spaces between option and argument; OK jmc
fix off by one in bounds test ok deraadt@
reduce verbosity of usage(), making it match SYNOPSIS; ok kettenis
a.out is no longer the commonly encountered binary file format, the world has moved to ELF.
getifaddrs() can return entries where ifa_addr is NULL. Check for this before accessing anything in ifa_addr. ok claudio@
If ndp -d did not find a neigbor entry, it removed the cloning route instead. Comparing the arp(8) and ndp(8) code shows that the latter has a fallthrough to delete. Return an error also in this case. OK kn@
Christos Zoulas agreed to rescind clause 3 and 4 in NetBSD fsck.8 rev 1.35 fsutil.h rev 1.14 pathnames.h rev 1.2 netgroup_mkdb.8 rev 1.9 netgroup_mkdb.c rev 1.18 str.c rev 1.7 str.h rev 1.4 rdate.8 rev 1.11 rdate.c rev 1.19 extern.h rev 1.14 getnetgrent.c rev 1.41 netgroup.h rev 1.10 fparseln.3 rev 1.4 fparseln.c rev 1.10
Handle radiusd and npppd, they are different but nothing stands out.
Add NAS-Port attribute for Access-Request. This is required by RFC 2869.
Since we are not using a pid file the manuals render a bit strange. Pointed out by tb
Fix debug output for http headers
Prevent NULL dereference in ospfd interface departure logic when the arrival of the same interface has not been observed.
pkg_create: one "a" before .Ox should be "an" like all the others
Some atoi -> strtonum conversions; ok denis
VM_MAP_BUSY and VM_MAP_WANTLOCK will be removed soon, prep for that. OK dlg@
Add flags NOPERM, STALLED, SWAPPABLE, DOOMED to -v output.
pwd_mkdb: limit db entries to _PW_BUF_LEN to match libc
No need to declare optind, optarg or opterr; unistd.h does this for us. From Jan Stary. OK deraadt@
Use .Cm on keywords where it is unambiguously required, namely: yes, no, high, medium, low. OK florian@ and caspar@ on a slightly larger diff.
Use the value from RADIUS in preference.
Remove REQUIRE_TFTPBOOT left-over
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
sync synopsis and usage, sort commands, fix their spacing
Bump NTP era if the offset we receive is small, in a similar manner as ntpd. ok deraadt@
Add '-s' option to simply display the number of bytes available for the rdroot filesystem in the specified kernel.
Ensure that string buffers are '\0' terminated when handling them in the privileged parent.
Use getaddrinfo to lookup names and parse IP addresses.
Christos Zoulas removed his name from advertising clauses and copyrights of some files in NetBSD. Make the same changes here.
put an end to this silly strerror bikeshed
sasyncd is another unexpected imsg user that is in the end not that special
zap extra space in usage added by mistake in last commit.
smtpd.conf: highlight that the action has to be pre-declared in match
Convert various reyk proc.c daemons over to new imsgbuf_init and imsgbuf_allow_fdpass.
zap whitespaces
Fix memleak in syslogd(8) when client aborts TLS connection.
have sysmerge and sysupgrade Xr each other; diff originally from peter n. m. hansteen
Match what reorder_kernel is doing and use kern.osversion to find out whether we are running an MP kernel or not.
Fix OpenBSD RCS ID typos. from Andrius V
Accept netstat-style address.port syntax too. OK bluhm@ deraadt@ jmc@
tcpdump.org says DLT_RAW can contain both types of IP.
Reinstate mention of chroot(2) and user quoting
remove outdated contact details for ActivCard and CRYPTOCard
Get rid of inet_aton
merge unbound 1.22.0, ok florian
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
moduser: fix use-after-free when locking/unlocking an account.
Replace use of the old BSD st_*timespec members in struct stat with the POSIX-standard st_*tim members.
Remove vmd(8) send & receive functionality.
Prevent vmd(8) guests from reading outside pci config space.
Add -g option to get the index of the current virtual terminal. This can help scripts using wsconsctl display.focus to perform vt switches.
found some boilerplate strncpy to replace with strlcpy. They are in messages, but the messages are zero'd first. ok jmatthew
Use getaddrinfo to parse IP addresses and lookup names.
correct indentation
Merge changes from tzcode2013[e-g]
wire lldp, lldpd, and bpflogd up.
build most of usr.sbin with -Werror-implicit-function-declaration ok florian@