CVS: cvs.openbsd.org: src

2022-12-28 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/12/28 23:49:34

Modified files:
share/man/man9 : fork1.9 

Log message:
capital letter at sentence start;



CVS: cvs.openbsd.org: src

2022-12-28 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2022/12/28 23:10:54

Modified files:
share/man/man9 : fork1.9 

Log message:
FORK_SIGHAND and the handling of func==NULL disappeared in 2017 in
sys/kern/kern_fork.c rev 1.195.



CVS: cvs.openbsd.org: src

2022-12-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/12/28 22:00:12

Modified files:
lib/libc/sys   : profil.2 

Log message:
profil(2) first appeared in fifth edition

tuhs/Distributions/Research/Dennis_v4/v4man.tar.gz has
manx/profil.2 but no man2/profil.2

the nsys sysent.c has ', /* 44 = prof */'
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/nsys/ken/sysent.c

profil(2) is first listed as v5 in the Combined Tables of Contents from
McIlroy's A Research UNIX Reader.
https://marc.info/?l=tuhs=158099986005023=2
and is present in
tuhs/Distributions/Research/Dennis_v5/v5man.pdf

ok schwarze@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/12/28 19:12:41

Modified files:
lib/libc/sys   : fcntl.2 

Log message:
fcntl(2) first appeared in System III
ok schwarze@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2022/12/28 18:36:36

Modified files:
sys/kern   : kern_sig.c kern_exit.c 
sys/sys: ktrace.h 
usr.bin/kdump  : kdump.c ktrstruct.c kdump.h 

Log message:
Add ktrace struct tracepoints for siginfo_t to the kernel side of
waitid(2) and __thrsigdivert(2) and teach kdump(1) to handle them.
Also report more from the siginfo_t inside PSIG tracepoints.

ok mpi@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/12/28 14:38:29

Modified files:
usr.sbin/relayd: relay_http.c 

Log message:
{en,de}queing -> {en,de}queuing; from paul tagliamonte



CVS: cvs.openbsd.org: src

2022-12-28 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/12/28 14:30:19

Modified files:
usr.sbin/ac: ac.c 
usr.sbin/acme-client: util.c 
usr.sbin/amd/amd: afs_ops.c amq_subr.c ifs_ops.c map.c wire.c 
usr.sbin/amd/doc: amdref.texinfo 
usr.sbin/amd/rpcx: amq.x nfs_prot.x 
usr.sbin/bgpctl: output_json.c 
usr.sbin/bgpd  : config.c kroute.c mrt.c mrt.h rde.c rde.h 
 rde_community.c rde_rib.c rde_trie.c 
 rtr_proto.c session.c 
usr.sbin/btrace: bt_parse.y bt_parser.h btrace.c 
usr.sbin/cron  : atrun.c 
usr.sbin/dvmrpd: rde.c 
usr.sbin/eigrpd: hello.c kroute.c rde_dual.c util.c 
usr.sbin/hostapd: parse.y 
usr.sbin/httpd : config.c 
usr.sbin/ifstated: ifstated.c 
usr.sbin/installboot: i386_nlist.c landisk_installboot.c 
usr.sbin/iscsid: iscsid.h vscsi.c 
usr.sbin/ldpd  : lde_lib.c util.c 
usr.sbin/lpd   : control.c engine.c frontend.c frontend_lpr.c 
 io.h lp.c lpd.c printer.c 
usr.sbin/lpr/common_source: lp.local.h 
usr.sbin/lpr/lpd: allowedhost.c lpd.c 
usr.sbin/lpr/lpq: lpq.c 
usr.sbin/lpr/lpr: lpr.c 
usr.sbin/makefs/msdos: msdosfs_unicode.c 
usr.sbin/mopd/common: common.h print.c 
usr.sbin/mopd/mopa.out: mopa.out.c 
usr.sbin/mopd/otherOS: Makefile 
usr.sbin/mopd/otherOS/linux2: mopd-x.x.x.spec 
usr.sbin/mrouted: rsrr.h vif.c 
usr.sbin/ndp   : ndp.c 
usr.sbin/npppd/l2tp: l2tp_ctrl.c 
usr.sbin/npppd/npppd: ppp.h 
usr.sbin/npppd/pptp: pptpd.c 
usr.sbin/ocspcheck: ocspcheck.c 
usr.sbin/ospf6d: util.c 
usr.sbin/ospfd : hello.c 
usr.sbin/pkg_add: package.5 
usr.sbin/pkg_add/OpenBSD: BaseState.pod State.pod Update.pm 
usr.sbin/pppd  : options.c 
usr.sbin/rad   : frontend.c rad.h 
usr.sbin/radiusd: radiusd.c radiusd_radius.c 
usr.sbin/relayd: relay.c relay_udp.c 
usr.sbin/rpc.lockd: lockd_lock.c 
usr.sbin/rpki-client: cms.c extern.h repo.c rsync.c 
usr.sbin/smtpd : smtp_client.c 
usr.sbin/snmpd : traphandler.c 
usr.sbin/syslogd: syslogd.c 
usr.sbin/tcpdump: igrp.h in_cksum.c print-icmp6.c print-ike.c 
  print-lwres.c print-nhrp.c print-rt6.c 
usr.sbin/usbdevs: usbdevs.c 
usr.sbin/user  : main.c 
usr.sbin/vmd   : loadfile_elf.c mmio.c ns8250.c virtio.c vm.c 
 vmd.c 
usr.sbin/wsmoused: mouse_protocols.c mouse_protocols.h 
usr.sbin/ypbind: ypbind.c 
usr.sbin/ypserv/revnetgroup: parse_netgroup.c 
usr.sbin/ypserv/ypserv: acl.c 

Log message:
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech



CVS: cvs.openbsd.org: src

2022-12-28 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2022/12/28 13:56:37

Modified files:
usr.sbin/iostat: iostat.c 

Log message:
iostat(8): implement periodic display with setitimer(2)

Prefer setitimer(2)+sigsuspend(2) to nanosleep(2) when performing
periodic work.  The latter drifts.

Link: https://marc.info/?l=openbsd-tech=167068674625838=2

ok millert@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2022/12/28 13:49:05

Modified files:
usr.bin/systat : vmstat.c 

Log message:
systat(1): vmstat: dinfo(): compute rates using real elapsed time

The "naptime" value is not the real elapsed time.  But showkre() has
the real elapsed time, "etime", so pass that as argument to dinfo().

Link: https://marc.info/?l=openbsd-tech=167095169115427=2

ok millert@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2022/12/28 08:46:39

Modified files:
share/man/man9 : microtime.9 

Log message:
microtime.9: rewrite description, miscellaneous cleanup

- Remove the bintime interfaces.  They should not be used outside of
the timecounting layer.  Unsure whether they warrant a manpage of
their own.
- In the SYNOPSIS, change the variable names for timespec interfaces
from "tv" to "ts".
- Document the new-ish "nsec" interfaces.
- Rewrite the DESCRIPTION.  Describe every clock completely in its own
paragraph.  Enumerate all the interfaces in tables.  Explicitly state
the output format for each interface in said tables.  Add new vocab
("hardware", "timestamp") to clarify the differences between the
"get" and non-"get" interfaces.
- Add the CONTEXT, RETURN VALUES, and ERRORS sections.
- Cross-reference clock_settime(2), timeradd(3), and tc_init(9).

Lots of input from schwarze@.

ok jmc@ schwarze@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2022/12/28 06:21:11

Modified files:
usr.sbin/rpki-client: geofeed.c 

Log message:
style(9) for includes



CVS: cvs.openbsd.org: src

2022-12-28 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2022/12/28 06:00:57

Modified files:
usr.bin/deroff : deroff.1 
usr.bin/make   : make.1 
usr.bin/sed: sed.1 

Log message:
the S in CSRC is Science not Sciences



CVS: cvs.openbsd.org: src

2022-12-28 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2022/12/28 05:56:35

Modified files:
sys/arch/riscv64/riscv64: pmap.c 

Log message:
The RISC-V architecture support execute-only mappings, so implement those.

ok jca@



CVS: cvs.openbsd.org: src

2022-12-28 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2022/12/28 05:16:35

Modified files:
usr.sbin/rpki-client: geofeed.c 

Log message:
Properly ignore comments in geofeed files

Do not consider comments and whitespace leading up to a comment as part
of the line.

ok claudio job



CVS: cvs.openbsd.org: src

2022-12-28 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2022/12/28 04:20:09

Modified files:
sys/arch/riscv64/dev: stfclock.c 

Log message:
Handle clock that can't be gated as a no-op.

ok patrick@



CVS: cvs.openbsd.org: src

2022-12-28 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2022/12/28 03:11:36

Modified files:
sys/dev/pv : vmt.c 

Log message:
Change space character to TAB.

ok tb mlarkin giovanni



CVS: cvs.openbsd.org: src

2022-12-28 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2022/12/28 02:53:33

Modified files:
etc: rc 

Log message:
Make wait_reorder_libs() honour library_aslr=NO

Otherwise it will unconditionally print an empty line in case relinking
is disabled.

Reported by kettenis
Feedback OK tb
OK florian