12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- uClibc thread-safety analysis
- Things that are still known to be needed for thread safety:
- getgrgid_r <not implemented, required by SuSv3>
- getgrnam_r <not implemented, required by SuSv3>
- Things that might be nice, but are not required:
- gethostent_r <desired, but not required for SuSv3>
- getnetbyaddr_r <desired, but not required for SuSv3>
- getnetent_r <desired, but not required for SuSv3>
- getnetbyname_r <desired, but not required for SuSv3>
- getprotobynumber_r <desired, but not required for SuSv3>
- getprotoent_r <desired, but not required for SuSv3>
- getprotobyname_r <desired, but not required for SuSv3>
- getnetbyaddr_r <desired, but not required for SuSv3>
- getnetbyname_r <desired, but not required for SuSv3>
- getnetent_r <desired, but not required for SuSv3>
- getprotobynumber_r <desired, but not required for SuSv3>
- getprotoent_r <desired, but not required for SuSv3>
- getprotobyname_r <desired, but not required for SuSv3>
- Functions that use static data and may still need locking:
- --------------------------------------------------------------------
- libc/inet/rpc/rpc_thread.c:
- __rpc_thread_variables is currently disabled, since thread
- local storage seems to not be correctly specified as
- weak functions.
- --------------------------------------------------------------------
- unistd/getpass.c:
- static char buf[PWD_BUFFER_SIZE];
- getpass <fix required> <---
-
- NOTE: This function returns a pointer to a static data structure.
- This seems like it requires an _r version of this function. Glibc
- does the same thing. Oops! So much for thread-safe glibc!
- --------------------------------------------------------------------
- unistd/sysconf.c:
- static long int ret_vals[_UCLIBC_SYSCONF_NUM_VALID_ARGS];
- find_or_add_in_table <fix required?> <---
- main <fix required?> <---
- NOTE: I'm not sure if this needs to be made reentrant...
- --------------------------------------------------------------------
|