summaryrefslogtreecommitdiffstats
path: root/libc/misc/internals/__uClibc_main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Guard hidden prototypes accordinglyPeter S. Mazinger2006-01-231-2/+7
|
* Use __typeof instead of adding full prototypesPeter S. Mazinger2006-01-211-2/+2
|
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-1/+3
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-2/+4
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-17/+28
| | | | missing headers, other jump relocs removed
* create & use an internal alias to __uClibc_init()Mike Frysinger2006-01-081-1/+2
|
* create a hidden internal pagesize symbol for libc usageMike Frysinger2006-01-081-2/+4
|
* tweak __progname handling some more since some [bad] apps actually try and ↵Mike Frysinger2006-01-041-15/+15
| | | | use it
* tweak what is likely() in the argv[0] parsingMike Frysinger2006-01-031-2/+2
|
* add optional support for program_invocation_name/program_invocation_short_nameMike Frysinger2006-01-031-1/+19
|
* we dont need to loop calling abort() because abort() already loops for usMike Frysinger2006-01-031-2/+0
|
* fix previous commit so that __uClibc_init() is run for non-mmu cases again ↵Mike Frysinger2006-01-031-1/+3
| | | | as report by Thomas in Bug 618
* Use attribute_noreturnPeter S. Mazinger2006-01-021-1/+1
|
* Remove -unhonoured- commentPeter S. Mazinger2006-01-021-2/+0
|
* typecast away signed/unsigned warningsMike Frysinger2005-12-281-2/+2
|
* Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger2005-12-161-1/+1
| | | | of __attribute__ ...
* Convert usersPeter S. Mazinger2005-12-161-2/+2
|
* Hide _stdio_init/term, sorry, one change went mistakenly into the earlier commitPeter S. Mazinger2005-12-141-1/+1
|
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-3/+1
|
* Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger2005-12-131-1/+1
|
* More hiding, 300 leftPeter S. Mazinger2005-12-041-0/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-3/+3
|
* Paul Brook writes:Mike Frysinger2005-11-291-0/+2
| | | | | | The functions __check_one_fd and __check_suid in libc/misc/internals/__uClibc_main.c are only used used when __ARCH_HAS_MMU__. The patch below surrounds them with the appropriate #ifdef.
* Hiding againPeter S. Mazinger2005-11-291-0/+3
|
* Undo hiding __libc_fcntl[64], CANCELABLE_SYSCALL is not grep friendly ;-(, ↵Peter S. Mazinger2005-11-151-1/+1
| | | | have to find some other way to make it internal to libc and libpthread
* Update copyright noticePeter S. Mazinger2005-11-151-2/+4
|
* Hide __libc_fcntl[64]. Change weak __libc_fcntl* fcntl* to strongPeter S. Mazinger2005-11-151-1/+1
|
* Hopefully correct undefined __libc_stack_end issuePeter S. Mazinger2005-10-291-2/+9
|
* Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger2005-10-271-40/+17
| | | | to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
* Remove /dev/erandom support, as [h]lfs does not use it in this form.Peter S. Mazinger2005-10-121-27/+2
|
* User strong_alias instead of initializing __guard separatelyPeter S. Mazinger2005-10-081-4/+2
|
* Enable attribute_relro on __guard and __stack_chk_guard now that ld.so ↵Peter S. Mazinger2005-10-031-2/+2
| | | | supports it
* Change the order in which '__uClibc_init' is called. In the case of NPTL, ↵"Steven J. Hill"2005-10-011-4/+5
| | | | some auxillary TLS set up has to happen beforehand. This has been tested for almost two months now and I am tired of chasing it around in my merges. Look in the NPTL trunk if you want more information.
* Add gcc-4.1 non-TLS __stack_chk_guard support. Run the guard setup only once.Peter S. Mazinger2005-10-011-17/+23
|
* New ssp code using syscalls where possible.Peter S. Mazinger2005-09-231-6/+63
| | | | | Moved guard_setup to __uClibc_main.c, the only place where it is called. Removed SIGKILL option, not usable with sigaction.
* correct some typosPeter S. Mazinger2005-09-211-5/+5
|
* punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been releasedMike Frysinger2005-09-081-20/+0
|
* Fix by Martin Schlemmer:Mike Frysinger2005-09-081-0/+10
| | | | | | | | If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via atexit(), but this makes it run _before_ the fini (__app_fini()) of the app, causing stuff like sandbox that frees structs, etc via its fini to segfault. http://bugs.gentoo.org/98187
* anemo writes in Bug 9: use ElfW(auxv_t) instead of Elf32_auxv_tMike Frysinger2005-08-291-3/+4
|
* Add __libc_stack_end to libc.Joakim Tjernlund2005-06-291-1/+2
|
* Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund2005-05-281-1/+11
| | | | | | | | be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change.
* This commit breaks the entire world (yet again). Calculate theEric Andersen2005-05-261-11/+13
| | | | | | | position of envp in C code based on argv and argp. No need to caclulate that in asm for N arches. This way, we better match what glibc does. All arches will need to be fixed to match up with this change.
* Adapt startup code in x86 and PPC to almost match glibc. _init vs. ↵Joakim Tjernlund2005-05-251-3/+4
| | | | | | __libc_csu_init and _fini vs. __libc_csu_fini remains to do.
* Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund2005-05-211-20/+3
| | | | | | | | Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers.
* Prepare for moving ldso FINI handling into libc.Joakim Tjernlund2005-03-201-3/+7
| | | | #define _DL_DO_FINI_IN_LIBC to enable(the arch specific part needs to be in place first).
* Patch from Peter S. Mazinger:Eric Andersen2004-12-221-2/+2
| | | | rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
* Fix up __uClibc_init() for so that we prevent starting SUIDEric Andersen2004-10-271-17/+66
| | | | | binaries where the standard file descriptors are not opened. -Erik
* I will always test before I commit.Eric Andersen2004-08-161-29/+32
| | | | | | I will always test before I commit. I will always test before I commit. -Erik
* Setup __pagesize from inside __uClibc_init(), or else when registeringEric Andersen2004-08-161-31/+31
| | | | | | dtors via atexit(), atexit may need to call realloc with __pagesize still set to 0. ugh. -Erik
* Be a bit more prominant about the fact that setuid handlingEric Andersen2004-08-161-3/+8
| | | | is not quite there...