Age | Commit message (Collapse) | Author |
|
first install too.
|
|
console.
|
|
* libdde_linux26/lib/src/arch/l4/cli_sti.c (unlock_refcnt): New variable.
(raw_local_irq_restore): Unlock `cli_lock' when `flags' are equal to
`unlock_refcnt' (and clear the latter).
(raw_local_irq_disable): If `cli_lock' was not locked, save the current
value of `_refcnt' into `unlock_refcnt', unless the former is already
smaller than the latter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When getting a TSD, handle gracefully the case of an invalid key.
When setting a TSD, check for the validity of the key as recommended
(although not required) by POSIX. This also avoids potentially
filling the `thread_specifics' hash of threads with TSD of invalid
keys.
Add two simple checks in test-7.c for the two situations above.
* sysdeps/hurd/pt-getspecific.c (pthread_getspecific): Check the
validity of the specified key.
* sysdeps/hurd/pt-setspecific.c (pthread_setspecific): Likewise.
* tests/test-7.c (main): Add two assertions.
|
|
|
|
Conflicts:
tests/Makefile
|
|
|
|
|
|
until we set up a daemon to feed /dev/random with entropy.
|
|
|
|
|
|
* sysdeps/hurd/pt-destroy-specific.c (__pthread_destroy_specific): Correct
logic for PTHREAD_KEY_INVALID slots.
* tests/test-__pthread_destroy_specific-skip.c: New file.
* tests/Makefile (CHECK_SRC): Add test-__pthread_destroy_specific-skip.c.
|
|
|
|
When deleting a key using `pthread_key_delete', delete all the values
associated to that key in all the threads available. Otherwise, the
key reuse in `pthread_key_create' can cause new keys to have thread
specific data of the previously used key with the same index.
Add a test for this case, which creates and deletes pairs of keys
checking that they have a NULL thread specific data after creation.
* sysdeps/hurd/pt-key-delete.c (pthread_key_delete): Remove all the
values of the key in all the threads.
* tests/Makefile (CHECK_SRC): Add test-17.c.
* tests/test-17.c: New file.
|
|
* Makefile (prog-subdirs): Make `nfs' and `nfsd' conditional on
$(HAVE_SUN_RPC) = yes.
* config.make.in (HAVE_SUN_RPC): New variable.
* configure.in: Check for <rpc/types.h> and `clnt_create'.
* README.CVS: Document dependency on a Sun RPC implementation.
|
|
|
|
|
|
Conflicts:
debian/changelog
|
|
|
|
|
|
|
|
|
|
* debian/control, debian/local/setup-translators: Use native random server
set on /dev/u?random-hurd instead of random-egd on /dev/u?random.
* debian/hurd.{postinst,prerm}: Handle alternative for /dev/u?random,
default to u?random-hurd.
* debian/hurd.lintian-overrides: Override warnings about the /dev/u?random
mangling.
* debian/copyright: Fix copyright notice.
* debian/control:
- Drop article from synopsis.
- Tighten hurd-dev dependency on hurd to the same version.
|
|
* Drop debian/libpthread_tls.patch, applied upstream.
|
|
|
|
|
|
|
|
|
|
* debian/patches/libpthread_globsigdisp.patch,posix-sigcodes.patch: New
patches from Jeremie Koenig to enable global signal support.
* debian/patches/libpthread_sigmask.patch: Update to global signal support.
|
|
|
|
Conflicts:
ChangeLog
Makefile
pthread/pt-exit.c
pthread/pt-internal.h
sysdeps/mach/hurd/ia32/pt-setup.c
sysdeps/mach/hurd/pt-docancel.c
sysdeps/mach/hurd/pt-sysdep.h
|
|
* Makefile (CFLAGS): Define ENABLE_TLS.
* pthread/pt-create.c (__pthread_create_internal) [ENABLE_TLS]: Call
into glibc to allocate static TLS block.
* pthread/pt-exit.c (pthread_exit) [ENABLE_TLS]: Call into glibc to
deallocate static TLS block.
* pthread/pt-internal.h [ENABLE_TLS] (tcbhead_t): New structure; as in
glibc.
(__pthread) [ENABLE_TLS]: Add TCB member.
[ENABLE_TLS] (_dl_allocate_tls, _dl_deallocate_tls): Declare; from
glibc.
* sysdeps/mach/hurd/pt-sysdep.h (__thread_set_pcsp): Rename to
__thread_set_pcsptp. Add SET_TP and TP parameters. Change all
callers.
* sysdeps/mach/hurd/i386/pt-machdep.c (__thread_set_pcsptp): Imlement
TLS support.
* sysdeps/mach/hurd/i386/pt-setup.c (__pthread_setup): Likewise.
|
|
Conflicts:
libthreads/ChangeLog
|
|
Some calls to `error', `printk', and `problem' lacked a format
string, leading to build failure when compiling with stricter CFLAGS.
* nfs/mount.c (mount_root): Add format string for `error' calls which
lacked it.
* pfinet/main.c (pfinet_bind): Likewise.
* term/main.c (main): Likewise.
* utils/shd.c (run): Likewise.
* utils/storeinfo.c (main): Likewise.
* pfinet/linux-src/include/net/tcp.h (tcp_clear_xmit_timer): Add
format string for `printk' call which lacked it.
(tcp_timer_is_set): Likewise.
* ufs-fsck/utilities.c (punt): Add format string for `problem' call
which lacked it.
|
|
|
|
|
|
Thus, revert a bit of commit 769e2108a0f5fc49eff9f3addbaf5f0646bcb253.
* pthread/cthreads-compat.c: Don't #include <stddef.h>.
|
|
|
|
* pthread/cthreads-compat.c: #include <stddef.h> for NULL.
* pthread/pt-exit.c (pthread_exit): Remove stray need_dealloc variable.
* sysdeps/generic/pt-attr-getschedparam.c: #include <string.h> for memcpy.
* sysdeps/mach/hurd/ia32/pt-setup.c (stack_setup): Apply some more typecasting.
* tests/test-1.c: #include <assert.h>.
* tests/test-6.c: Likewise.
* tests/test-7.c: Likewise.
* tests/test-16.c (handler): Take parameters for sa_handler, not sa_sigaction.
|
|
Using clockid_t just for pthread types makes us pull <time.h>, which defines
time(), which may conflict with applications.
* include/pthread/pthread.h (pthread_condattr_getclock,
pthread_condattr_setclock, pthread_getcpuclockid): Use __clockid_t instead
of clockid_t.
* include/pthread/pthreadtypes.h: Include <bits/types.h>, instead of <time.h>
and defining clockid_t ourself when not defined by time.h.
* sysdeps/generic/bits/condition-attr.h: Include <bits/types.h> instead of
<time.h>.
(__pthread_condattr): Use __clockid_t instead of clockid_t.
|