summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-10debian/hurd.postinst: Set up "*random" alternatives and generate seed on ↵Samuel Thibault
first install too.
2011-11-07debian/control: Recommend bf-utf-source to get more than just latin1 on the ↵Samuel Thibault
console.
2011-11-06Fix unlocking in raw_local_irq_restore inside a fake_local_irq_disable/restoreSamuel Thibault
* 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.
2011-11-06debian/control: Use hurd-any instead of hurd-i386.Samuel Thibault
2011-11-06Fool lintian about removing the random devicesSamuel Thibault
2011-11-06Upload to unstableSamuel Thibault
2011-11-06debian/patches/libpthread_procfs.patch: Refresh.Samuel Thibault
2011-11-06New upstream snapshotSamuel Thibault
2011-11-06Merge branch 'upstream-merged'Samuel Thibault
2011-11-06Merge branch 'libpthread-moved' into upstream-mergedSamuel Thibault
2011-11-06Merge branch 'upstream' into upstream-mergedSamuel Thibault
2011-11-06Merge branch 'libpthread' into libpthread-movedSamuel Thibault
2011-11-06Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/libpthreadSamuel Thibault
2011-11-06pthread_getspecific, pthread_setspecific: check the key validityPino Toscano
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.
2011-11-06Merge branch 'libpthread' into libpthread-movedSamuel Thibault
2011-11-06Merge branch '__pthread_destroy_specific-PTHREAD_KEY_INVALID'Thomas Schwinge
Conflicts: tests/Makefile
2011-11-06Create random-seed with read access only to root.Samuel Thibault
2011-11-06commentsSamuel Thibault
2011-11-06debian/patches/random-default-fast.patch: Set default randomness to fast, ↵Samuel Thibault
until we set up a daemon to feed /dev/random with entropy.
2011-11-06generate an initial pseudo-random seed.Samuel Thibault
2011-11-06Set entropy pool in /var/spool/random-seedSamuel Thibault
2011-11-05Correct logic for PTHREAD_KEY_INVALID slots.Thomas Schwinge
* 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.
2011-11-05* configure: Regenerate.Thomas Schwinge
2011-11-05Remove all the values when deleting a keyPino Toscano
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.
2011-11-05Disable NFS translator and daemon compilation when Sun RPC is lacking.Ludovic Courtès
* 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.
2011-10-31Close bug about unexpected inclusion of <time.h>Samuel Thibault
2011-10-31Drop dmesg, else bootlogs would then use it to produce /var/log/dmesg...Samuel Thibault
2011-10-31Merge branch 'master' of git.debian.org:/git/pkg-hurd/hurdSamuel Thibault
Conflicts: debian/changelog
2011-10-31debian/hurd-udeb.install: Only include the necessary console drivers.Samuel Thibault
2011-10-30debian/local/dmesg: Add script which cat /var/log/dmesg.Samuel Thibault
2011-10-30Comment on checking for swapper support with parted storeSamuel Thibault
2011-10-30close bug about perl sha1 moduleSamuel Thibault
2011-10-30Use native random serverSamuel Thibault
* 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.
2011-10-30New upstream snapshot.Samuel Thibault
* Drop debian/libpthread_tls.patch, applied upstream.
2011-10-30Merge branch 'upstream-merged'Samuel Thibault
2011-10-30Merge branch 'libpthread-moved' into upstream-mergedSamuel Thibault
2011-10-30Merge branch 'upstream' into upstream-mergedSamuel Thibault
2011-10-30Merge branch 'libpthread' into libpthread-movedSamuel Thibault
2011-10-30Enable global signal supportSamuel Thibault
* 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.
2011-10-30debian/local/cdrom.h: Add header for basic CD-ROM ioctl supportSamuel Thibault
2011-10-20Merge branch 'tls'Thomas Schwinge
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
2011-10-20 TLS support for libpthread, Mach/Hurd (x86).Samuel Thibault
* 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.
2011-10-20Merge branch 'tls/libthreads'Thomas Schwinge
Conflicts: libthreads/ChangeLog
2011-10-19Add missing format strings for error, printk, problemPino Toscano
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.
2011-10-07setup-translators: Add cd[01] SCSI CD-ROMs.Samuel Thibault
2011-10-05Pass --orphan to settrans -g on random upgradeSamuel Thibault
2011-09-15<pthread.h> must pull in a NULL definition.Thomas Schwinge
Thus, revert a bit of commit 769e2108a0f5fc49eff9f3addbaf5f0646bcb253. * pthread/cthreads-compat.c: Don't #include <stddef.h>.
2011-09-15Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/libpthreadSamuel Thibault
2011-09-07Tiny build and GCC warning fixes.Thomas Schwinge
* 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.
2011-08-23Use __clockid_t instead of clockid_tSamuel Thibault
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.