IABSD.fr/src/share

Branch :


Log

Author Commit Date CI Message
86a45bbd 2023-01-01 01:19:18 timeout.9: document new interfaces, miscellaneous rewrites and cleanup - Document timeout_abs_ts(9). - Add the kclock arguments to timeout_set_flags(9) and TIMEOUT_INITIALIZER_FLAGS(9). - Document KCLOCK_NONE and KCLOCK_UPTIME. - Mention the static initialization macros alongside timeout_set(9) etc.; keep relevant information adjacent. - Mention timeout_add_sec(9) etc. alongside timeout_add(9); keep relevant information adjacent. ... plus many other cleanups, rewrites, and rearrangements. Prompted by mvs@ and many others. With input from jmc@, mvs@, kn@, schwarze@, and probably a few others I have forgotten. v1: https://marc.info/?l=openbsd-tech&m=162449274513068&w=2 v2: https://marc.info/?l=openbsd-tech&m=165851505627764&w=2 v3: https://marc.info/?l=openbsd-tech&m=167250339811308&w=2 ok jmc@ mvs@ schwarze@
e982275c 2022-12-29 06:49:34 capital letter at sentence start;
879f4f87 2022-12-29 06:10:54 FORK_SIGHAND and the handling of func==NULL disappeared in 2017 in sys/kern/kern_fork.c rev 1.195.
744ba802 2022-12-28 15:46:39 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@
a6e9b3e5 2022-12-26 19:34:12 spelling fix; from paul tagliamonte ok millert
82459cdf 2022-12-26 03:09:04 Document ruby32 FLAVOR for Ruby ports
f4276707 2022-12-23 07:37:21 - hostname.if can handle lladdr as well as if names now - mention that they can be used for dynamic addressing - lower the reading order of multicast routing (it makes sense to place this at the end) - Xr route(8) up front of the route text, not the end - use Xr rather than Pa where possible - reorder the forwarding text
160890f3 2022-12-23 07:16:54 point readers, where relevant, to route(8) rather than netstat(1) or route(4); remove some redundant info regarding netstat -r from ipcomp/ipsec feedback claudio sthen ok claudio kn sthen
881f6c5f 2022-12-22 19:53:22 Denote multiple arguments with 'arg ...' not 'args' A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation. mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour. Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place. For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words. Feedback millert jmc schwarze deraadt OK jmc
85fc16ea 2022-12-17 14:53:16 add arch to Dt;
93aad84f 2022-12-17 12:02:00 aplefuse(4)
51e3b6ac 2022-12-16 04:04:25 Prioritize lladdr over name/unit in hostname.if processing When needed, lladdr is more precise and enduring. Suggested by deraadt@ Many improvments and OK kn@
e5b1332b 2022-12-15 06:39:05 rework the text describing interface name; feedback deraadt afresh kn
9c0e33d3 2022-12-13 06:58:03 add tipd(4);
cc97c6c4 2022-12-13 02:50:01 The C compiler -rdynamic argument is not specific to gcc, so just say 'cc' queried by and ok jcw@
809d25fa 2022-12-12 20:44:00 Fix typo.
b930fe35 2022-12-12 19:25:49 tipd(4)
1b715172 2022-12-09 21:19:53 fix double word and Ar -> Dv;
123a6750 2022-12-09 17:16:36 document changes to uvm_map_protect() for setting the UVM_ET_STACK in some cases (setrlimit, atomically, only kernel reachable, ...)
08937423 2022-12-09 09:30:54 Allow overriding default run-regress-* targets Overriding a default run-regress-* target with custom commands is already possible and done by many tests. The fact that it currently works depends on behavior in the BUGs section of make.1, however. The fix is not to add commands if the target is already defined with commands. tested by anton correct fix from espie, ok anton
16c986d8 2022-12-06 16:18:51 list hatch-vcs for MODPY_PYBUILD
79dca765 2022-12-05 23:14:03 make all lists non -compact, to keep spacing consistent; from brad ok jca while here knock out the resulting unnecessary Pp and wrap some long lines
af42e33e 2022-12-05 20:12:00 Add support configuring hostname.if(5) by lladdr Original implementation by martijn@ Feedback and suggestions from kn@, sthen@, claudio@, florian@, and deraadt@. ok deraadt
e2e3bd4a 2022-11-30 17:59:46 Update to 2022ggtz from https://github.com/JodaOrg/global-tz Major changes: * The northern edge of Chihuahua changes to US timekeeping. * Much of Greenland stops changing clocks after March 2023. * Fix some pre-1996 timestamps in northern Canada.
35cdf233 2022-11-27 15:27:17 Zap qt3/4 remnants, MODQMAKE_RECURSIVE always defaults to yes Like that since ports devel/qmake/qmake.port.mk r1.11 Zap qt3 remnants
4b358394 2022-11-27 15:08:16 x11/qt3 and qt4 are no more, say x11/qt* like the module's error message
5bdff5a3 2022-11-23 23:47:05 pwmleds(4)
e0afbaeb 2022-11-21 22:01:51 aplpwm(4)
48308923 2022-11-20 16:45:10 Sync struct pfi_kif with reality pfik_srcnodes and pfik_flagrefs members were added in sys/net/pfvar.h r1.492 (jul 2019) and r1.505 (dec 2021), respectively.
1f1797ab 2022-11-18 18:11:10 Improve "once" bits - use imperative tense in the pf.conf(5) "once" part - leave printing implementation details to pfctl(8)'s "-s rules" part - use more markup - debug mode also prints expired rules OK jmc sashan
082ec81d 2022-11-14 09:34:51 Document arm64 as supporting RAID 1C boot Now that installboot(8) -p is softraid(4) aware, fresh arm64 installations actually boot out of the box without manual intervention, as expected.
facbc3fb 2022-11-11 21:41:45 fix ounctuation and SEE ALSO;
2022a111 2022-11-11 15:25:13 Add icc(4) to handle Customer Control keyboards attached to i2c bus. ok anton@ patrick@
301360a6 2022-11-11 11:27:05 resync with ISO web site; ok kmos@
c542be8a 2022-11-10 23:57:31 divison -> division
05cbc9aa 2022-11-10 19:10:50 fix SEE ALSO and new sentence, new line; similar patch floated by josian frentsos on tech
588f4160 2022-11-10 19:07:21 tweak the "once" text; ok sashan
461ddc6b 2022-11-10 13:08:57 qcpon(4), qcpwm(4), qcrtc(4)
44055457 2022-11-10 12:59:26 update for consistency
dbbde221 2022-11-10 12:57:08 qcpmic(4), qcpmicgpio(4), qcspmi(4)
77860630 2022-11-10 12:40:07 qcpdc(4)
1e75ade7 2022-11-10 12:36:38 Move manpages for Qualcomm devices over to the MI directory. kettenis@ put them into the arm64-specific one mostly because they were for ACPI and that will definitely be arm64-specific. I have committed most of the FDT ones to the MI fdt directory. dlg@ would be happier with those manpages in the MI one. There are more manpages to come as well.
27ea7898 2022-11-10 11:02:26 Regen
886cb583 2022-11-10 07:05:41 Add support for per-cpu event counters, to be used for clock and IPI counters where the event being counted occurs across all CPUs in the system. Counter instances can be made per-cpu by calling evcount_percpu() after the counter is attached, and this can occur before or after all system CPUs are attached. Per-cpu counter instances should be incremented using evcount_inc(). ok kettenis@ jca@ cheloha@
a21b78ca 2022-11-09 23:00:00 simplify expiration of 'once' rules. let packet to mark 'once' rule as expired. The rule will be removed by pfctl(8) when rules are updated. OK kn@
98abb01d 2022-11-09 22:18:53 Regen
c0a65584 2022-11-07 10:21:17 Nuke last references to d_drivedata.
b91554c6 2022-11-06 18:32:51 regen after /dev/pf? cleanup (only /dev/pf exists)
57cfaf40 2022-11-06 13:01:02 add arch to Dt;
02b0053d 2022-11-06 12:18:28 qcdwusb(4)
b4efbba6 2022-11-06 09:26:29 Document LOGDIR on its own since it's not a bsd.port.mk variable. ok espie
031079e7 2022-11-05 23:18:03 - escape a macro in an Rs/Re block: groff appears to think it is callable - while here, sort NAME
329e3480 2022-11-05 19:29:45 clockintr(9): initial commit clockintr(9) is a machine-independent clock interrupt scheduler. It emulates most of what the machine-dependent clock interrupt code is doing on every platform. Every CPU has a work schedule based on the system uptime clock. For now, every CPU has a hardclock(9) and a statclock(). If schedhz is set, every CPU has a schedclock(), too. This commit only contains the MI pieces. All code is conditionally compiled with __HAVE_CLOCKINTR. This commit changes no behavior yet. At a high level, clockintr(9) is configured and used as follows: 1. During boot, the primary CPU calls clockintr_init(9). Global state is initialized. 2. Primary CPU calls clockintr_cpu_init(9). Local, per-CPU state is initialized. An "intrclock" struct may be installed, too. 3. Secondary CPUs call clockintr_cpu_init(9) to initialize their local state. 4. All CPUs repeatedly call clockintr_dispatch(9) from the MD clock interrupt handler. The CPUs complete work and rearm their local interrupt clock, if any, during the dispatch. 5. Repeat step (4) until the system shuts down, suspends, or hibernates. 6. During resume, the primary CPU calls inittodr(9) and advances the system uptime. 7. Go to step (2). This time around, clockintr_cpu_init(9) also advances the work schedule on the calling CPU to skip events that expired during suspend. This prevents a "thundering herd" of useless work during the first clock interrupt. In the long term, we need an MI clock interrupt scheduler in order to (1) provide control over the clock interrupt to MI subsystems like timeout(9) and dt(4) to improve their accuracy, (2) provide drivers like acpicpu(4) a means for slowing or stopping the clock interrupt on idle CPUs to conserve power, and (3) reduce the amount of duplicated code in the MD clock interrupt code. Before we can do any of that, though, we need to switch every platform over to using clockintr(9) and do some cleanup. Prompted by "the vmm(4) time bug," among other problems, and a discussion at a2k19 on the subject. Lots of design input from kettenis@. Early versions reviewed by kettenis@ and mlarkin@. Platform-specific help and testing from kettenis@, gkoehler@, mlarkin@, miod@, aoyama@, visa@, and dv@. Babysitting and spiritual guidance from mlarkin@ and kettenis@. Link: https://marc.info/?l=openbsd-tech&m=166697497302283&w=2 ok kettenis@ mlarkin@
c8819f5d 2022-11-02 10:41:34 Remove audio(9) speaker_ctl(), let open() handle speakers where needed Only five legacy half-duplex hardware drivers require this function to change between playing and recording: i386: ess(4), gus(4), pas(4), sb(4) luna88k: nec86(4) If defined, it is always called early in audio_open(), so just move the call from audio(4) to each hardware driver's open() handler. SPKR_ON/OFF remain defined to leave driver-specific code unchanged. Further cleanup (unchecked speaker_ctl() return values, FWRITE -> AUMODE_PLAY -> SPKR_ON dances, etc.) can happen later. Builds fine on i386. OK ratchov
271fd70c 2022-10-31 15:35:11 Update to 2022fgtz from https://github.com/JodaOrg/global-tz Major changes: o Mexico will no longer observe DST except near the US border. o Chihuahua moves to year-round -06 on 2022-10-30. o Fiji no longer observes DST.
1c987c6f 2022-10-28 15:13:59 Remove unused audio(9) get_props()/AUDIO_PROP_FULLDUPLEX All audio drivers have been cleaned up and, if needed, now check for duplex mode in their open() handler. OK ratchov miod
8fa42865 2022-10-25 17:10:13 trim DESCRIPTION - just call it (a sh(1)) script, in line with MAKEDEV(8) and rc.d(8) - use only .Nm thereafter instead of .Nm/the .Nm script/... - zap the additional rc.conf(8) bits for they can be found in this manual - zap unhelpful "(or can be)" Feedback OK jmc
ce51a6bd 2022-10-25 09:54:24 Fix several "bytes" in DESCRIPTION to their clearly intended "packets". Found by Alec olp_76 <at> yahoo <dot> ca OK sthen@, denis@
c1b0f01f 2022-10-25 08:40:25 Improve DESCRIPTION - use plural to clarify how more than interface may be passed - drop the distinction between interface and bridge - drop useless example: netstart is as trivial as echo(1) - mention options the usual way, this also adds tags which makes ":tn" work as expected in the pager to jump to `-n's definition OK jmc
ed3b8222 2022-10-25 05:49:40 tweak DESCRIPTION; ok mglocker
2847bda2 2022-10-24 20:43:23 update the maxrtc entry; while here, knock out the Tn macros and patch up AUTHORS;
ccb4fb92 2022-10-24 18:34:29 We recently added support for the DS1339.
f2bb6261 2022-10-24 17:58:43 Add required sh(1) to synopsis Contrary to other scripts in base like rc.d(8) or MAKEDEV(8), netstart(8) itself is not executable and must be passed as file to sh(1): $ man -h netstart /etc/netstart [-n] [interface ...] $ /etc/netstart ksh: /etc/netstart: cannot execute - Permission denied Fix usage and synopsis to provide required usage: $ man -h netsart sh /etc/netstart [-n] [interface ...] OK jmc
ba9a882a 2022-10-24 09:23:27 improve grammar with and ok jmc@ ok mglocker@
499f4f99 2022-10-24 03:50:17 order Xr by section
76d7491b 2022-10-24 03:47:57 new sentence, new line
b2d487b3 2022-10-23 18:43:00 Initial apm/sensor driver for the PiJuice HAT UPS, to feedback battery status information. ok deraadt@
2fb38c61 2022-10-23 08:00:29 add libexec/snmpd; help from jsg
20248fc4 2022-10-22 10:34:56 Fix markup ("Ar" -> "Va" ). from Raf Czlonka, thanks
f2e685fa 2022-10-21 12:04:51 Fix synopsis, -n does not require an interface; OK jmc
8c3133f8 2022-10-21 04:02:16 Document contents of acpicpu's dmesg lines formating help from jcw@ and schwarze@ ok mlarkin@
a35ed4aa 2022-10-20 08:52:22 ampintc(4) is specifically for GIC v1/v2
5037f48b 2022-10-20 08:45:39 add manual page for Arm GIC v3/v4 driver
f9631a84 2022-10-19 19:59:06 Remove unused setfd member from struct audio_hw_if All consumers now use C99 struct init and none of them sets `.setfd'. OK ratchov miod
33c65cd8 2022-10-18 07:04:20 Document and report mpii(4) RAID 1E as such At least the built-in controller on sparc64 T4-2 machines supports 1E from which OpenBSD boots just fine, but bioctl(8) reports it as RAID 10: mpii0 at pci15 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii0: Solana On-Board, firmware 9.0.0.0 IR, MPI 2.0 scsibus1 at mpii0: 834 targets sd0 at scsibus1 targ 0 lun 0: <LSI, Logical Volume, 3000> naa.600508e0000000006cd1dcd59022a30a sd0: 713824MB, 512 bytes/sector, 1461911552 sectors root on sd0a (efde5b2c6ab7b8ac.a) swap on sd0b dump on sd0b # bioctl mpii0 Volume Status Size Device mpii0 0 Online 748498714112 sd0 RAID10 0 Online 500107861504 0:2.0 noencl <ATA CT500MX500SSD1> 1 Online 500107861504 0:1.0 noencl <ATA CT500MX500SSD1> 2 Online 500107861504 0:0.0 noencl <ATA CT500MX500SSD1> mpii(4) simply munged 1E into 10. Report it as 0x1E just like softraid(4) RAID 1C is 0x1C internally: # ./obj/bioctl mpii0 | grep RAID mpii0 0 Online 748498714112 sd0 RAID1E OK jsing
cebafa6c 2022-10-14 18:35:19 Update to 2022egtz from https://github.com/JodaOrg/global-tz Major changes: o Jordan and Syria switch from +02/+03 with DST to year-round +03.
a398fd9a 2022-10-13 21:37:05 controm terminql -> controlling terminal;
ea6c4d24 2022-10-12 23:11:32 Nuke D_BADSECT and disktab's 'sf'. DEC standard 144 bad sector information is no longer a thing. As evidenced by bad144(8) moving to the attic 16 years ago. ok miod@, who points out that badsect(8) is now the nail sticking out.
f0e35aed 2022-10-10 00:12:45 Ipv6 -> IPv6
721f5962 2022-10-08 17:08:55 List SIMCom SIM8262E-M2 as supported for umb(4) ok jmc@
f58d75a9 2022-10-08 06:53:06 Add Wacom One M CTL-672 USB tablet.
ffa6640b 2022-09-27 13:30:36 complete bootparamd -> rpc.bootparamd reminded by jmc
79adaffd 2022-09-27 05:53:32 - no more /usr/include/objc; confirmed by miod - add /var/agentx; text from martijn
a55840e5 2022-09-26 06:14:21 uwacom(4): Support for Wacom One S (CTL-472)
978d30cd 2022-09-25 22:47:27 Document savecore_flags OK jmc deraadt
e83870ee 2022-09-25 20:54:07 add /etc/rpki/ tweak/ok claudio
08cc666f 2022-09-24 14:33:28 Sync with https://github.com/JodaOrg/global-tz Major changes: o Palestine DST transitions are now Saturdays at 02:00.
4305ac2c 2022-09-17 12:17:52 add some notes on common pytest arguments
4b12175a 2022-09-13 20:56:47 add some initial docs for MODPY_PYBUILD, prompted by espie
8e47cce3 2022-09-13 05:49:23 fix Xr;
9fce82bb 2022-09-13 05:48:54 add missing quote;
aefb0b05 2022-09-13 05:46:00 add arch to Dt;
b81cd588 2022-09-13 01:38:31 SIOCDIFPARENT removes configuration not SIOCGIFPARENT spotted by kn@
043f1223 2022-09-12 17:30:32 sxirintc(4)
27ced433 2022-09-12 15:59:16 qcgpio(4) and qciic(4)
d80c9188 2022-09-12 15:49:36 qcgpio(4) and qciic(4)
46233ac1 2022-09-12 09:18:30 SIOCGIFPARENT uses struct if_parent not ireq ok jmc@
b38fa04b 2022-09-12 09:15:29 SIOCGVNETID uses struct ifreq not if_parent ok jmc@
260b21b1 2022-09-11 11:56:28 .Li in previous didn;t make sense;
d5dfbd7f 2022-09-11 11:41:04 correct argument to VMM_IOC_READVMPARAMS