summaryrefslogtreecommitdiff
path: root/sys/src
AgeCommit message (Collapse)Author
2023-04-24portmkfile: cleanup dependencies for wifi.$O and etheriwl.$Ocinap_lenrek
2023-04-24imx8: provide PCIWINDOW constant, use PCIWADDR() for MSI_TARGET_ADDRcinap_lenrek
2023-04-24sdnvme: remove unused mptr argument to qcmd()cinap_lenrek
2023-04-24imx8: add vpu clocks and irq indices, correct a typo (no functional change)Sigrid Solveig Haflínudóttir
2023-04-222c(1), 2l(1), tl: add thumb to the list. fix thechar: '5' → 't'rodri
2023-04-19imx8: make etheriwl work on MNT Reform, move it to port/ (thanks cinap); ↵Sigrid Solveig Haflínudóttir
tested with 6205
2023-04-19auth/ssh2rsa: convert Unix ssh private keys to Plan 9 format.Jacob Moody
2023-04-18bio: abort on invalid stateOri Bernstein
2023-04-17git/send: correctly delete branches with no local mirrorOri Bernstein
2023-04-17gs: patch CVE-2023-28879Jacob Moody
https://offsec.almond.consulting/ghostscript-cve-2023-28879.html https://git.ghostscript.com/?p=ghostpdl.git;h=37ed5022cecd584de868933b5b60da2e995b3179
2023-04-16aux/listen: log the real error when announce() failscinap_lenrek
2023-04-15ip: generalize Rproxy route handling, allowing non point-to-point arp proxycinap_lenrek
Generalize the arp proxy code, so one can create specific routes for ip ranges that we want to arp proxy for, not just for point-to-point interface routes. as we have source specific routes, this also gives some control over which requester we will reply to. one example for this is a vps where we booked another ip address on the ethernet, that we want to route into a vpn tunnel. the new ip is in subnet of the public ethernet interface, so all we now need todo is add a route for that ip into the vpn tunnel and set the proxy flag "y", and we will respond to arp for that ip on the public ethernet interface.
2023-04-12nusb/usbd: only fetch first 8 bytes of device descriptor for getmaxpkt() ↵cinap_lenrek
(thanks k0ga) The first usb transaction we run on a device is reading the device descriptor, but todo this we need to know the maximum packet size on the control endpoint. But the packet size itself is stored in the device descriptor which needs to be read over the control endpoint. We used to fetch up to 64 bytes of device descriptor, and if that fails assume some default values. But this seems to cause errors down the line for some devices like k0gas usb keyboard. The new way is to read *ONLY* the first 8 bytes (that contain the bMaxPktSize0 field) and fetch the full device descriptor later once we have set the correct packet size.
2023-04-08kernel: Clear secrets on rebootcinap_lenrek
The idea is that when we reboot, we zero out memory written by processes that have the private flag set (such as factotum and keyfs), and also clear the secrmem pool, which contains TLS keys and the state of the random number generator. This is so the newly booted kernel or firmware will not find these secret keys in memory.
2023-04-08libc: Add poolreset() functioncinap_lenrek
This is intended for the secrmem pool in the kernel, but could also be used for temporary pools to recover the memory used by the arenas.
2023-04-06awk: getline: do not access unitialized data on EOFJacob Moody
echo 'a' | awk 'BEGIN { getline l; getline l; print (s=substr(l,1,10)) " len=" length(s) }' https://github.com/onetrueawk/awk/commit/1debe1993fc852545a9215621d884be27f08a223
2023-04-06awk: dont leak memory on extra format argumentsJacob Moody
awk 'BEGIN { while(++i <= 100000) { mem = "ps | grep awk"; printf("%d", 1+2, 3+4, 5+6, 7+8, 9+0) > "/dev/null"; if(i % 10000 == 0) system(mem) }}' https://github.com/onetrueawk/awk/commit/821c502359855d0c43be8e9b08f037ecb543d310
2023-04-02file: identify qcow imagesJacob Moody
2023-04-01diff: barf with explanation on binary diffs/mergesOri Bernstein
2023-04-01qcowfs(8)Jacob Moody
2023-03-30ip/httpd: fix duplicate array entry (thanks khayyam@cock.li)Alex Musolino
2023-03-30removing tos from fpimipsadventuresin9
2023-03-30removing tos from fpimipsadventuresin9
2023-03-29libc: runecomp: move generated files to explicit regen ruleJacob Moody
While a previous commit attempted to address the issues of a ; cd /sys/src/ && mk nuke && mk install it seems that any kind of automatic detection for when to rebuild will blow up in someones face. I am moving this to an explicit virtual rule, the generated files are expected to be there.
2023-03-28truetypefs: fall back instead of crashing when could not get a glyphSigrid Solveig Haflínudóttir
2023-03-27tcs: add nfc and nfd output formatsJacob Moody
2023-03-26libc: runecomp: commit generated data filesJacob Moody
While mkfiles will properly build them, if a user does ; cd /sys/src && mk nuke && mk install without libc there, you will not be able to build mkrunetype.c in order to generate these data files. Let's not make this more complicated.
2023-03-26upas/runq: revert b55b1f31e139271852c3581924ddc92a10f54883Ori Bernstein
this change broke the fix from 49d7ca8d92e5667f3e5ece4c6acbc1064701e2f8
2023-03-26libc: remove dangling runetype.cJacob Moody
2023-03-26runecomp(2)Jacob Moody
2023-03-26cpp: allow qid version change for #pragma onceJacob Moody
2023-03-25upas/runq: we don't care about the waitmsg, use waitpidOri Bernstein
2023-03-25cpp: correct #pragma once uniqueness checkJacob Moody
2023-03-25upas/runq: wait for bounce sender to exit (thanks grizi)Ori Bernstein
when we send a return message, we need to wait for the message to exit before we clean up the state files.
2023-03-21cpp: #pragma once supportJacob Moody
2023-03-21v8e: clean unused argument and tidy usage (thanks mkf)Jacob Moody
2023-03-20cc: fndecls: always ignore non-function typesSigrid Solveig Haflínudóttir
2023-03-17cc: fndecls: use current fn node directlySigrid Solveig Haflínudóttir
2023-03-17cc: fix suicide with undefined function argumentsJacob Moody
_Noreturn change introduced a check on the type for OFUNC. This will be nil in the event that a symbol given as a function argument is undefined.
2023-03-17cc: add __func__ supportSigrid Solveig Haflínudóttir
2023-03-17cc: NORET -> _NoreturnJacob Moody
The committee has spoken
2023-03-16auth/none, mothra, news, libttf: unused variable removalJacob Moody
2023-03-16cc: add NORETJacob Moody
2023-03-12imap4d: add entry to detect file locked errors on hjfsAlex Musolino
Hjfs reports "file locked" whilst cwfs reports "file is locked". This whole approach is a bit crappy, but this change will get us (me) by for now.
2023-03-10kbmap: fix multi column display for smaller windows (thanks mkf)Jacob Moody
2023-03-09print, strtod: fix -0 and -NaN, respect verb flags when formattingSigrid Solveig Haflínudóttir
2023-03-08mt7688 kerneladventuresin9
2023-03-08sys/src/libc/spim/mkfile: use port/lock.c and spim/tas.sadventuresin9
2023-03-08sys/src/libc/mips/tas.s: _tas() for spimadventuresin9
2023-03-07sys/src/9/port/sysproc.c: add spim magicadventuresin9