Commit Graph

13 Commits

Author SHA1 Message Date
Julian Seward
8f0229881b Add more pthread wrappers in a failed attempt to get Opera 6.0TP2
to run.  Now it creates some threads but segfaults.  Also add
wrapper for syscall __NR_mremap; it is way wrong, but finding
a decent description of what mremap() really does is nearly
impossible.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@89
2002-04-16 04:40:49 +00:00
Julian Seward
93b2c2ed95 Get rid of the muraroa.demon.co.uk references since that account is
soon to disappear.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@83
2002-04-16 02:51:05 +00:00
Julian Seward
e294b0448e Update the message on clone() failure to reflect new pthreads work.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@82
2002-04-16 02:09:31 +00:00
Julian Seward
095fc58c48 Don't refer to IPC_64 if it doesn't exist. Was breaking builds on older
systems.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@80
2002-04-16 01:58:19 +00:00
Julian Seward
8138f264e0 Plumb the right %EIP and %EBP values through to VG_(get_ExeContext)
now that we have the additional complication of multiple threads.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@64
2002-04-14 04:16:48 +00:00
Julian Seward
7a36f60133 Mega-merge of my last 2 weeks hacking. This basically does the groundwork
for pthread_* support.  Major changes:

* Valgrind now contains a (skeletal!) user-space pthreads
  implementation.  The exciting bits are in new file vg_scheduler.c.
  This contains thread management and scheduling, including nasty crud
  to do with making some syscalls (read,write,nanosleep) nonblocking.
  Also implementation of pthread_ functions: create join
  mutex_{create,destroy,lock,unlock} and cancel.

* As a side effect of the above, major improvements to signal handling
  and to the client-request machinery.  This is now used to intercept
  malloc/free etc too; the hacky way this is done before is gone.
  Another side effect is that vg_dispatch.S is greatly simplified.
  Also, the horrible hacks to do with delivering signals to threads
  blocked in syscalls are gone, since the new mechanisms cover this case
  easily.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@52
2002-04-12 11:12:52 +00:00
Julian Seward
c8e7d16b40 wrappers for ioctl TIOCSCTTY and for syscall __NR_nice.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@41
2002-03-29 14:22:46 +00:00
Julian Seward
c712005a75 Add wrapper for ioctl TIOCGPGRP (Alexandre Duret-Lutz <duret_g@epita.fr>)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@39
2002-03-29 04:39:00 +00:00
Julian Seward
df8253eda3 Significantly improved SYSV IPC call handling. Unfortunately some of
this stuff doesn't use safe_dereference when it should.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@38
2002-03-29 04:35:08 +00:00
Julian Seward
e53f9abd92 #ifdef SNDCTL_DSP_GETCHANNELMASK and SNDCTL_DSP_BIND_CHANNEL; not available
on all Linuxes, it seems.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@21
2002-03-24 11:43:56 +00:00
Julian Seward
b58e0e3042 Add syscall setresgid32
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@17
2002-03-24 10:49:46 +00:00
Julian Seward
66c4d5263b (merge from 20020320)
Syscalls/ioctls added between 0317 and 0320.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15
2002-03-24 10:17:25 +00:00
Julian Seward
72a784f3b1 Initial revision
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2
2002-03-22 01:27:54 +00:00