Re: [tuxdroid-user] Tuxdroid ans slug (NSLU2)
Status: Beta
Brought to you by:
ks156
From: Philippe T. <ph...@te...> - 2007-04-24 11:20:08
|
> The available glib is an old one (version 1.2), so the references to > libgthread don't work. I tried to compile a more recent one (v 2.0.7), > but it requires several other libraries -- libiconv, gettext... -- > which are not provided with uClibC. > What I propose as first step is to use only the libpthread from the GNU libc (glibc, pkg libc6) and to not mix them with the libgthread from the Gnome lib (glib, pkg libglib2.0). So stick only to the pthread_xxx() fcts described in glibc-doc. uClibc should support pthreads properly: config UCLIBC_HAS_THREADS bool "POSIX Threading Support" depends on !HAS_NO_THREADS default y Then, if setuid still does not setup all processes properly after that, I will reorder the operations: - (in main) USB enumerate - USB open handler - setuid nobody - create USB and TCP threads So setuid is before creating threads/forking and I don't need TCP server to wait anymore. And we'll see what is still broken. Phil |