Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-05 | merge | Ori Bernstein | |
2021-01-05 | acid: increase hash size (thanks jonas.amoson) | Ori Bernstein | |
when loading large binaries such as netsurf, with many symbols, our hash table fills up with collisions and loading the symbol table gets very slow. Bumping it up drops the time to lstk() in acid on netsurf from 4 minutes to 8 seconds. | |||
2021-01-05 | qr: fix exit status | Alex Musolino | |
Call exits(0) instead of returning from main. Also call sysfatal if writing of image data fails. Previously, qr(1) would exit with default non-nil status "main" unconditionally as a result of returning from main. | |||
2021-01-04 | marshal(1): fix example: upas/mail -> mail (thanks fulton) | cinap_lenrek | |
2021-01-01 | ape: unify math.h copies | Ori Bernstein | |
/$objtype/include/ape/math.h contained an almost identical copy of math.h for each architecture. The only difference between them architectures was that some had an incorrect version of isinf defined. This change picks one of the versions of math.h with a correct definition, moves it to /sys/include, and removes the redundant versions. | |||
2021-01-02 | ape: add missing isnan() and isinf() macros for 386 (thanks Jonas) | cinap_lenrek | |
2021-01-01 | file: ftyp mp4* is video/mp4 as well | Sigrid | |
2021-01-01 | sort: fix memory leak (thanks Igor Boehm) | Ori Bernstein | |
Free the last line that we examine when looping through the lines in a file. | |||
2020-12-29 | cc: add a couple notes to the comments regarding flags | BurnZeZ | |
2020-12-29 | libc/arm: open #c/sysstat file with OCEXEC (internal file descriptor) | cinap_lenrek | |
2020-12-29 | plumber: open rule files as OCEXEC, to avoid leaking them to sub commands | cinap_lenrek | |
2020-12-28 | text2post: check font index for out of range | Sigrid | |
2020-12-28 | plumber: don't leak srvfd file descriptor into sub processes | cinap_lenrek | |
Put OCEXEC flag on the srvfd so it wont be leaked on sub-processes we spawn from plumb rules. | |||
2020-12-28 | plumb: fix wrong click attribute offset (thanks umbraticus) | Sigrid | |
2020-12-27 | kbmap: avoid division by zero when window becomes too small | cinap_lenrek | |
2020-12-27 | aux/vga: remove panning, add screen tilting support | cinap_lenrek | |
2020-12-27 | devvga: implement screen tilting, remove panning and overlays | cinap_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-23 | libauth: re-implement procsetuser() to use /proc instead of #c/user | cinap_lenrek | |
2020-12-23 | devproc: allow anyone to change user of its own processes to "none" | cinap_lenrek | |
2020-12-23 | libvorbis: 1.3.5 → 1.3.7 (fixes a bunch of CVE and other small issues) | Sigrid | |
2020-12-23 | ape: re-implement getlogin() by stating /proc/$pid/status | cinap_lenrek | |
2020-12-23 | libc: re-implement getuser() by stating /proc/$pid/status | cinap_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-23 | fax, psfax, vwhois: use $user instead of /dev/user | cinap_lenrek | |
2020-12-23 | B: dont pollute the environment | cinap_lenrek | |
2020-12-23 | kill, slay, broke: dont pollute environment, use $user | cinap_lenrek | |
2020-12-23 | Kill: don't pollute environment | cinap_lenrek | |
2020-12-23 | start, stop: avoid null list in concatenation witout arguments, use $user | cinap_lenrek | |
2020-12-23 | nusbrc: delect lenovo camera | cinap_lenrek | |
2020-12-22 | kw: use ethermii.c from port/ (thanks stuart) | cinap_lenrek | |
2020-12-22 | aout2uimage: fix missing \n in usage print (thanks james) | cinap_lenrek | |
2020-12-22 | upasfs(4): fix small typos (thanks igor) | cinap_lenrek | |
2020-12-22 | kbdfs: fix mistake, remove leftover static user variable (thanks umbraticus ↵ | cinap_lenrek | |
and igor) | |||
2020-12-22 | kernel: 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-22 | merge | cinap_lenrek | |
2020-12-22 | rio(4): list window states in order (thanks umbracticus) | Alex Musolino | |
2020-12-21 | kernel: make addbroken() static, remove misleading Proc* argument | cinap_lenrek | |
2020-12-21 | merge | cinap_lenrek | |
2020-12-21 | pc, xen: move fpu setup/fork/save/restore handlers to pc/fpu.c | cinap_lenrek | |
2020-12-22 | hpost: fix usage text | Alex Musolino | |
2020-12-21 | kernel: update procsave() comment, we'r not holding up->rlock anymore | cinap_lenrek | |
2020-12-20 | ndb/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-20 | kernel: 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-19 | libthread: remove unused _times() function | cinap_lenrek | |
2020-12-19 | kernel: remove Proc* argument from procsetuser() function | cinap_lenrek | |
2020-12-19 | libauth: change programs to use the new procsetuser() function | cinap_lenrek | |
2020-12-19 | libauth: add procsetuser() function to change user id of the calling process | cinap_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-19 | aux/kbdfs: use getuser() from libc | cinap_lenrek | |
2020-12-19 | acme: use global user string variable instead of getuser() | cinap_lenrek | |
2020-12-19 | acme: use getuser() in fsinit() | cinap_lenrek | |