summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-10git/hist: add command to show history of filesOri Bernstein
2022-08-09ls(1): Make man page synopsis consistent with usage outputJosiah Frentsos
2022-08-09aux/imx8pm: add core/gpu/vpu temp read support (kernel counterpart is TBD)Sigrid Solveig Haflínudóttir
2022-08-09kernel: use 64 bits for mountidsglenda
We dont expose this anymore, wrapping these would be bad. Just send more bits.
2022-08-09igfx: Add support for Xeon E3-1200v3Roberto E. Vargas Caballero
2022-08-08imx8: add aux/imx8pm with lcd brightness controlSigrid Solveig Haflínudóttir
2022-08-08Rewrite history: 9front was firstRoberto E. Vargas Caballero
History was built using a heuristic where a file not present in the dump in 30 days was considered as a deleted file, without being important if those days had an actual dump. Having the file server off 30 days made all the files to be deleted from the history point of view. This new version is rewriten from scratch in rc and it does not try to detect deleted files since it can be derived only with fragile assumptions.
2022-08-08walk: include qid version in deduplicationglenda
the qid version is part of the qid, take it into account for deduplication.
2022-08-08acpi: /mnt/acpi → /mnt/pmSigrid Solveig Haflínudóttir
2022-08-08ktrans: cast switch statement for armJacob Moody
2022-08-07ssh: send interrupts even when we're not in raw modeglenda
2022-08-07rcpu: show error when we auth but don't connectglenda
When a user isn't allowed to log into a file server, we used to silently dump the user back to the console, reporting that the command succeeded. We should give the user an error when they fail to log in, and we should exit unsuccessfully. This status is communicated by setting up a sentinel env var, and clearning it just before we execute the user command.
2022-08-05src: 'test -x' instead of 'test -f'Ori Bernstein
while we're here, remove spare curly braces.
2022-08-05src: search for binaries in path, not random placesOri Bernstein
it's confusing and overly cute when 'src notinpath' works. only accept paths that you can execute.
2022-08-05delkey: stop being clever about which factotum to useOri Bernstein
use only /mnt/factotum: if you want to delete from your terminal, bind the terminal in as your factotum.
2022-08-05fix paqfs manpageAngelo Papenhoff
2022-08-04rio: show Exit in subriosJacob Moody
2022-08-03ktrans: 新しい降りJacob Moody
Rewrite of ktrans to act as an overlay to kbdfs. Move map files outside of the binary in to /lib/ktrans and get our dictionaries out of /lib while we're at it. Use \n as an alias for ctrl-\ for first lookup, use ^w to clear okurigana input. This also in general changes the logic to never us to 'swallow' a character and always echo them out, using backspaces for cleaning us up.
2022-08-03patch: apply patches atomicallyOri Bernstein
When applying a patch, we used to write out the patch, rename the file, and then move to the next one. This meant that if a patch failed to apply cleanly, we would leave the patch half-applied. This sucked, so we now apply the patch as a whole unit, or not at all.
2022-08-03auth(8): specify what gets put into the environemnt with '-s'Ori Bernstein
Understanding the environment is important for security critical applications.
2022-08-01hjfs: do not truncate lines on /adm/users writeSigrid Solveig Haflínudóttir
2022-08-01disk/mkext: fix nil dereference in arg parsingB. Atticus Grobe
2022-07-31git/commit: fix typo in if statementOri Bernstein
2022-07-31usb: fix ehci isochronous "in" split transactionscinap_lenrek
For "in" transactions, the "Total Bytes to Transfer" field in the siTD is decremented by the controller by the actual transfer size, so what remains in the field is the residue number of bytes. Also, handle restart when we get a zero byte read on a isochronous "in" endpoint in devusb itself (removing the restart code for xhci drivers). This fixes audio recording with a usb1.1 audio device connected to ehci controller.
2022-07-30bind, mount: stop returning mount idOri Bernstein
The mount ID is a sequence number in a 32 bit integer, which means that it can't be unique. This is largely harmless, because there is no way to use the mount id, beyond checking if it's negative. However, there's no overflow check, so the mount ID can wrap negative, which will break error checks on mount calls. Because it's useless, let's just stop returning it.
2022-07-30imx8: increase cpu frequency from 1.4 to 1.6ghzcinap_lenrek
the RM seems to be outdated in this regard, saying the core is targeted at 1.4ghz.
2022-07-29/lib/troll: [9fans] Power mac supportglenda
2022-07-26auth/box: preserve cwd name, but clear it outOri Bernstein
Auth/box previously switched to /, rather than preserving the cwd. This would break relative paths to items that would get pulled into the namespace. This change removes the '-.' flag, and causes auth/box to keep the current working directory, making it more usable for scripting.
2022-07-25sysproc: raise limit on #! lines, and allow quoted argsOri Bernstein
Our #! line length is very short, and the naïve quoting makes it difficult to pass more complicated arguments to the programs being run. This is fine for simple interpreters, but it's often useful to pass arguments to more complicated interpreters like auth/box or awk. This change raises the limit, but also switches to tokenizing via tokenize(2), rather than hand rolled whitespace splitting. The limits chosen are arbitrary, but they leave approximately 3 KiB of stack space on 386, and 13k on amd64. This is a lot of stack used, but it should leave enough for fairly deep devtab chan stacks.
2022-07-21devrtc: fix mistake.cinap_lenrek
2022-07-20pc/rtc: make sure string is NUL terminates for rtc writecinap_lenrek
2022-07-20imx8: add simple i2c rtc driver for NXP PCF8523cinap_lenrek
datasheet: http://nxp.com/docs/en/data-sheet/PCF8523.pdf
2022-07-19git/log: only count the messages we show when limiting countsOri Bernstein
when logging with `git/log -c count', we would count all messages that we inspected, rather than just the ones that got printed. This isn't what we should have done. While we're in here, refactor show() to only show the message, rather than filtering and then showing.
2022-07-18kernel: consistently add devbridge and netdevmedium to kernel configscinap_lenrek
2022-07-17/sys/games/lib/fortunes: Use a client written in Go? -- Skip Tavakkolianglenda
2022-06-11man/3/ip (ip): Discuss local IP addresses for "announce" and "bind".Benjamin Riefenstahl
2022-07-06ape/bsd/bind.c, ape/bsd/listen.c: Use _syserrno.Benjamin Riefenstahl
2022-07-06ape/bsd/listen.c: Drop "bind 0".Benjamin Riefenstahl
There does not seem to be a good reason for this. The "bind" command has no practical consequence.
2022-06-11ape/bsd/bind.c: Do not pretend that the port could be negative.Benjamin Riefenstahl
Ports are filtered through "htons" which returns an "unsigned short".
2022-06-10ape/bsd/bind.c, ape/bsd/listen.c: Set local IP.Benjamin Riefenstahl
Despite what the man pages say, local addresses can actually be set so do that.
2022-06-10ape/bsd/listen.c: Do not try to issue "announce *".Benjamin Riefenstahl
"port >= 0" is always true, because the port always gets filtered through "htons" which returns "unsigned short", so we can just drop the "else" branch here. Anyway "announce 0" works fine with the Plan9 API, there is not need for "announce *" here.
2022-06-10ape/bsd/bind.c: Do not issue "bind *".Benjamin Riefenstahl
Despite the documentation, "bind *" is invalid and gives the error "bad numeric port" in devip.c:setladdrport. "bind 0" OTOH is actually supported fine in the Plan9 API and has the right sematics.
2022-07-17ktrans: don't leak on conflicting jisho linesJacob Moody
Tidy up the hash interface to make cleanup a bit more explicit vs non cleanup.
2022-07-17inst: make bootsetup work for on pc architecturescinap_lenrek
2022-07-17ktrans: 你好Jacob Moody
This consolidates jisho and map lookups to use the same structure and removes the old jisho code.
2022-07-17i2c(3): fix typos, thanks quinqcinap_lenrek
2022-07-17i2c(3): Add documentation for kernels devi2ccinap_lenrek
2022-07-17/lib/ktrans: added tools to fetch skk dicts and convert them to ktrans jishosrodri
2022-07-16/lib/theo: The man page says "don't do that".glenda
2022-07-14sam(1): clarify "<rio>" works on dot just like "look"Sigrid Solveig Haflínudóttir