Ivo Raisr
f71b442444
Solaris syscall: commands A_GETSTAT and A_SETSTAT
...
for auditon(2) subcode of the auditsys() syscall
were removed in Solaris 12.
However they stay for Solaris 11 and illumos.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15791
2016-02-17 18:11:32 +00:00
Ivo Raisr
24e1e9f493
Solaris syscall: Add support for getrandom(143).
...
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15782
2016-02-05 22:57:42 +00:00
Mark Wielaard
68a1308014
Bug #358030 Support direct socket calls on x86 32bit (new in linux 4.3)
...
Patch by ronald.wahl@raritan.com .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15764
2016-01-20 22:24:43 +00:00
Ivo Raisr
e3df68d823
Add support for repository cache protocol version 27.
...
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15742
2015-12-04 17:37:41 +00:00
Ivo Raisr
e7be5069c3
Solaris syscall: Add support for lwp_cond_signal(171).
...
Fixes BZ#354392.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15718
2015-10-26 16:13:05 +00:00
Julian Seward
5e5d78dda0
Fix inconsistent use of vki_ prefixes for struct vki_ifreq.
...
No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15713
2015-10-19 11:21:33 +00:00
Ivo Raisr
b6aeb1c9e6
Solaris syscall: Add support for lwp_cond_wait(170).
...
Provide scalar test as well.
Fixes BZ #353920 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15708
2015-10-16 12:20:20 +00:00
Ivo Raisr
9aaa41b23d
Solaris syscall: Enable fchdir(120) - generic.
...
Provide scalar tests as well.
Fixes BZ #353917 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15707
2015-10-15 09:37:14 +00:00
Florian Krohm
91a29a676c
On a zEC12 or z13, a glibc with lock elision enabled infers from HWCAP
...
that the prerequisites for lock elision are met. Then it may use TBEGIN
and other transactional-execution instructions which are not implemented
by Valgrind. Likewise, the upcoming glibc 2.23 will exploit vector
instructions if they are advertised by HWCAP; and those are currently
not implemented by Valgrind either. In general, the increased use of
ifunc may lead to more such cases in the future.
This patch suppresses the advertising of those hardware features via
HWCAP which are either not known to Valgrind or currently unsupported.
Patch by Andreas Arnez (arnez@linux.vnet.ibm.com ).
Fixes BZ #353680 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15702
2015-10-12 20:35:56 +00:00
Ivo Raisr
6ef7c1085f
Solaris syscall: Add support for pset family (207).
...
Provide scalar tests as well.
Fixes BZ #353398 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15700
2015-10-12 19:10:42 +00:00
Ivo Raisr
cf2ca3123f
Solaris ioctl: more of those sockio ioctl wrappers.
...
SIOCGLIFBRDADDR, SIOCGLIFCONF, SIOCGLIFFLAGS, SIOCGLIFNETMASK.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15689
2015-09-29 14:23:51 +00:00
Ivo Raisr
9c3ee43887
Solaris ioctl: more wrappers for sockio ioctls.
...
SIOCGIFCONF, SIOCGIFFLAGS, SIOCGIFNETMASK, and SIOCGIFNUM.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15686
2015-09-29 05:20:16 +00:00
Ivo Raisr
a0bde0618b
Solaris syscall: Add support for system_stats (154).
...
Provide scalar test as well.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15684
2015-09-25 21:04:45 +00:00
Ivo Raisr
516df5f4b5
Support correctly AT_SUN_SYSSTAT_ADDR and AT_SUN_SYSSTAT_ZONE_ADDR
...
in the auxiliary vector.
This is possible as Solaris 12 kernel now creates auxv even
for statically linked binaries.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15682
2015-09-25 20:12:26 +00:00
Rhys Kidd
b1631e4c8e
Fix UNKNOWN fcntl 97 on OS X 10.11
...
bz#351632
On OS X 10.11 (DP8)
Before:
== 595 tests, 575 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 595 tests, 219 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15619
2015-09-03 11:31:58 +00:00
Julian Seward
d60f46535c
Add missing copyright notices for Xen related files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15614
2015-09-01 13:32:21 +00:00
Ivo Raisr
7a4cc7d5fd
Add support for ldsoexec on Solaris.
...
Solaris runtime linker allows to run dynamically linked programs indirectly, as:
ld.so.1 <dynamic_executable>
This is now possible under Valgrind as well.
Fixes BZ#351858.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15607
2015-08-31 21:31:09 +00:00
Rhys Kidd
d8a45cbef1
Preliminary support for OS X 10.11 (El Capitan) documentation. bz#348909.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15584
2015-08-23 08:27:45 +00:00
Julian Seward
adc2dafee9
Update copyright dates, to include 2015. No functional change.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577
2015-08-21 11:32:26 +00:00
Florian Krohm
f82fedcc39
Fix incorrect header guard. Reported by giacomopoz@gmail.com
...
Fixes BZ #351531
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15573
2015-08-20 21:41:28 +00:00
Julian Seward
e421887527
345338 - TIOCGSERIAL and TIOCSSERIAL ioctl support on Linux
...
Patch from Martin Ling (martin-kdebugs@earth.li )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15542
2015-08-14 08:17:37 +00:00
Julian Seward
396f02357d
Bug 349034 - Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK
...
Patch from Frank Zago (fzago@cray.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15541
2015-08-14 08:05:35 +00:00
Julian Seward
a2df7642ef
Bug 339563 - The DVB demux DMX_STOP ioctl doesn't have a wrapper.
...
Patch from mchehab@infradead.org (Mauro Carvalho Chehab).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15537
2015-08-13 14:53:17 +00:00
Ivo Raisr
cb0b01d098
Add support for repository cache protocol version 26.
...
Patch contributed by Tomas Jedlicka <jedlickat@gmail.com >.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15518
2015-08-11 09:12:40 +00:00
Rhys Kidd
c5cf91fc5d
ioctl handling needs to do POST handling on generic ioctls and needs to handle BPF ioctls
...
bz#312989
Patch by Guy Harris <guy@alum.mit.edu >
On OS X 10.10
Before:
== 593 tests, 214 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 593 tests, 214 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15451
2015-07-25 07:57:55 +00:00
Florian Krohm
021a3ef28b
Remove command line options --db-attach and --db-command which were
...
deprecated in 3.10.0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15445
2015-07-24 11:50:12 +00:00
Rhys Kidd
e2dfee078f
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
2015-07-24 10:23:34 +00:00
Julian Seward
ac60633d65
Bug 345248 - add support for Solaris OS in valgrind
...
Authors of this port:
Petr Pavlu setup@dagobah.cz
Ivo Raisr ivosh@ivosh.net
Theo Schlossnagle theo@omniti.com
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15426
2015-07-21 14:44:28 +00:00
Rhys Kidd
0fcd971d15
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
2015-07-08 13:46:57 +00:00
Bart Van Assche
6ae9001870
xen: Drop bogus port field from vki_xen_ioctl_evtchn_bind_virq
...
This ioctl argument struct has never had such a member.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15386
2015-06-28 16:57:48 +00:00
Bart Van Assche
a914bcf7f5
xen: Implement physdev_op and map_pirq
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15385
2015-06-28 16:57:10 +00:00
Bart Van Assche
b64fedcf91
xen: Implement the xsm_op hypercall
...
More recent Xen toolstacks use this for the SID_TO_CONTEXT operation
only, even when XSM is not in use.
XSM is actually an abstraction layer, of which the only current
implementation is FLASK. So this blindly assumes that the backend is
FLASK. Should another XSM backend be invented then we will have to
sort of detecting the correct one.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15384
2015-06-28 16:55:45 +00:00
Bart Van Assche
31229b7020
xen: syswrap XEN_SCHEDOP_remote_shutdown
...
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15383
2015-06-28 16:53:58 +00:00
Bart Van Assche
3adbf40a38
Follow-up for r15381
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15382
2015-06-28 16:52:49 +00:00
Bart Van Assche
d2a0392539
xen: Basic syswrap infrastructure for XEN_sched_op hypercalls
...
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15381
2015-06-28 16:48:22 +00:00
Bart Van Assche
7a8a964019
xen: syswrap XENMEM_machphys_compat_mfn_list
...
XENMEM_machphys_compat_mfn_list is functionally identical to
XENMEM_machphys_mfn_list but returns a different list from Xen.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15379
2015-06-28 16:46:30 +00:00
Bart Van Assche
b51ec07994
xen: syswrap XEH_HVMOP_set_pci_intx_level
...
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15377
2015-06-28 16:44:21 +00:00
Bart Van Assche
56e19e386d
xen: syswrap XEN_HVMOP_track_dirty_vram
...
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15376
2015-06-28 16:43:14 +00:00
Bart Van Assche
04c609b998
xen: implement VKI_XEN_DOMCTL_irq_permission
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15375
2015-06-28 16:42:38 +00:00
Bart Van Assche
278a3d1df5
xen: support for XEN_DOMCTL_iomem_permission
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15374
2015-06-28 16:42:05 +00:00
Bart Van Assche
e93aa3706d
xen: Handle XEN_DOMCTL_{test_assign,assign,deassign}_device
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
Cc: Andrew Cooper <andrew.cooper3@citrix.com
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15373
2015-06-28 16:41:06 +00:00
Bart Van Assche
8269099b13
xen: syswrap XEN_DOMCTL_pin_mem_cacheattr
...
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15371
2015-06-28 16:38:40 +00:00
Bart Van Assche
10d6d0a7ad
xen: syswrap XEN_DOMCTL_[gs]et_vcpu_msrs
...
The XEN_DOMCTL_[gs]et_vcpu_msrs work simiarly to the other get/set pairs,
taking a vcpu, buffer and size. A query with a buffer of NULL is a request
for the maximum size.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15370
2015-06-28 16:37:54 +00:00
Bart Van Assche
7806d251be
xen: syswrap XEN_DOMCTL_[gs]et_ext_vcpustate
...
The VKI_XEN_DOMCTL_[gs]et_ext_vcpucontext hypercalls have had interface
changes, but are largly just extentions of the existing structure.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15369
2015-06-28 16:36:30 +00:00
Bart Van Assche
b1e2a3e6a1
xen: Add domctl interface version 0x0000000a
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15366
2015-06-28 16:33:04 +00:00
Bart Van Assche
c35715d20a
xen: Add support for new sysctl and domctl interface versions
...
The change causing the sysctl bump is not in an implemented subop yet, so no
change is required. The change causing the domctl bump is in an implemented
subop, but has also been reverted in favor of a different way of performing
the same actions. Therefore, there is no net difference.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15365
2015-06-28 16:31:54 +00:00
Christian Borntraeger
c2baee9b7b
add KVM_S390_MEMOP ioctl handling
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15334
2015-06-12 10:54:12 +00:00
Julian Seward
eed8fbcd80
Bug 348102 - Patch updating v4l2 API support (edit)
...
Patch from Hans Verkuil (hverkuil@xs4all.nl )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15313
2015-06-05 11:23:35 +00:00
Rhys Kidd
11f675de8b
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
2015-05-30 08:59:46 +00:00
Rhys Kidd
9351332329
Signal handler ucontext_t not filled out correctly on OS X
...
bz#341419
Before:
== 589 tests, 220 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 591 tests, 220 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15296
2015-05-28 12:49:00 +00:00