summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-27aux/vga: remove panning, add screen tilting supportcinap_lenrek
2020-12-27devvga: implement screen tilting, remove panning and overlayscinap_lenrek
Tilting allows using left/right rotated or invetrted display orientation. This can be changed at runtime such as: echo tilt right > /dev/vgactl This removes the old panning and vga overlays as they are only implemented with some ancient vga controllers.
2020-12-23libauth: re-implement procsetuser() to use /proc instead of #c/usercinap_lenrek
2020-12-23devproc: allow anyone to change user of its own processes to "none"cinap_lenrek
2020-12-23libvorbis: 1.3.5 → 1.3.7 (fixes a bunch of CVE and other small issues)Sigrid
2020-12-23ape: re-implement getlogin() by stating /proc/$pid/statuscinap_lenrek
2020-12-23libc: re-implement getuser() by stating /proc/$pid/statuscinap_lenrek
The idea is to avoid the magic files that contain per process information in devcons when possible. It will make it easier to deprecate them in the future.
2020-12-23fax, psfax, vwhois: use $user instead of /dev/usercinap_lenrek
2020-12-23B: dont pollute the environmentcinap_lenrek
2020-12-23kill, slay, broke: dont pollute environment, use $usercinap_lenrek
2020-12-23Kill: don't pollute environmentcinap_lenrek
2020-12-23start, stop: avoid null list in concatenation witout arguments, use $usercinap_lenrek
2020-12-23nusbrc: delect lenovo cameracinap_lenrek
2020-12-22kw: use ethermii.c from port/ (thanks stuart)cinap_lenrek
2020-12-22aout2uimage: fix missing \n in usage print (thanks james)cinap_lenrek
2020-12-22upasfs(4): fix small typos (thanks igor)cinap_lenrek
2020-12-22kbdfs: fix mistake, remove leftover static user variable (thanks umbraticus ↵cinap_lenrek
and igor)
2020-12-22kernel: avoid palloc lock during mmurelease()cinap_lenrek
Previously, mmurelease() was always called with palloc spinlock held. This is unneccesary for some mmurelease() implementations as they wont release pages to the palloc pool. This change removes pagechainhead() and pagechaindone() and replaces them with just freepages() call, which aquires the palloc lock internally as needed. freepages() avoids holding the palloc lock while walking the linked list of pages, avoding some lock contention.
2020-12-22mergecinap_lenrek
2020-12-22rio(4): list window states in order (thanks umbracticus)Alex Musolino
2020-12-21kernel: make addbroken() static, remove misleading Proc* argumentcinap_lenrek
2020-12-21mergecinap_lenrek
2020-12-21pc, xen: move fpu setup/fork/save/restore handlers to pc/fpu.ccinap_lenrek
2020-12-22hpost: fix usage textAlex Musolino
2020-12-21kernel: update procsave() comment, we'r not holding up->rlock anymorecinap_lenrek
2020-12-20ndb/dns: handle dnskey RR's (thanks moody)cinap_lenrek
On 12/18/20, Jacob Moody wrote: > Hello, > > I recently ran in to some issues with pointing an unbound server towards a > 9front dns server as its upstream. > The parsing seemed to fail when ndb/dns received a DNSKEY RR from it's own > upstream source on behalf of unbound. > This patch catches and stores the DNSKEY from the upstream server to prevent > this.
2020-12-20kernel: handle tos and per process pcycle counters in port/cinap_lenrek
we might as well handle the per process cycle counter in the portable part instead of duplicating the code in every arch and have inconsistent implementations. we now have a portable kenter() and kexit() function, that is ment to be used in trap/syscall from user, which updates the counters. some kernels missed initializing Mach.cyclefreq.
2020-12-19[12kq]l: remove unix compat code for cputime()cinap_lenrek
2020-12-19libthread: remove unused _times() functioncinap_lenrek
2020-12-19kernel: remove Proc* argument from procsetuser() functioncinap_lenrek
2020-12-19libauth: change programs to use the new procsetuser() functioncinap_lenrek
2020-12-19libauth: add procsetuser() function to change user id of the calling processcinap_lenrek
Provide a central function to change the user id of the calling process. This is mostly used by programs to become the none user, followed by a call to newns().
2020-12-19aux/kbdfs: use getuser() from libccinap_lenrek
2020-12-19acme: use global user string variable instead of getuser()cinap_lenrek
2020-12-19acme: use getuser() in fsinit()cinap_lenrek
2020-12-19libc: implement getppid() reading /proc/$pid/ppid instead of /dev/ppidcinap_lenrek
The devcons driver is really the wrong place to serve per process information.
2020-12-19devsons: remove #c/pgrpidcinap_lenrek
The process group id is essentially a unique id of the namespace but it was never well documented nor is it used by any program.
2020-12-19g: initialize files env varSigrid
2020-12-18vt: rfork environment varibles (thanks fshahriar)Ori Bernstein
vt sets several environment variables ($TERM, $COLS, $LINES) after exiting. This change rforks the environment so that this detritus doesn't get left behind.
2020-12-18strndup: don't assume buffer is terminatedOri Bernstein
Using strlen in strndup will walk past the first n bytes up to the terminator, which may not be present. This is not what we want. While we're here, do some cleanups.
2020-12-18kbmap: add Turkish keymap (thanks Kemal)kvik
2020-12-17hpost: support custom headers (thanks julienxx)Ori Bernstein
hget supports adding custom headers with -r; it makes sense for hpost to do the same, both because custom headers are more likely necessary with POSTs, and for consistency.
2020-12-17libap: add strndupOri Bernstein
strndup is part of POSIX.1, so APE should provide it. This patch adds it, so need to patch it out of fewer programs going forward.
2020-12-17ether2114x: make sure pci bar0 is I/Ocinap_lenrek
2020-12-17ether2114x: vetting the driver for pc64cinap_lenrek
the tulip driver is used in microsofts hypver-v as the legacy ethernet adapter for pxe booting. to make the driver work on pc64, we need to store the Block* pointers in a separate array instead of stuffing them into buffer address 2 of the hardware descriptor. also, enable the driver in the pc64 kernel.
2020-12-15pc: set exit status depending on errorsSigrid
2020-12-15pc: treat EOF gracefully, allowing easier use within sam command languageSigrid
2020-12-15mergeAlex Musolino
2020-12-15ico: avoid potential nil pointer dereferencesAlex Musolino
Bgeticon can fail, leaving the Icon img pointers nil.
2020-12-15ico: fix interpretation of 0 widths/heightsAlex Musolino