summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2002-12-02Document getlogin_r()Todd C. Miller
2002-12-02Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code.Todd C. Miller
2002-12-02KNFTheo de Raadt
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-11-29riduculous spelling; torh@bogus.netTheo de Raadt
2002-11-29tcpdump support for pfsync; henning@ okMichael Shalayeff
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-11-28fd sharing was re-enabled quite awhile ago.Brad Smith
2002-11-27Honour malloc_junk ('J') with realloc(3), and fix page_dir shrink update.Thierry Deval
2002-11-25Mention the net.inet.tcp.ecn sysctl.Wilbern Cobb
ok kjc@
2002-11-25Warn if atexit(3) fails. Change some tabs to spaces. UseChad Loder
STDERR_FILENO instead of 2. OK millert@
2002-11-24Add HISTORY sectionTodd C. Miller
2002-11-24"The contents is" -> "The contents are"Chad Loder
2002-11-24Zero out the reserved fields of struct gmonhdr rather than leavingChad Loder
stack garbage in them. From FreeBSD. OK deraadt@
2002-11-24Fix comment: s/trailing NULL/trailing NUL/, no code changes.Chad Loder
2002-11-24Fix instance where syslog(3) after closelog(3) could access freed logChad Loder
tag name. OK millert@, deraadt@
2002-11-23Make the mul/div/rem (and u... versions) weak so that ld.so can overrideDale Rahn
it with optimized versions. And allow ld.so to compile with strong versions with extra symbols so it can find them.
2002-11-22Initialize status to zero before calling waitpid(). That way, ifTodd C. Miller
there is nothing to be waited for (for instance if SIGCHLD is being ignored) we don't check WIFEXITED(garbage off the stack).
2002-11-22more snprintf; ok millertTheo de Raadt
2002-11-21shadow -> _shadowTodd C. Miller
2002-11-21Add a "shadow" group and make the shadow passwd db readable by thatTodd C. Miller
group. This changes getpw* to always try the shadow db first and then fall back to the db w/o password hashes. In the future, /usr/libexec/auth/login_passwd (and others) will be setgid shadow instead of setuid root. OK deraadt@ If you track -current you should do the following: o add group shadow to /etc/group o chgrp shadow /etc/spwd.db o chmod 640 /etc/spwd.db o rebuild and install src/usr.sbin/pwd_mkdb You do not need to rebuild libc yet, but it would't hurt to do so.
2002-11-21.Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page.Todd C. Miller
2002-11-21Take advantage of the libc minor bump and add atoll(3)Todd C. Miller
2002-11-21Add strerror_r and functions versions of getchar_unlocked andMarco S Hyman
putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
2002-11-19typo; Stefan BergTodd C. Miller
2002-11-18Oops, unbrek libc_pMiod Vallat
2002-11-16Zero out struct skey early in skeylookup() so callers can reliably checkTodd C. Miller
for keyfile == NULL and not get a garbage value.
2002-11-16Add a missing check for NULL keyfile in skeychallenge() thatTodd C. Miller
caused a user w/o an S/Key to just get "permission denied" from login_skey instead of a fake challenge.
2002-11-16Enable libpthread, kind of....Marco S Hyman
The library is installed as libnpthread, not libpthread. This gets around broken autoconf ports that attempt to link using both -lpthread and -pthread. The next step will be to change the gcc -pthread flag to use this lib instead of libc_r.
2002-11-14Updates from http://www.isc.org/products/BIND/patches/bind4910.diffTodd C. Miller
o check __dn_skipname() return value for errors o fix sanity checking of reverse records, getnetbyname() may not have been working before.
2002-11-14Add a link to libncurses. Lots of programs/configure scripts out thereTodd C. Miller
look for ncurses by checking for ncurses.h or libncurses instead of checking for NCURSES_VERSION in curses.h. Closes PR 2942.
2002-11-12get rid of compiler warningsMarco S Hyman
2002-11-12don't build with -g/-ggdb by default.Marco S Hyman
always build with -Wall bump version to 0.7 (matches libc_r x.7)
2002-11-12Fix the C version of atomic lock so that the compiler will not shareDale Rahn
registers. ok marc@
2002-11-10build crtbegin/crtend as it is ment for elfMichael Shalayeff
2002-11-10SEE ALSO corrections. millert ok.Federico G. Schwindt
2002-11-10missing MLINKs for setresuid(2). millert ok.Federico G. Schwindt
2002-11-09remove unused manpages (already in libc) and reorder SEE ALSO; marc@ ok.Federico G. Schwindt
2002-11-08kill two compiler warnings; ok marc@Todd T. Fries
2002-11-08Do not try to initialize entries in the fd table before the tableMarco S Hyman
is created.
2002-11-07Add needed table of strong functions that override weak functionsMarco S Hyman
in libc so static linking works with -lpthreads. There is a (linker?) problem that still shows up with static -pthread, though. Solution to problem from freebsd.
2002-11-07type func(...) -> type\nfunc(...) for function definitionsMarco S Hyman
2002-11-06Move the weak definition from before the syscall's entry point toTodd C. Miller
after. This avoids a bunch of reloc warnings by working around a deficiency in the a.out loader. miod@ OK
2002-11-06From NetBSD; Use _C_LABEL, not SYSNAME to call sigaltstack, sigblock,Todd C. Miller
sigreturn. sigblock has not been a syscall since 4.3BSD and using SYSCALL directly seems like a bad idea in general. Fixes a build problem on vax. OK miod@
2002-11-05thread safe libc -- 2nd try. OK miod@, millert@Marco S Hyman
Thanks to miod@ for m68k and vax fixes
2002-11-05Rename cerror to __cerror and curbrk to __curbrk, to avoid namespaceMiod Vallat
pollution. Conforming to art@'s evil plans.
2002-11-05Rename cerror to __cerror and curbrk to __curbrk, to avoid namespaceMiod Vallat
pollution. Conforming to art@'s evil plans.
2002-11-04test locks against _SPINLOCK_UNLOCKED, not 0. _SPINLOCK_UNLOCKED isMarco S Hyman
not zero on all arches
2002-11-03back out previous patch.. there are still some vax/m68k issuesMarco S Hyman