History log of /external/valgrind/include/vki/vki-scnums-darwin.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
22bbcdfd251193afa8076e89c2fb4113bc7cae7d 23-Aug-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Preliminary support for OS X 10.11 (El Capitan) documentation. bz#348909.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15584 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
b3a1e4bffbdbbf38304f216af405009868f43628 21-Aug-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates, to include 2015. No functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
1abd1f3175976036acb3710fe70fb1c9113f4517 24-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix valgrind 3.9.0 build fails on Mac OS X 10.6.8
bz#327745

Patch by Mark H <mh8928@yahoo.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15444 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
9090d2f691fd59c3a67c55e74f3c66c9c5671b01 08-Jul-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Preliminary support for OS X 10.11 (El Capitan). Refer BZ#348909 for ongoing work.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15403 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
b252548d050863fd10c25665950e4496a0cfb2fc 30-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix unhandled syscall: mach:41 (_kernelrpc_mach_port_guard_trap)
bz#344337

Before:

== 591 tests, 220 stderr failures, 14 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==

After:

== 591 tests, 220 stderr failures, 14 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15297 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
416bb8bc0193cc3a880741a72486ad89e365b750 20-May-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix unhandled syscall: unix:473 (readlinkat) on OS X 10.10
bz#344936

Before:

== 595 tests, 229 stderr failures, 23 stdout failures, 1 stderrB failure, 1 stdoutB failure, 30 post failures ==

After:

== 595 tests, 228 stderr failures, 23 stdout failures, 1 stderrB failure, 1 stdoutB failure, 30 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15260 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
0fa2167fbbffc6933c3d0c65055361ac5caa3f59 21-Feb-2015 rhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix OS X 10.10 (Yosemite) - missing system calls and fcntl code, courtesy of Bill Zissimopoulos

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14951 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
7534dd8efbe702451a5c5781b3743522933f80e1 13-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> * add syscall wrappers for some new OSX 10.10 specific calls
necp_match_policy
sysctlbyname
getattrlistbulk (kludged)

* add initial entries for the resync-filter on OSX 10.10.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14718 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
79143f4eb9875fb5077958d624771a3bfb3d11c8 07-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a no-op wrapper for a new-in-10.10 syscall: getattrlistbulk



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14701 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
eac59d48fa70445379214311c730f7cb991e5861 06-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adds initial support for new syscalls on MacOS X 10.10, including new
syscall numbers, and dummy wrappers for bsdthread_ctl and
sysctlbyname. Mash up of patches from fxcoudert@gcc.gnu.org and Rhys
Kidd (rhyskidd@gmail.com). Part of bug 339045.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14698 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
0da12598b65dc1529af93e2361bf330b0f3fa494 05-Nov-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix symbol name typo (correct: DARWIN_VERS wrong: DARWIN_VERSION).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14694 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
5d75d535d78f4b471b94bddeffc3997805f32bc0 20-Jun-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Mac OS X 10.9 improvements. Bug 326724 comment 27 patch name
"0001-adding-support-for-loads-of-new-syscall-in-darwin-10.patch"
(Frederic Germain, frederic.germain@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14057 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
0f157ddb404bcde7815a1c5bf2d7e41c114f3d73 18-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates (20XY-2012 ==> 20XY-2013)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13658 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
03f8d3fc25f5a45c5826259d1b33b7f310117279 05-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to include 2012.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
ec062e8d96a361af9905b5447027819dfbfee01a 23-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update all copyright dates, from 20xy-2010 to 20xy-2011.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12206 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
731f9cf9fd4d507b44f1a0fdc2d3b8e8efae02e3 21-Sep-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add initial support for Mac OS X 10.7 (Lion). Tracked by bug #275168.

* configure.in support

* new supp file darwin11.supp

* comment out many intercepts in mc_replace_strmem.c and
vg_replace_malloc.c that are apparently unnecessary for Darwin

* add minimal handling for the following new syscalls and mach traps:
mach_port_set_context
task_get_exception_ports
getaudit_addr
psynch_mutexwait
psynch_mutexdrop
psynch_cvbroad
psynch_cvsignal
psynch_cvwait
psynch_rw_rdlock
psynch_rw_wrlock
psynch_rw_unlock
psynch_cvclrprepost

* wqthread_hijack on amd64-darwin: deal with
tst->os_state.pthread having an apparently different offset,
which caused an assertion failure

* m_debuginfo: for 32 bit processes on Lion, use the DebugInfoFSM
cleanup added in r12041/12042 to handle apparently new dyld
behaviour, which is to map text areas r-- first and only
vm_protect them later to r-x.



The following cleanups remain to be done

* remove apparently pointless, commented out wrapper macro
invokations in mc_replace_strmem.c, eg

//MEMMOVE(VG_Z_DYLD, memmove)

(or determine that they are still necessary, and uncomment)


* ditto in vg_replace_malloc.c, plus general VGO_darwin cleanups
there


* write proper syscall wrappers for
mach_port_set_context
task_get_exception_ports
getaudit_addr
psynch_mutexwait
psynch_mutexdrop
psynch_cvbroad
psynch_cvsignal
psynch_cvwait
psynch_rw_rdlock
psynch_rw_wrlock
psynch_rw_unlock
psynch_cvclrprepost
These are currently just no-ops and may be causing Memcheck to
report false undef-value errors


* figure out why it doesn't work properly unless built with gcc-4.2 on
Lion.

gcc-4.2 is the "normal" gcc (i686-apple-darwin11-gcc-4.2.1). Plain
gcc is the hybrid gcc-front-end clang-back-end thing
(i686-apple-darwin11-llvm-gcc-4.2). Whereas on Snow Leopard, plain
gcc is the normal gcc.

The symptoms of the failure are that wqthread_hijack in
syswrap-amd64-linux.c hits this /*NOTREACHED*/ vg_assert(0); right
at the end (you need a pretty complex threaded app to trigger this),
which makes me think that either ML_(wqthread_continue_NORETURN) or
call_on_new_stack_0_1 do return, which they are not expected to.


* figure out if some of the uninitialised value errors reported in
system libraries on are caused by Memcheck being confused by LLVM
generated code, as per bug #242137



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12043 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
ea2d6fd6aaf98d261df9fdf580542ebf01b7fba4 01-Jul-2010 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merged the MACOSX106 branch to the trunk. Merge command:

svn merge -r11143:HEAD svn://svn.valgrind.org/valgrind/branches/MACOSX106

There were some easy-to-resolve conflicts.

Then I had to fix up coregrind/link_tool_exe*.in -- those files had been
added independently on both the trunk and the branch, AFAICT. I just
overwrote the trunk versions with the branch versions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11194 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
9eecbbb9a9cbbd30b903c09a9e04d8efc20bda33 03-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to 2010.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
c19072441d4a7649a007a0651a95d1cc0fa8462c 10-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Darwin syscall wrapper cleanups:
- Put Darwin syscall DECL_TEMPLATEs in syscall order.
- Removed the "sys_" prefix from Darwin-specific wrappers, it's not
necessary. Renamed a couple of other wrappers similarly.
- Removed the sys_fcntl64 Darwin wrapper, it was unused.
- Improved some code layout.
Overall this removes 6 "DDD"/"GrP" fixme comments.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10290 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
2ff30c620a3488bbe2c17b31adf0f7e0dfe79230 10-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add wrappers for sem_wait and sem_trywait on Darwin. Also change the layout
of some Darwin syscall stuff.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10288 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
4e8808b021205659734885e2ca2665e225109b83 05-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> For no apparent reason, the machine-dependent syscall
thread_fast_set_cthread_self was being called pthread_set_self. This commit
fixes this.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10249 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
1a1e95c1f385a9b3b4f13f231eebaafff6e56450 03-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> A number of changes relating to syscall numbering:

- Introduced VG_SYSNUM_STRING and VG_SYSNUM_STRING_EXTRA which factor out
differences in the way syscall numbers are printed on different platforms.
This gets rid of seven "DDD" fixme-style comments.

- This also meant that Darwin syscall numbers are now printed in a
non-ambiguous way -- previously Unix, machine-dependent and diagnostic
syscalls were all printed the same way, even though their numbers overlap.
Now each number is prefixed with "unix", "mdep", etc. And Mach trap
numbers aren't printed as negative numbers now that they have a "mach"
prefix.

- Split each of pub_core_vkiscnums.h and pub_tool_vkiscnums.h into two
parts, one suitable for inclusion in asm files, one suitable for inclusion
in C files; in both cases the latter includes the former. This makes
this module more like other modules that have asm-only components (eg.
m_transtab); it also allows the hacky VG_IN_ASSEMBLY_SOURCE macros and
tests to be removed.

- Removed some of the VG_DARWIN_SYSNO_* macros that were no longer needed,
and renamed some of the existing ones to make their meanings clearer.

- Added comments on the encoding of Darwin syscall numbers so it's
possible for mortals to understand without reading the kernel code..



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10218 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h
f76d27a697a7b0bf3b84490baf60623fc96a23af 28-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge the DARWIN branch onto the trunk.

I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts. So instead I just took the diff between
the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-scnums-darwin.h