Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-11-12 | Fix the C version of atomic lock so that the compiler will not share | Dale Rahn | |
registers. ok marc@ | |||
2002-11-10 | build crtbegin/crtend as it is ment for elf | Michael Shalayeff | |
2002-11-10 | SEE ALSO corrections. millert ok. | Federico G. Schwindt | |
2002-11-10 | missing MLINKs for setresuid(2). millert ok. | Federico G. Schwindt | |
2002-11-09 | remove unused manpages (already in libc) and reorder SEE ALSO; marc@ ok. | Federico G. Schwindt | |
2002-11-08 | kill two compiler warnings; ok marc@ | Todd T. Fries | |
2002-11-08 | Do not try to initialize entries in the fd table before the table | Marco S Hyman | |
is created. | |||
2002-11-07 | Add needed table of strong functions that override weak functions | Marco 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-07 | type func(...) -> type\nfunc(...) for function definitions | Marco S Hyman | |
2002-11-06 | Move the weak definition from before the syscall's entry point to | Todd C. Miller | |
after. This avoids a bunch of reloc warnings by working around a deficiency in the a.out loader. miod@ OK | |||
2002-11-06 | From 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-05 | thread safe libc -- 2nd try. OK miod@, millert@ | Marco S Hyman | |
Thanks to miod@ for m68k and vax fixes | |||
2002-11-05 | Rename cerror to __cerror and curbrk to __curbrk, to avoid namespace | Miod Vallat | |
pollution. Conforming to art@'s evil plans. | |||
2002-11-05 | Rename cerror to __cerror and curbrk to __curbrk, to avoid namespace | Miod Vallat | |
pollution. Conforming to art@'s evil plans. | |||
2002-11-04 | test locks against _SPINLOCK_UNLOCKED, not 0. _SPINLOCK_UNLOCKED is | Marco S Hyman | |
not zero on all arches | |||
2002-11-03 | back out previous patch.. there are still some vax/m68k issues | Marco S Hyman | |
2002-11-03 | libc changes for thread safety. Tested on: | Marco S Hyman | |
alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way. | |||
2002-11-02 | Include string.h to get memcpy() prototype; OK marc@ | Todd C. Miller | |
2002-11-01 | Working atomic locks on vax for libc_r. | Miod Vallat | |
ok marc@ | |||
2002-11-01 | Stub to help libc_r builds | Miod Vallat | |
2002-11-01 | md part for hppa should look like this, at the first look | Michael Shalayeff | |
2002-10-31 | gotta define SYSEXIT() and make all the rest of sys/*S be thread-safe now, ↵ | Michael Shalayeff | |
missed this fuct in the previous take on thread-safe libc | |||
2002-10-31 | marc@ said we should be always thread-safe, accomodate for that, also ↵ | Michael Shalayeff | |
defining the weak symbols which we did not before in either case | |||
2002-10-30 | No longer used | Todd C. Miller | |
2002-10-30 | o .Xr setres[ug]id | Todd C. Miller | |
o Update HISTORY section | |||
2002-10-30 | Minor bump for [gs]etres[ug]id(2) | Todd C. Miller | |
2002-10-30 | Add [gs]etres[ug]id(2) syscall to libc and use it in emulating some 4.3BSD | Todd C. Miller | |
functions. | |||
2002-10-30 | removes duplicate functions and factor out common code so the needed (but | Marco S Hyman | |
missing) _thread_fd_unlock_owned function can be added with minimal pain. The incorrect special handling of the stdio fds was also removed. Tested with the libc_r regression tests and the mysql regression tests. No complaints from any developers | |||
2002-10-30 | signal handling changes. This corrects several signal | Marco S Hyman | |
handling errors in the threads library. Most of the libc_r regression tests are now ok. thread specific kill semantics are still not correct. No negative comments after posting to tech@ a week or so ago. siginfo test fails on sparc64 due to sparc64 oddity. | |||
2002-10-30 | Revert this va_copy addition, it cannot work on macppc (which is the | Dale Rahn | |
only arch where va_copy is currently required), current version of va_copy uses alloca, but since the results of the va_copy are not used here, only after return, stack trashing will occur. This will have to be revised again for gcc 3.2 support on powerpc. | |||
2002-10-26 | Describe the actual operation of inet_net_pton with a few examples. | Marco S Hyman | |
Also add caution regarding dst field initialization. operation text OK millert@ | |||
2002-10-24 | Use va_copy() for varargs assignemnt. va_copy() is standard with C99 | Dale Rahn | |
and gcc3.2 requires this on powerpc. | |||
2002-10-24 | Remove some old if 0/if 1 code, it is pointless to keep this in. | Dale Rahn | |
2002-10-21 | Check for null pointer before deref in info output. Based upon | Marco S Hyman | |
a freebsd patch forwarded to me by millert@ (thanks!). Change also applied to uthread_info.c even though we do not use it | |||
2002-10-21 | reversed condition checking for sig*jmp(, savemask) | Michael Shalayeff | |
2002-10-21 | deal w/ longjmp(, 0) | Michael Shalayeff | |
2002-10-21 | make an ieeefp regress pass; miod@ ok | Michael Shalayeff | |
2002-10-16 | - don't use the function enclosure macros. | Wilbern Cobb | |
- replace `POSIX 1003.2' instances with St -p1003.2. ok mpech@, millert@ | |||
2002-10-16 | Replace "if (value != NULL && value == as->FOO)" with just | Todd C. Miller | |
"if (value == as->FOO)" -- NULL needs no special handling. Pointed out by Paul Borman. | |||
2002-10-16 | Implement isfdtype(3) as per the POSIX.1g draft; requested by David Hill | Todd C. Miller | |
2002-10-15 | Fix typo introduce in last commit | Todd C. Miller | |
2002-10-15 | cast NULL varargs sentinel to char * so it is 64 bit on alpha & sparc64 | Todd C. Miller | |
2002-10-15 | Document the fact that calling auth_setitem() with a NULL value | Todd C. Miller | |
clears (frees) the corresponding value in the auth session. | |||
2002-10-15 | If auth_setitem() is called with the current value (ie: the pointer | Todd C. Miller | |
is the same as the private value) then just return 0 as there is nothing to do. This fixes a potentially nasty problem where the caller could grab the username or style from the auth session via auth_getitem() and then call auth_verify() with those values. auth_setitem() would eventually get called which would make a private copy and free the old values in the auth session. After all this, the stashed username and/or style pointers would point to freed memory. | |||
2002-10-15 | Note that when calling auth_verify() with a style and/or username, | Todd C. Miller | |
the old values in the auth session will get freed and the new values added. | |||
2002-10-15 | Cast NULL sentinel in auth_call() to a pointer | Todd C. Miller | |
2002-10-13 | Move the clearing of as->state in auth_challenge() to after the sanity | Todd C. Miller | |
checks. The check for "as != NULL" is useless if you have already dereferenced "as". Also fix some comment typos. From Moritz Jodeit. | |||
2002-10-11 | remove unused/unreferenced code. | Marco S Hyman | |
ok fgs@ | |||
2002-10-11 | scalb() in vax libm is in fact scalbn(), so change the symbol name. | Miod Vallat | |
Only affects vax, which has no shared libraries, so no version change needed for libm. Someone with enough math skills ought to code a real scalb() on a rainy day... | |||
2002-10-09 | Use strtoll() and strtoull() instead of strtoq() and strtouq() now | Todd C. Miller | |
that we have them as per the original BSDi code. |