summaryrefslogtreecommitdiff
path: root/sys/lib/acid
AgeCommit message (Collapse)Author
2019-09-12acid/kernel: for stacktraces, try to use context from error stack when ↵cinap_lenrek
process is not sleeping when a process state has not been saved (Proc.mach != nil) then the contents of Proc.sched should be considered invalid. to approximate a stacktrace in this case, we use the error stack and get a stacktrace from the last waserror() call.
2019-08-21/sys/lib/acid/kernel: fix procstk() for arm64, set kdir for arm/arm64 to ↵cinap_lenrek
bcm/bcm64
2019-05-04acid: add arm64 supportcinap_lenrek
2018-12-06acid: fix transcriptBurnZeZ
2017-06-12acid: fix goofupaiju
2017-06-12acid: watchpoint supportaiju
2017-05-11/sys/lib/acid/port: make line() also print the line numberBurnZeZ
2016-11-12kernel/qio: get rid of unused qcopycnt debug variablecinap_lenrek
2016-11-05kernel: avoid padblock copying for devtls/devssl/esp, cleanup debuggingcinap_lenrek
to avoid copying in padblock() when adding cryptographics macs to a block in devtls/devssl/esp we reserve 16 extra bytes to the allocation. remove qio ixsummary() function and add acid function qiostats() to /sys/lib/acid/kernel simplify iallocb(), remove iallocsummary() statitics.
2016-05-04retire the dec alpha portcinap_lenrek
2016-03-14truss: add fake __NSEC syscall name for apecinap_lenrek
2016-03-14truss: fix "bad string" error due to missing ape _nsec() syscallcinap_lenrek
2015-10-19acid/leak: fix endless loop for B2NB(b) == b case (thanks mischief)cinap_lenrek
2015-08-09acid -k: fix intrcount() for amd64cinap_lenrek
2015-08-09acid -k: fix procenv() to new data structurecinap_lenrek
2015-02-26leak: report alloc size mismatchcinap_lenrek
2014-07-01acid: fix notestk() on amd64Aram Hăvărneanu
Use Ureg->pc instead of Ureg->ir.
2014-06-22remove imagepagerefs() acid functioncinap_lenrek
2014-05-20add _nsec() syscall 53 for binary compatibility with labs distributioncinap_lenrek
the new syscall is added under the symbol _nsec() for binary compatibility. nsec() is still a library function reading /dev/bintime.
2014-02-25acid: fix errstr syscall data offset for truss librarymischief
2014-02-24acid: add some debugging aid function for counting kernel image cache page refscinap_lenrek
2014-02-16truss: use A instead of X as address format for data dumpcinap_lenrek
2014-02-16truss: fix syscall address formatscinap_lenrek
2014-02-14acid: add semacquire/semrelease/tsemacquire syscalls, handle _seek hack for ↵cinap_lenrek
amd64 (thanks erik)
2014-02-12acid: fix acid/network, fix address formats from X to Acinap_lenrek
2014-02-12truss: support for amd64cinap_lenrek
2014-02-10acid: remove objchar, prefering foobar.$objtype.acidcinap_lenrek
acid already sets up objtype for us.
2014-02-10acid: update acid libraries for amd64cinap_lenrek
2014-02-02add acid library for amd64cinap_lenrek
2013-12-25acid leak: remove arena pointer a < 0xff000000 checkcinap_lenrek
in the kernel, area can lie above 0xff000000
2013-12-17acid leak: handle ALIGN_MAGIC padding of skip area for mallocalign()cinap_lenrek
the alloc and realloc tag words do not start at the beginning of a block created by mallocalign(). instead, the block is padded with ALIGN_MAGIC.
2013-11-08kernel: make image cache not hold onto the channel, remove nocache flagcinap_lenrek
the image cache should not hold onto the text file channel when not neccesary. now, the image keeps track of the number of page cache references in Image.pgref. if the number of page cache references and Image.ref are equal, this means all the references to this image are from the page cache. so no segments are using this image. in that case, we can close the channel, but keep the Image in the hash table. when attachimage() finds our image, it will check if Image.c is nil and reattach the channel to the image before it is used. the Image.nocache flag isnt needed anymore.
2013-06-10acid: fix dumptree() acid function to work in kernel debug, update ↵cinap_lenrek
malloc.acid and pool.acid files
2013-05-26keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for ↵cinap_lenrek
new format we now always use the new FXSAVE format in FPsave structure and fpregs file, converting back and forth in fpx87save() and fpx87restore(). document that fprestore() is a destructive operation now. change fp register definition in libmach and adapt fpr() acid funciton. avoid unneccesary copy of fpstate and fpsave in sysfork(). functions including syscalls do not preserve the fp registers and copying fpstate from the current process would mean we had to fpsave(&up->fpsave); first. simply not doing it, new process starts in FPinit state.
2012-10-17kernel: mnt cache reworkcinap_lenrek
avoid double entries in the cache for copen() and properly handle locking so we wont just give up if we cant lock the Mntcache entry, but drop the cache lock, qlock the Mntcache entry, and then recheck the cache. general cleanup (cdev -> ccache, use eqchantdqid())
2012-10-09/sys/lib/acid/kernel: fix imagecache() and procenv()cinap_lenrek
2012-10-09/sys/lib/acid/kernel: needacid("chan")cinap_lenrek
2012-10-07/sys/lib/acid/kernel: fix intrcount()cinap_lenrek
2012-09-18bring kernel acid library in sync (import from sources)cinap_lenrek
2011-09-03mergeglenda
2011-08-21fixed acid kernelaiju
2011-06-30acid/pool: fix issue #61cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso image - sys/libTaru Karttunen