summaryrefslogtreecommitdiff
path: root/sys/lib
AgeCommit message (Collapse)Author
2004-11-28sync from libcMichael Shalayeff
2004-11-28a tiny hppa64 bitMichael Shalayeff
2004-10-0864 bit safe over entire address rangePer Fogelstrom
2004-09-23make it compile with _STANDALONE, ok deraadt@Per Fogelstrom
2004-09-22Add code to let 32bit code *printf() {u,}int64_t values.Miod Vallat
Only enabled if libsa is compiled with the adequate define, so as not to grow bootblocks which do not need this feature. ok deraadt@
2004-09-21Keep providing a 32bit only version of bzero() #ifdef _STANDALONE, asMiod Vallat
bootblocks are compiled as 32bit code.
2004-09-18slightly 64 bit improvedPer Fogelstrom
2004-09-09Changes for 64 bit kernel. Some functions needis to be rewritten orPer Fogelstrom
optimized to take advantage of full 64 bit width registers.
2004-08-26Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.Otto Moerbeek
ok miller@ henning@
2004-08-13add missing copyrightPer Fogelstrom
2004-08-11mips64 nowPer Fogelstrom
2004-08-11move to mips64Per Fogelstrom
2004-08-07ansi and some missing protosTheo de Raadt
2004-07-22Remove some register keywords to make this compile on amd64.Artur Grabowski
2004-07-09Fix buffer writing in cd9660 code, written by Tom and myself, examined by tobyDale Rahn
and tested in-tree for a while.
2004-06-22Change of variable name from read to nread, to reduce differenceTom Cosgrove
from NetBSD version. ok weingart@
2004-06-21add bounded attribute to some functions. anil tested and ok'edJun-ichiro itojun Hagino
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.Todd C. Miller
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@
2004-05-06add back strchr/strrchr; from dhartmeiTheo de Raadt
2004-04-02remove terms 3 & 4 for drochner@NetBSD.org; as seen on netbsd listsTheo de Raadt
2004-04-01It turns out that the so-called fast ffs(3) routines were wrong, as soon asMiod Vallat
more than one bit is set, as the ff1 instruction counts from the highest order. However, gcc/m88k with optimization enabled would use a correct, short sequence based upon ff1 and tweaks, to achieve the intended result, hence i did not catch this flaw initially. So revert to the C implementation - it is correct, still decently fast, and will only be used when compiling at -O0.
2004-03-24Do not check for writing to address zero on vax, since this is whereMiod Vallat
we want to be able to load a .gz kernel. ok deraadt@
2004-03-19Enter pxeboot, derived from the NetBSD implementation. InitiallyTom Cosgrove
intended to support network installs using bsd.rd over TFTP. Thanks to the many who tested, including Diana Eichert. ok deraadt@
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-10Allow /boot to load read-only data segments in ELF kernels.Tom Cosgrove
Thanks to miod@ for testing on many archs. ok deraadt@.
2004-02-03no quad stuff on amd64 either; from art@Michael Shalayeff
2004-02-01tag...Dale Rahn
2004-02-01Kernel library bits for arm, from NetBSD.Dale Rahn
2004-01-28an amd64 arch support.Michael Shalayeff
hacked by art@ from netbsd sources and then later debugged by me into the shape where it can host itself. no bootloader yet as needs redoing from the recent advanced i386 sources (anyone? ;)
2004-01-22use C comments, works betterTheo de Raadt
2004-01-21A faster ffs() routine based upon the ff1 assembly instruction.Miod Vallat
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-12-18Move -DDYNAMIC_CRC_TABLE into the main libz MakefileTodd C. Miller
2003-12-17#include <lib/libsa/stand.h> instead of just <stand.h> so we can avoidTodd C. Miller
adding an extra -I for each libz Makefile. This is how the old kernel libz was.
2003-12-17No need to build infback.c here after all.Todd C. Miller
2003-12-17_ZLIB_PRIVATE is not used anywhereTodd C. Miller
2003-12-16Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.hTodd C. Miller
2003-12-16Update to zlib 1.2.1Todd C. Miller
2003-12-16shrink error strings a lot; ok millertTheo de Raadt
2003-12-02KNF, ok deraadt/henningMarkus Friedl
2003-11-24make it use system bcopy/bzero (speeds up the vax about twice); from pr3549Michael Shalayeff
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-11load file in one pass avoiding seeking the headers back and forth; miod@ ↵Michael Shalayeff
testing & ok (two months ago and then i forgot ;)
2003-08-11ansification and knf and protosTheo de Raadt
2003-08-08first ansiTheo de Raadt
2003-08-04Add missing close() on EFTYPE error in exec(); from Patrick LatifiTodd C. Miller
2003-07-05ansiTheo de Raadt
2003-06-23Remove strcat() and strcpy() prototypes since we no longer have thoseTodd C. Miller
functions in kernel-land. Noticed by Jim Rees; OK deraadt@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-04Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. This got missed in the omnibus commit.