summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-05mergeOri Bernstein
2021-01-05acid: 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-05qr: fix exit statusAlex 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-04marshal(1): fix example: upas/mail -> mail (thanks fulton)cinap_lenrek
2021-01-01ape: unify math.h copiesOri 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-02ape: add missing isnan() and isinf() macros for 386 (thanks Jonas)cinap_lenrek
2021-01-01file: ftyp mp4* is video/mp4 as wellSigrid
2021-01-01sort: 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-29cc: add a couple notes to the comments regarding flagsBurnZeZ
2020-12-29libc/arm: open #c/sysstat file with OCEXEC (internal file descriptor)cinap_lenrek
2020-12-29plumber: open rule files as OCEXEC, to avoid leaking them to sub commandscinap_lenrek
2020-12-28text2post: check font index for out of rangeSigrid
2020-12-28plumber: don't leak srvfd file descriptor into sub processescinap_lenrek
Put OCEXEC flag on the srvfd so it wont be leaked on sub-processes we spawn from plumb rules.
2020-12-28plumb: fix wrong click attribute offset (thanks umbraticus)Sigrid
2020-12-27kbmap: avoid division by zero when window becomes too smallcinap_lenrek
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