summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund2005-04-2413-34/+427
| | | | syscalls. This won't work on 2.2 kernels(I think).
* In Bug 116, dicksnippe writes:Mike Frysinger2005-04-161-3/+32
| | | | | | | | | | uClibc's mkstemp/mktemp tries to read /dev/urandom (or /dev/random) to generate random contents for the .XXXXXX part of its argument. In a chrooted environment /dev/[u]random might not be available. Thus the mkstemp call fails. Add back in the braindamaged gettimeofday/getpid code, but only as a fallback for when reading /dev/[u]random fail for whatever reasons.
* cbachman writes Bug 195:Mike Frysinger2005-04-161-0/+4
| | | | | | | | Add back in the code which sets the default facility if none specified. This may cause issues with klogd when it tries to use the libc's syslog(), but klogd comes with its own syslog() implementation so that's a none issue. For more info, please see the following: http://sources.redhat.com/ml/libc-alpha/2000-03/msg00059.html
* Further rework the mips syscallsEric Andersen2005-04-131-183/+221
|
* Cleanup the mips syscalls a bit more, and fix a fewEric Andersen2005-04-011-34/+34
| | | | annoying warnings.
* Forgot to change name of builtin buffer during last rewrite.Manuel Novoa III2005-03-211-3/+2
|
* Pass _dl_fini function ptr to __uClibc_start_main().Joakim Tjernlund2005-03-211-0/+1
| | | | | | To actually use it, one must define _DL_DO_FINI_IN_LIBC globally. That will also break ABI for apps linked with previous version of crtX.S. They must be relinked with this version to work again.
* Pass _dl_fini function ptr to __uClibc_start_main().Joakim Tjernlund2005-03-201-1/+2
| | | | | | To actually use it, one must define _DL_DO_FINI_IN_LIBC globally. That will also break ABI for apps linked with previous version of crtX.S. They must be relinked with this version to work again.
* Prepare for moving ldso FINI handling into libc.Joakim Tjernlund2005-03-202-3/+13
| | | | #define _DL_DO_FINI_IN_LIBC to enable(the arch specific part needs to be in place first).
* Revert last commit. If I had wanted to include that patch, I would have doneManuel Novoa III2005-03-171-3/+3
| | | | it myself at least a year and a half ago.
* http://bugs.uclibc.org/view.php?id=165Mike Frysinger2005-03-161-3/+3
| | | | | | d1mag writes: Compilation of _fpmaxtostr.c generate an internal error by m68k-elf-gcc, and this patch has been used in uClinux-dist to fix it.
* change the reg class so it actually compilesMike Frysinger2005-03-161-1/+1
|
* merge the syscalls and punt the glibc import in the process (blah, what a ↵Mike Frysinger2005-03-161-136/+154
| | | | waste of time that was :D)
* get rid of linux-headers hack ... rip code from glibcMike Frysinger2005-03-161-7/+169
|
* Make mips/mipsel syscalls no longer complain about the "use of memory inputEric Andersen2005-03-141-6/+12
| | | | without lvalue in asm". Give the asm an lvalue so it can be happy.
* - added externs to keep gcc quiet about implicit declaration of 3 functionsNed Ludd2005-03-121-0/+5
|
* doh! We'll get this one right yet...Eric Andersen2005-02-251-2/+2
|
* update so argc/argv/envp work and binaries dont just segfault immediatlyMike Frysinger2005-02-211-6/+24
|
* Some uClinux architectures do not define pivot_rootEric Andersen2005-02-181-1/+10
|
* dont need sysdep.hMike Frysinger2005-02-151-3/+0
|
* some incomplete asm source for x86_64Mike Frysinger2005-02-152-0/+178
|
* some more x86_64 sourceMike Frysinger2005-02-151-0/+48
|
* some more x86_64 sourceMike Frysinger2005-02-152-0/+169
|
* some source files for x86_64Mike Frysinger2005-02-157-0/+353
|
* headers for x86_64Mike Frysinger2005-02-1525-0/+2569
|
* When I broke up the stdio code, the "support pre C99 compilers" va_copy compatManuel Novoa III2005-02-143-34/+29
| | | | | | | | | define was no longer visible to vasprintf. I didn't catch this since I no longer use such old tools. Unfortunately, some well-meaning but misguided individual decided to just cut-and-paste the macro. :-( Try to clean up the situation by putting it into a header that can be overriden by any archs that need to. If this breaks for anyone (as I said, I no longer use such old tools and so haven't tested), let me know and I'll fix it.
* Fix some issues with nice(). SUSv3 specifies that it return the newManuel Novoa III2005-02-141-16/+52
| | | | | | | priority if successful, while the linux syscall returns 0. Also, in the non-syscall version, we must be sure to set errno to EPERM on failure since setpriority() can set errno to several possible values. Note: The version of glibc on my debian system is broken wrt EPERM too.
* x86_64 fixes: make sure the fall back routine for using umount2() for ↵Mike Frysinger2005-02-131-2/+7
| | | | umount() actually works :)
* x86_64 fixes: update prototype to match the other prototypesMike Frysinger2005-02-131-1/+1
|
* x86_64 fixes: __NR_socketcall doesnt exist, nor does __NR_recv / __NR_send ↵Mike Frysinger2005-02-131-19/+21
| | | | ... so dont try using socketcall() unless the system call exists
* touchup the $(AR) mojo to address some bugs by Peter KjellerstedtMike Frysinger2005-02-131-6/+11
|
* no more cvsMike Frysinger2005-02-1214-19/+0
|
* Define va_copy for pre-C99 compilers (code taken from vfprintf.c).Peter Kjellerstedt2005-02-091-0/+13
|
* Implement _start completely in assembler. Otherwise the compiler willPeter Kjellerstedt2005-02-091-15/+19
| | | | | push the frame pointer when DO_DEBUG is enabled (and thus incorrect argc, argv and envp will be passed to the program).
* Include features.h (without it, testing for __UCLIBC_HAS_THREADS__ Peter Kjellerstedt2005-02-091-0/+1
| | | | makes no sense).
* - 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert ConnollyNed Ludd2005-02-081-10/+9
|
* - 1/NN patches for sspNed Ludd2005-02-081-6/+7
|
* merge parallel build supportMike Frysinger2005-01-291-7/+7
|
* merge parallel build supportMike Frysinger2005-01-2568-341/+303
|
* When there is no umount syscall, but umount2 is available, thenEric Andersen2005-01-231-0/+7
| | | | try to emulate umount() using umount2()
* Avoid compiler warnings.Peter Kjellerstedt2005-01-194-43/+51
|
* Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,Peter Kjellerstedt2005-01-192-15/+26
| | | | but neither __NR_fadvise64 nor __NR_fadvise64_64.
* fix target dependencies to support parallel buildingMike Frysinger2005-01-191-6/+3
|
* use $(RANLIB)Mike Frysinger2005-01-191-2/+1
|
* add posix_fadvise / posix_fadvise64 supportMike Frysinger2005-01-173-8/+99
|
* whitespace cleanupEric Andersen2005-01-161-4/+4
|
* Per http://bugs.uclibc.org/view.php?id=12:Eric Andersen2005-01-161-0/+10
| | | | Some newer archs only have umount2
* - ifdef bdflush update from bug #0000011Ned Ludd2005-01-161-0/+9
|
* - ifdef uselib update from bug #0000013Ned Ludd2005-01-161-0/+2
|
* dont bother including sysctl.h unless we need itMike Frysinger2005-01-111-1/+3
|