summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen2002-08-281-2/+15
| | | | -Erik
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-1/+5
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen2002-08-251-16/+14
| | | | | do any of that silly translating... -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-1/+27
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Make shm stuff work properly.Eric Andersen2002-08-252-23/+22
| | | | -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-241-7/+0
| | | | i386. This is for Erik to look at wrt the other archs.
* Avoid `ECANCELED' redefined on mipsEric Andersen2002-08-241-3/+4
| | | | -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-242-10/+18
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-232-612/+60
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-231-392/+7
| | | | -Erik
* (initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader2002-08-231-1/+1
|
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-2/+613
| | | | -Erik
* Rework errno handling to be kernel header freeEric Andersen2002-08-222-12/+523
| | | | -Erik
* Hide .hidden stuff unless explicitly enabledEric Andersen2002-08-221-10/+16
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-212-3/+2
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-199-477/+49
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Work from Stefan Allius which allows superH to use the commonEric Andersen2002-08-192-1/+7
| | | | method for building crti.o and crtn.o
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-181-3/+12
| | | | | need to translate these entities... -Erik
* whitespaceMiles Bader2002-08-161-0/+1
|
* (errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader2002-08-161-3/+4
| | | | | (__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-161-1/+1
| | | | -Erik
* Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III2002-08-121-9/+9
| | | | | | | | | needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
* Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough2002-08-091-0/+1
| | | | | | using a 3.0.4 version of the sh-linux-gcc compiler.
* pread and pwrite were broken in several ways:David McCullough2002-08-091-19/+23
| | | | | | | | | | | | | | * pwrite was using the write system call. * SYSCALL_INLINE was only defined for pread and reused by pwrite meaning pwrite did a pread :-). * The kernel pread/pwrite interfaces always take a 64bit value. So the libc versions must do the LONG_LONG_PAIR stuff otherwise the pread/pwrite calls will not work. These guys are working now for SH at least (and I can format my DiskOnChip again ;-)
* At some stage I was getting conflicts on the SH platform withDavid McCullough2002-08-091-2/+2
| | | | | the two i_am_not_a_leaf functions, changing the name of one is harmless and fixed the problem at the time. Not entirely sure it's still required.
* Patch from Martin Proulx <mproulx@okiok.com> to fix i960Eric Andersen2002-07-311-1/+1
| | | | create_module() support.
* Oops. I accidentally omitted the actual mknod() function.Eric Andersen2002-07-271-0/+9
| | | | -Erik
* Add some syscalls which I moved out of syscalls.cEric Andersen2002-07-225-0/+239
| | | | -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-227-174/+113
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-152-2/+18
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* stupid cut-n-paste bugEric Andersen2002-07-151-5/+5
| | | | -Erik
* Silence a couple of silly warningsEric Andersen2002-07-152-0/+2
| | | | -Erik
* Rework pread and pwrite support so it should actually work.Eric Andersen2002-07-153-33/+219
| | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-071-8/+0
|
* Fix namespace pollution by hiding statfix and statfix64 byEric Andersen2002-07-075-11/+11
| | | | | prepending an __ to the name. Not perfect but better. -Erik
* Cleanup namespace leaks by prepending __ to global stuff toEric Andersen2002-07-071-2/+3
| | | | | indicate it is (alledgedly) private. -Erik
* Only define __uwchar_t if wide char support is enabled.Manuel Novoa III2002-07-051-1/+1
|
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-032-16/+51
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen2002-06-262-0/+2
|
* Fix support for 2.0.x linux kernels. Oops.Eric Andersen2002-06-211-2/+2
| | | | -Erik
* Cleanup the getcwd implementation (again) since I broke itEric Andersen2002-06-183-8/+174
| | | | | | | last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
* Eliminate all the pointless globals from getcwd(). DefaultEric Andersen2002-06-181-1/+7
| | | | | to using the getcwd syscall instead, when it is present. -Erik
* Kill kernel_version.c, which is completely meaningless crapEric Andersen2002-06-182-54/+1
| | | | | and didn't even work. -Erik
* Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III2002-06-181-0/+8
| | | | | | | | | standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages.
* Add support for sigtimedwait and sigwaitinfoEric Andersen2002-06-171-0/+39
| | | | -Erik
* Kill the libc-lock headers, which we do not use and which areEric Andersen2002-06-102-375/+0
| | | | | not correct for uClibc. Fix setenv locking to behave itself. -Erik
* Doh! A silly typo broke select...Eric Andersen2002-05-301-2/+2
| | | | -Erik
* Make these properly cope with 64bit systemsEric Andersen2002-05-302-29/+35
| | | | -Erik
* Fixup some silly bugs I added earlierEric Andersen2002-05-301-40/+37
| | | | -Erik
* Make syscalls.c way more generic. Now works on alpha...Eric Andersen2002-05-301-4/+173
| | | | -Erik