svn commit: trunk/uClibc: extra/Configs include include/netinet i etc...

Bernhard Fischer rep.dot.nop at gmail.com
Tue Jun 3 08:17:49 UTC 2008


On Tue, Jun 03, 2008 at 01:11:57AM -0700, aldot at uclibc.org wrote:
>Author: aldot
>Date: 2008-06-03 01:11:56 -0700 (Tue, 03 Jun 2008)
>New Revision: 22198

I'm thinking about rewriting the resolver-code (leaving the current one
as an .old alternative) because:
1) It's bloated.
2) It isn't designed to work for IPv6-only.

Iff i find the time to tackle this then i expect a first draft to be
thread-agnostic, of course.

As to the rest below, please CC me if you experience unexpected
problems.
thanks,
Bernhard

>Log:
>- adds several config-options to allow for turning off certain features
>  like
>  o UCLIBC_HAS_GNU_ERROR
>  o UCLIBC_HAS_BSD_ERR
>  o UCLIBC_HAS_PTY
>  o UCLIBC_HAS_GETPT (1)
>  o UCLIBC_SYSCALL_STUBS
>  o UCLIBC_SYSCALL_STUB_WARNING
>  o UCLIBC_LINUX_SPECIFIC (2)
>  o UCLIBC_BSD_SPECIFIC (3)
>  o UCLIBC_NTP_LEGACY (4)
>  o UCLIBC_SV4_DEPRECATED (5)
>  o UCLIBC_HAVE_REALTIME (6)
>  o UCLIBC_HAVE_ADVANCED_REALTIME (7)
>  o UCLIBC_HAVE_EPOLL (8)
>  o UCLIBC_HAVE_XATTR (9)
>  o UCLIBC_HAVE_PROFILING (10)
>
>(1) make non-standard getpt optional and implement standard posix_openpt
>(2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(),
>    personality()
>    ppoll(), setresuid()
>(3) mincore(), getdomainname(), setdomainname()
>(4) ntp_adjtime(), ntp_gettime() aliases
>(5) ustat() [use statfs(2) in your code instead]
>(6) All marked as "(REALTIME)" in SUSv3
>(7) All marked as "(ADVANCED REALTIME)" in SUSv3
>(8) epoll_create(), epoll_ctl(), epoll_wait()
>(9) all Extended Attributes
>(10) helpers for gcc's -finstrument-functions
>
>- Fixes _dl_exit()
>- Implements sleep(3) for !UCLIBC_HAVE_REALTIME
>- Implements usleep(3) for !UCLIBC_HAVE_REALTIME
>- adds #warning about incorrect posix_fadvise{,64}()
>- removes unused and unwanted uselib()
>
>Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead 
>of formerly 130k.
>
>
>Modified:
>   trunk/uClibc/Makefile.in
>   trunk/uClibc/TODO
>   trunk/uClibc/extra/Configs/Config.in
>   trunk/uClibc/include/fcntl.h
>   trunk/uClibc/include/mqueue.h
>   trunk/uClibc/include/netinet/in.h
>   trunk/uClibc/include/signal.h
>   trunk/uClibc/include/stdlib.h
>   trunk/uClibc/include/sys/mman.h
>   trunk/uClibc/include/sys/poll.h
>   trunk/uClibc/include/sys/statfs.h
>   trunk/uClibc/include/sys/timex.h
>   trunk/uClibc/include/time.h
>   trunk/uClibc/include/unistd.h
>   trunk/uClibc/ldso/include/dl-syscall.h
>   trunk/uClibc/libc/inet/Makefile.in
>   trunk/uClibc/libc/inet/getaddrinfo.c
>   trunk/uClibc/libc/inet/hostid.c
>   trunk/uClibc/libc/inet/if_index.c
>   trunk/uClibc/libc/inet/resolv.c
>   trunk/uClibc/libc/inet/socketcalls.c
>   trunk/uClibc/libc/misc/dirent/Makefile.in
>   trunk/uClibc/libc/misc/error/Makefile.in
>   trunk/uClibc/libc/misc/error/err.c
>   trunk/uClibc/libc/misc/statfs/fstatvfs.c
>   trunk/uClibc/libc/misc/statfs/statvfs.c
>   trunk/uClibc/libc/misc/syslog/Makefile.in
>   trunk/uClibc/libc/misc/sysvipc/sem.c
>   trunk/uClibc/libc/misc/time/Makefile.in
>   trunk/uClibc/libc/signal/Makefile.in
>   trunk/uClibc/libc/signal/sigwait.c
>   trunk/uClibc/libc/stdlib/Makefile.in
>   trunk/uClibc/libc/stdlib/_atexit.c
>   trunk/uClibc/libc/stdlib/bsd_getpt.c
>   trunk/uClibc/libc/stdlib/getpt.c
>   trunk/uClibc/libc/sysdeps/linux/common/Makefile.in
>   trunk/uClibc/libc/sysdeps/linux/common/adjtimex.c
>   trunk/uClibc/libc/sysdeps/linux/common/fstatfs.c
>   trunk/uClibc/libc/sysdeps/linux/common/getdomainname.c
>   trunk/uClibc/libc/sysdeps/linux/common/getdtablesize.c
>   trunk/uClibc/libc/sysdeps/linux/common/getpgid.c
>   trunk/uClibc/libc/sysdeps/linux/common/getpgrp.c
>   trunk/uClibc/libc/sysdeps/linux/common/getrlimit.c
>   trunk/uClibc/libc/sysdeps/linux/common/mincore.c
>   trunk/uClibc/libc/sysdeps/linux/common/mprotect.c
>   trunk/uClibc/libc/sysdeps/linux/common/msync.c
>   trunk/uClibc/libc/sysdeps/linux/common/munlockall.c
>   trunk/uClibc/libc/sysdeps/linux/common/nanosleep.c
>   trunk/uClibc/libc/sysdeps/linux/common/poll.c
>   trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise.c
>   trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise64.c
>   trunk/uClibc/libc/sysdeps/linux/common/ppoll.c
>   trunk/uClibc/libc/sysdeps/linux/common/ptrace.c
>   trunk/uClibc/libc/sysdeps/linux/common/quotactl.c
>   trunk/uClibc/libc/sysdeps/linux/common/sbrk.c
>   trunk/uClibc/libc/sysdeps/linux/common/select.c
>   trunk/uClibc/libc/sysdeps/linux/common/seteuid.c
>   trunk/uClibc/libc/sysdeps/linux/common/setpgid.c
>   trunk/uClibc/libc/sysdeps/linux/common/setresuid.c
>   trunk/uClibc/libc/sysdeps/linux/common/sigaltstack.c
>   trunk/uClibc/libc/sysdeps/linux/common/sigpending.c
>   trunk/uClibc/libc/sysdeps/linux/common/sigprocmask.c
>   trunk/uClibc/libc/sysdeps/linux/common/sigqueue.c
>   trunk/uClibc/libc/sysdeps/linux/common/sigsuspend.c
>   trunk/uClibc/libc/sysdeps/linux/common/statfs.c
>   trunk/uClibc/libc/sysdeps/linux/common/symlink.c
>   trunk/uClibc/libc/sysdeps/linux/common/sync.c
>   trunk/uClibc/libc/sysdeps/linux/common/sysctl.c
>   trunk/uClibc/libc/sysdeps/linux/common/sysfs.c
>   trunk/uClibc/libc/sysdeps/linux/common/tee.c
>   trunk/uClibc/libc/sysdeps/linux/common/truncate64.c
>   trunk/uClibc/libc/sysdeps/linux/common/umount.c
>   trunk/uClibc/libc/sysdeps/linux/common/umount2.c
>   trunk/uClibc/libc/sysdeps/linux/common/uselib.c
>   trunk/uClibc/libc/sysdeps/linux/common/utimes.c
>   trunk/uClibc/libc/sysdeps/linux/common/wait3.c
>   trunk/uClibc/libc/sysdeps/linux/common/wait4.c
>   trunk/uClibc/libc/sysdeps/linux/common/waitid.c
>   trunk/uClibc/libc/sysdeps/linux/i386/sys/io.h
>   trunk/uClibc/libc/unistd/fpathconf.c
>   trunk/uClibc/libc/unistd/pathconf.c
>   trunk/uClibc/libc/unistd/sleep.c
>   trunk/uClibc/libc/unistd/usleep.c
>   trunk/uClibc/librt/Makefile.in
>   trunk/uClibc/librt/mq_receive.c
>   trunk/uClibc/librt/mq_send.c
>   trunk/uClibc/libutil/Makefile.in
>   trunk/uClibc/libutil/openpty.c
>
>
>Changeset:
>
>Sorry, the patch is too large to include (2729 lines).
>Please use ViewCVS to see it!
>
>http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=22198



More information about the uClibc mailing list