summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-15webfs(4): fix typoskvik
2021-07-15legal: mercurial -> gitcinap_lenrek
2021-07-15legal: remove references to python and mercurialcinap_lenrek
THIS IS AN EX PYTHON!!
2021-07-15archacpi: make *acpi=1 the defaultcinap_lenrek
2021-07-15ether82563: add pci id for i219-LM from ThinkPad P17 Gen1 Professional ↵cinap_lenrek
Mobile Workstation (thanks tschak909)
2021-07-14graphics(2): fix typokvik
2021-07-14pc, pc64: increase confmem slots to 64cinap_lenrek
Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation comes up with around 36 separate memory ranges. ridiculous!
2021-07-14libaml: fix gc bug, need to amltake()/amldrop() temporary buffercinap_lenrek
we have to protect the temporary buffer allocated by rwfield() as rwreg() calls amlmapio() which might cause further aml code execution causing gc() which frees it under us (as it is not referenced from the interpreter state). this fixes a panic on boot of a Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation
2021-07-12fs(4): describe the noauth toggle better (thanks izaki)Ori Bernstein
2021-07-12strcat(2): 0 → nil in manpage in refrence to pointersJacob Moody
2021-07-11virtio: set FeaturesOk flag after feature negotiation, and enable queues ↵cinap_lenrek
before DriverOk flag
2021-07-11vmx: reset virtio queue state on device resetcinap_lenrek
when a virtio device gets reset, we have to also reset the device shadow indices: availableidx and usedidx. for extra safetly, we also reset the buffer descriptor table addresses. this is accomplished by adding a vioqreset(VIOQueue*) function that brings the queue to its initial reset state. this fixes non functional ethernet after reboot(8).
2021-07-11virtio: add non-legacy virtio 1.0 drivers for disk and ethernetcinap_lenrek
The new interface uses pci capability structures to locate the registers in a rather fine granular way making it more complicated as they can be located anywhere in any pci bar at any offset. As far as i can see, qemu (6.0.50) never uses i/o bars in non-legacy mode, so only mmio is implemented for now. The previous virtio drivers implemented the legacy interface only which uses i/o ports for all register accesses. This is still the preferred method (and also qemu default) as it is easier to emulate and most likely faster. However, some vps providers like vultr force the legacy interface to disabled with qemu -device option "disable-legacy=on" resulting on a system without a disk and ethernet.
2021-07-10kernel: export pcienumcaps() for custom capability enumeration in drivers ↵cinap_lenrek
(virtio) This used to be a internal function, but virtio uses multiple structures with the same cap type to indicate the location of various register blocks in the pci bars so export it.
2021-07-10aux/cddb: freedb.org is dead, use gnudb.orgJacob Moody
2021-07-09mouse(3): mousein is NOT exclusive, see 30907f1d00a7646ccbb420a18f60ccb0bf36e740Sigrid Solveig Haflínudóttir
2021-07-08rc: add subshell-function syntaxOri Bernstein
fn foo @{bar} is now equivalent to fn foo {@{bar}}. As a side effect, this disallows creating functions named after keywords without first quoting them.
2021-07-08libsec: take just the CN part of Distinguished Name in subjectAltNamecinap_lenrek
2021-07-08fortunes: unremoveOri Bernstein
2021-07-08fortunes: revision: allow pseudo options after --end-of-optionsOri Bernstein
2021-07-06git: create .git/objects/ on git/initkvik
2021-07-06vmx: emulate ps/2 intellimouse scrollingSigrid Solveig Haflínudóttir
2021-07-04rsa(8): document auth/x5092pub, fix usage linescinap_lenrek
2021-07-04libsec: do proper type checking, fix wrong deduplication checkcinap_lenrek
2021-07-04libsec: add X509reqtoRSApub() function and return subject alt names in ↵cinap_lenrek
X509to*pub() name buffer We need a way to parse a rsa certificate request and return the public key and subject names. The new function X509reqtoRSApub() works the same way as X509toRSApub() but on a certificate request. We also need to support certificates that are valid for multiple domain names (as tlshand does not support certificate selection). For this reason, a comma separated list is returned as the certificate subject, making it symmetric to X509rsareq() handling. A little helper is provided with this change (auth/x5092pub) that takes a certificate (or a certificate request when -r flag is provided) and outputs the RSA public key in plan 9 format appended with the subject attribute.
2021-07-04git/export: make output pipable to /bin/mailOri Bernstein
git/export *almost* produces output that can be emailed with upas using git/export $commit | mail maintainer@site.com but, the From: commit-id date line that git generates trips it up. Luckily, 'git am' doesn't seem to care much if that line is missing, so we can simply omit it with no issue.
2021-07-03libc: add encode(2) variants for custom alphabetsOri Bernstein
There are a number of alphabets in common use for base32 and base64 encoding, such as url-safe encodings. This adds support for passing a function to encode into arbitary alphabets.
2021-07-01devmouse: default to no blanking instead of 30 minute blank timeoutcinap_lenrek
2021-06-30upas/Mail: avoid showing empty To: and CC: lines in compose windowsAlex Musolino
2021-06-30upas/Mail: fix CC addresses in "Reply All" compose windowsAlex Musolino
2021-06-29git/revert: revertOri Bernstein
the old implementation was correct; we want to mark it dirty and let walk sort it out.
2021-06-28git/revert: fix previous commit (helps if you save the file, thanks qwx)Ori Bernstein
git/revert: fix previous commit (helps if you save the file, thanks qwx)
2021-06-28git/branch: mark files we couldn't update as dirtyOri Bernstein
2021-06-27manual: don't match nonexistent file while preprocessingAnthony Martin
Authsrv(6) used to be called auth(6) before the fourth edition and was preprocessed by eqn(6) before the third edition. The mkfile was never updated to reflect the changes. All other files are accounted for: % cd /sys/man % for(i in TS EQ PS G1) echo $i `{grep -l '^\.'$i ?/[0-9a-z]*} TS 1/tbl EQ 1/eqn 3/usb PS 1/pic G1 1/grap %
2021-06-27pic(1): restore example sectionAnthony Martin
It was erroneously elided when removing the tpic command in commit 891a8c4f2.
2021-06-27segment(3): restore missing phraseAnthony Martin
It was accidentally removed when documenting the sticky segment type in commit 99ed9623b.
2021-06-26vt: allow scrolling with the mouse.Ori Bernstein
2021-06-26vt, ssh: don't send interrupts on window resizeOri Bernstein
When resizing windows, vt would signal ssh by updating the window size and sending an interrupt. Ssh reacted by forwarding both the winch and an interrupt. This change adds a WINCH generation counter so that ssh can differentiate between resizes and interrupts. If an interrupt comes in, and the WINCH generation changes, then the interrupt is taken as signalling a WINCH.
2021-06-26kencc: revert back to "set but not used"cinap_lenrek
The change to "assignment not used" breaks symmetry with "used and not set" and removes the reference to the specific warning mentioned in /sys/doc/comp.ms. Also, the patch was half-assed as that it left some typos in like "used an not set", which this change also fixed.
2021-06-25rc: skip arguments to Xsrcline, Xsrcfile in codefreeOri Bernstein
We weren't correctly skipping the location operators in codefree. This would mostly be work, but sometimes you'd get unlucky and have one of the argmuents mismatch, and that would lead to an invalid free. This correctly skips the args in codefree.
2021-06-24cc: create .$O files with DMTMPJacob Moody
2021-06-23tmdate(2): "ttt" is a valid format too, mention itSigrid Solveig Haflínudóttir
2021-06-22git/fs: use a better heuristic for permissions.Ori Bernstein
Since we now store /dist/plan9front in git, the initial assumption that the owner of the repo is the person touching it is not always true. This change gives us a better heuristic for the file permissions we should have in the files we copy around, basing it off of the permissions of the .git directory.
2021-06-22rc: correct line numbersOri Bernstein
When loading a file using ".", we could end up with our line numbers thrown off due to the mutation of lexline. Putting lexline into the runq beside the file that we're reading from causes it to get pushed and popped correctly, so that we no longer lose track of our location.
2021-06-21git(1): we have rebaseOri Bernstein
2021-06-21venti: make error messages consistent, remove duplicate messages.Ori Bernstein
removes duplicate messaes about restrictions, and duplicate checks, makes the error match the rest of the errors.
2021-06-21/sys/man/mkfile: drop reference to non-existent realtime(3)Alex Musolino
2021-06-21sched(9): replace '–' with '-' in NAME sectionAlex Musolino
This was causing the ptx utility in /sys/lib/man/permind to barf. As such, the PDF book of all manual sections could not be built.
2021-06-21/sys/man/mkfile: run eqn(1) for usb(3) section of bookAlex Musolino
2021-06-21venti: warn when opening /dev/swap failsNoam Preil