History log of /external/valgrind/include/vki/vki-linux.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2010b1547947c36b93e96fdad03518b95c376103 21-Apr-2015 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for LL_IOC_PATH2FID and LL_IOC_GETPARENT Lustre ioctls

From: Frank Zago <fzago@cray.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15123 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
112711afefcfcd43680c7c4aa8d38ef180e8811e 10-Apr-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a port to Linux/TileGx. Zhi-Gang Liu (zliu@tilera.com)
Valgrind aspects, to match vex r3124.

See bug 339778 - Linux/TileGx platform support to Valgrind



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15080 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
695dde81fe9ba126d9a1a57cb38dcccf95426e3e 06-Apr-2015 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> The linux launcher showed some odd behaviour. When given a shell script
named 'now' with this contents:

#!
/bin/date

the platform selection logic does this:

--11196:1:launcher no tool requested, defaulting to 'memcheck'
--11196:2:launcher selecting platform for './now'
--11196:2:launcher selecting platform for './now'
--11196:2:launcher opened './now'
--11196:2:launcher read 13 bytes from './now'
--11196:2:launcher selecting platform for ''
--11196:2:launcher selecting platform for '/home/florian/bin/'
--11196:2:launcher opened '/home/florian/bin/'
--11196:2:launcher selected platform 'unknown'
--11196:1:launcher no platform detected, defaulting platform to 'amd64-linux'

That is not quite right. Instead the platform should be determined by
examining the default shell.
Additionally, define VKI_BINPRM_BUF_SIZE because on linux only that many
characters are considered on a #! line. C.f. <linux>/fs/binfmt_script.c
m_ume/* needs to be adapted as well but that is a different patch.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15068 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
b97e44b130eb2e038747ba61489d0cb67cbfa020 10-Mar-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> PRE(sys_prctl): handle PR_SET_SECCOMP.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14994 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
e3e61c5357ab7f89520e9b19c63618478a0fb33c 25-Feb-2015 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bug #344318 socketcall should wrap recvmmsg and sendmmsg

Some architectures, e.g. s390, don't have dedicated recvmmsg and sendmmsg
system calls, but use the socketcall multiplexing system call with
SYS_RECVMMSG or SYS_SENDMMSG (just like the accept4 systemcall can also
be called through socketcall). Create separate helpers for recvmmsg and
sendmmsg helpers that can be used by either the direct syscall or the
socket call.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14964 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
79896d2c6ab80eed8197a122d53c4e3a23ce3e13 18-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Correctly handle prctl(VKI_PR_SET_PTRACER, ..) so as to avoid false
positives (eg when running Wine).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14946 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
ccc9bb803ef73bf409402ef8faa6b3d299e8d89d 05-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update to track v4l2 API for kernel version 3.19 changes. Patch from
Hans Verkuil (hverkuil@xs4all.nl). Fixes #343069.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14909 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
f6f25a5aae66908dd26375c8d6a0715988cb6406 05-Feb-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add wrapper support for I2C_SMBUS ioctls. Patch from
super.firetwister@gmail.com. Fixes #342603.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14908 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
98a400718840916b43dbe95efaf74957dd0c3604 23-Jan-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Write proper wrappers for ioctls ION_IOC_ALLOC, ION_IOC_MAP and
ION_IOC_IMPORT, and add a wrapper for SYNC_IOC_MERGE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14883 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
1399481803e6031ceff0324641b4c52aab0ff23f 01-Nov-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> fix 338995 shmat with hugepages (SHM_HUGETLB) fails with EINVAL

Bug is not really fixed, instead the SHM_HUGETLB flag is ignored.
Note that it is not straightforward to properly fix this,
as this implies either to learn aspacemgr what huge pages are.
Also, the trick used in the fix for 333051 cannot be used easily,
because the SHM_HUGETLB flag is given in shmget, while the mmap
is done in shmat.

So, the easiest is to just ignore the SHM_HUGETLB flag.

SHM_HUGETLB is supposed to only give a performance impact.
Ignoring it should be benign.
Theoretically, the caller might expect a sucessful shmget(SHM_HUGETLB)+shmat
to give pages aligned on e.g. 1MB.
In this case, bad luck, the program will misbehave under valgrind.
To warn of this, a warning is given (once) when SHM_HUGETLB is seen.

The map_unmap.c test has been restructured somewaht to allow
TEST_SHM_HUGETLB to be tested independently (or not) of the TEST_MAP_HUGETLB.

Note also that by default, testing MAP_HUGETLB and SHM_HUGETLB
is disabled as usually, huge pages are not enabled.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14683 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
a9ccca307500096b081f7da02f0c9892ed4edaa0 21-Oct-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for ioctl(fd, TIOCSIG, signal_number) which used
to issue a false complaint. Fixes BZ #339706
Source patch by David Herrmann (dh.herrmann@gmail.com).
Testcase by myself.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14646 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9e431f067b686814d984cddbd9b0f379083ae5b2 26-Sep-2014 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> implement KVM_KVMCLOCK_CTRL. Interestingly, the kernel does not check
the parameter. QEMU does pass 0 nevertheless as parameter.

bugzilla: [Bug 339424] Full support of KVM ioctl


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14569 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
01385054ce93f05c0c027f331b6bcfc9e82c1a05 05-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improved argument checking for sys_kcmp. Derived from patch from
Christian Borntraeger. Followup to r14451. Pertains to #338106.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14473 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
66fbb2171b82d5c793cef27144ea559e613583fc 04-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch adding support for V4L2/media ioctls. Patch from Hans Verkuil
(hverkuil@xs4all.nl). Fixes #338023.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14455 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
12d5abcd25f466876adff2d50139571a284d1181 04-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add Xen 4.4 evtchn ioctl wrappers. Patch from Antony Saba
(antony.saba@fireeye.com). Second of two patches from #337740.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14454 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
4450a0efab6e08dc7e40a4dfb5dda7214edb557d 03-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improvements for Android:

* All Linux targets: add minimal ioctl support for the ION_IOC family

* Android targets: change proprietary-ioctl support for GPUs from
being a build-time #define kludge to being controlled by --kernel-variant,
as it should be. Update documentation accordingly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14440 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
5a5031e5a0124f504c8e284ff9e591a55314ce07 02-Sep-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for some more tun/tap ioctls. BZ#315952.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14432 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
424385e9a37ece59a49c102d65c043b58b260469 01-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a missing VKI_ prefix. No functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14417 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
7b634085c095fbb2c9d2c2470d81aa3bd684a115 01-Sep-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Rename a bunch of __unused fields to __unused0, since some Android
NDK's appear to #define __unused to __attribute__((__unused__)),
causing the build to fail in bizarre ways.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14412 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
495c6563114d60a67caa5824a03dc4892cc86adb 29-Aug-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use getdents64 syscall on linux.

getdents has been deprecated since linux 2.4 and newer arches (arm64)
might no longer provide the getdents syscall. Use getdents64 for reading
the /proc/self/fd/ dir so --track-fds=yes works reliable on all arches.
Without this the none/tests/fdleak*vgtest might fail.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14384 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
cae0cc22b83ffb260ee8379e92099c5a701944cb 08-Aug-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit is for Bugzilla 334384. The Bugzilla contains patch 1 of 3
to add PPC64 LE support. The other two patches can be found in Bugzillas
334834 and 334836. The commit does not have a VEX commit associated with it.

POWER PC, add initial Little Endian support

The IBM POWER processor now supports both Big Endian and Little Endian.
This patch renames the #defines with the name ppc64 to ppc64be for the BE
specific code. This patch adds the Little Endian #define ppc64le to the

Additionally, a few functions are renamed to remove BE from the name if the
function is used by BE and LE. Functions that are BE specific have BE put
in the name.

The goals of this patch is to make sure #defines, function names and
variables consistently use PPC64/ppc64 if it refers to BE and LE,
PPC64BE/ppc64be if it is specific to BE, PPC64LE/ppc64le if it is LE
specific. The patch does not break the code for PPC64 Big Endian.

The test files memcheck/tests/atomic_incs.c, tests/power_insn_available.c
and tests/power_insn_available.c are also updated to the new #define
definition for PPC64 BE.

Signed-off-by: Carl Love <carll@us.ibm.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14238 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
19ce5d572999bbccb6e380cf8bafb50d880c91f4 06-Aug-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> pre_mem_read_sockaddr: properly handle the NETLINK address family
rather than throwing to the default case. This stops Memcheck
reporting false positives for the NETLINK case.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14237 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
c6097323a02cbe877271d952e13d1819a4658eb3 05-Aug-2014 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add support for VKI_BLKDISCARDZEROES

this is used in some newer QEMU versions and other tools


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14235 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
1fa9ee82d22ad4f1e9d156b61ebd8c25ffcf57e9 05-Aug-2014 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Linux: Add support for Lustre FID2PATH ioctl (#331829)

This is a modified version of a patch provided by Frank Zago (fzago@cray.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14233 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
abc1111b51c4241de88b00f0a3eb3413310e92c5 27-Jun-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for various SIOCETHTOOL operations. BZ#303536.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14114 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9b15043445d4c42486e2e14be27bade594f9d89d 26-Jun-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement various SNDRV_CTL_xxx ioctls.

Patch from Ivan Sorokin via BZ#334936.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14111 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
5cc73ec07a598c29179121d27284e68f3c7b070a 26-Jun-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle the HCIGETDEVLIST ioctl.

Based on patch from Tomasz Nowak via BZ#335034.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14109 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
55d05386398b4664b771ff249142eea52cba9538 26-Jun-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the SG_IO ioctl.

Patch from Daniel Kamil Kozar via BZ#333817.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14107 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
96fb2c5561e2c09205118eb06324e1e754072e3a 26-Jun-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle the CDROM_DISC_STATUS ioctl.

Patch from Daniel Kamil Kozar via BZ#333788.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14106 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
0c0793c2f74526a0fd8e25db28149a5eb94fd62a 04-Mar-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: Fix the problem with VKI_ENOSYS and VKI_EOVERFLOW for mips32/64.

VKI_ENOSYS and VKI_EOVERFLOW don't have the same generic values for mips32/64.
We need to define these values for every Linux arch.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13852 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
40bb783f26be487ef1ba1abe60eed500abb204ce 24-Feb-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> BZ#331380 Syscall param timer_create(evp) points to uninitialised byte(s)

Only check struct sigevent actually used by the kernel. If SIGEV_THREAD_ID
is set check sigev_notify_thread_id, otherwise don't.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13835 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
f0c1250e324f6684757c6a15545366447ef1d64f 12-Jan-2014 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for ARMv8 AArch64 (the 64 bit ARM instruction set).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13770 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9c6b05db45362b1afb981aa8298ab12ab4027b1a 27-Dec-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Adding mips32/Android support to Valgrind.

Necessary changes to Valgrind to support mips32 on Android.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13767 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.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-linux.h
a52c83526a1bb0a4e3223e56ddb096258fc5e422 18-Jul-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> The FIOCLEX and FIONCLEX ioctls are architecture specific.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13464 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
8f420f1a5d392c461def7e5578d84fc39029dbc6 18-Jul-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Socket option constants are architecture specific.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13463 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
0c7ff33fc280d3ad38c1930d0fee742bf0eec75e 17-Jul-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle FIOCLEX and FIONCLEX ioctls. Patch from Ben Noordhuis. BZ#305170.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13462 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
70f71aa602f34712765a4b97c16dae42e0f32d1b 17-Jul-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle setsockopt(SOL_SOCKET, SO_ATTACH_FILTER) better. Based
on patch from Guy Harris on BZ#318203.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13461 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
5d616dfbb8439dfd51a40ddf1dba970938baa1eb 02-Jul-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r13421:HEAD from branches/DISRV. This merges the debuginfo-server
stuff into the trunk.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13440 a5019735-40e9-0310-863c-91ae7b9d1cf9
ada5ad79e5d8ecf47838319a46ea4671079e6291 22-May-2013 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> Support Linux kernel AF_BLUETOOTH for bind().

Bug #320116. sockaddr_rc might contain some padding which might not be
initialized. Explicitly check the sockaddr_rc fields are set. That also
produces better diagnostics about which field is unitialized.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13404 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
e52a8abd9924556c77b918fee96ace12ff905830 04-Apr-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: add different value for SOCK_STREAM

MIPS uses different values for socket types.
This is protected by ARCH_HAS_SOCKET_TYPES in Linux kernel and we introduce
it here too. This is important for log-socket feature, and it resolves the
issue reported in https://bugs.kde.org/show_bug.cgi?id=313267#c21.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13359 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
f9e5b5e2833d5a24224f54485e7b06bdc01b42e6 03-Mar-2013 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement the name_to_handle_at system call for x86 and amd64.
Based on patch from Asmadeus to fix BZ#308930.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13304 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
e5a61e1b5f54862bb32c91aa71c002efe2edbf10 01-Mar-2013 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> wire up 2 vhost ioctls. The kernel does not use any parameter


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13298 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
dfe0dae2072bdcc2122414880fcd4102a89feac1 01-Mar-2013 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> initial tun/tap ioctls.
TUNSETIFF/TUNGETIFF/TUNSETOFFLOAD. See 315952.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13297 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
4df0bfc0614379192c780c944415dc420d9cfe8e 28-Feb-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: adding MIPS64LE support to Valgrind

Necessary changes to Valgrind to support MIPS64LE on Linux.
Minor cleanup/style changes embedded in the patch as well.
The change corresponds to r2687 in VEX.
Patch written by Dejan Jevtic and Petar Jovanovic.

More information about this issue:
https://bugs.kde.org/show_bug.cgi?id=313267


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13292 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9f2a339eb4e959a5f0cda160e2187dc93b337874 14-Feb-2013 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the Linux ioctl IB_USER_MAD_ENABLE_PKEY

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13287 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
0e6d05e1f8a1d5db8a4e2a67095b235d832f00f2 09-Nov-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add BLKPBSZGET ioctl


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13117 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
e48a444c9dfdf8083da562e87521c54876f8edc3 08-Nov-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add s390 specific fix for getregset


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13112 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
51e61da70d98443ae4008c2e3bb82add77d9c15c 23-Oct-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove build dependency on Xen header files - closes #308495

From: Ian Campbell <ian.campbell@citrix.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13081 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
0ab84fe82d1e25c2e0544d08826df42caa44ded1 09-Sep-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> valgrind: Support Xen toolstack process ioctls

From: Ian Campbell <Ian.Campbell@citrix.com>

Under Xen the toolstack is responsible for managing the domains in
the system, e.g. creating, destroying, and otherwise manipulating
them.

To do this it uses a number of ioctls on the /proc/xen/privcmd
device. Most of these (the MMAPBATCH ones) simply set things up such
that a subsequenct mmap call will map the desired guest memory. Since
valgrind has no way of knowing what the memory contains we assume
that it is all initialised (to do otherwise would require valgrind to
be observing the complete state of the system and not just the given
process).

The most interesting ioctl is XEN_IOCTL_PRIVCMD_HYPERCALL which
allows the toolstack to make arbitrary hypercalls. Although the
mechanism here is specific to the OS of the guest running the
toolstack the hypercalls themselves are defined solely by the
hypervisor. Therefore I have split support for this ioctl into a part
in syswrap-linux.c which handles the ioctl itself and passes things
onto a new syswrap-xen.c which handles the specifics of the
hypercalls themselves. Porting this to another OS should just be a
matter of wiring up syswrap-$OS.c to decode the ioctl and call into
syswrap-xen.c. In the future we may want to split this into
syswrap-$ARCH-xen.c but for now this is x86 only.

The hypercall coverage here is pretty small but is enough to get
reasonable(-ish) results out of the xl toolstack when listing,
creating and destroying domains.

One issue is that the hypercalls which are exlusively used by the
toolstacks (as opposed to those used by guest operating systems) are
not considered a stable ABI, since the hypervisor and the lowlevel
tools are considered a matched pair. This covers the sysctl and
domctl hypercalls which are a fairly large chunk of the support
here. I'm not sure how to solve this without invoking a massive
amount of duplication. Right now this targets the Xen unstable
interface (which will shortly be released as Xen 4.2), perhaps I can
get away with deferring this problem until the first change .

On the plus side the vast majority of hypercalls are not of interest
to the toolstack (they are used by guests) so we can get away without
implementing them.

Note: a hypercall only reads as many words from the ioctl arg
struct as there are actual arguments to that hypercall and the
toolstack only initialises the arguments which are used. However
there is no space in the DEFN_PRE_TEMPLATE prototype to allow this to
be communicated from syswrap-xen.c back to syswrap-linux.c. Since a
hypercall can have at most 5 arguments I have hackily stolen ARG8 for
this purpose.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12963 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.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-linux.h
5d5dd8e6b7ff782fc89f5b96cecf04839742882b 05-Aug-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> 301265 - add x86 support to Android build

Patch by Dragos Tatulea.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12835 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
b6bf12c058e1036a4f938f8a0281c3a918835b22 13-Jul-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add ioctl wrappers for "Linux user input device". Fixes #296229.
(Chase Douglas, chase.douglas@canonical.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12737 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
a7b9dfccad4200b28766af22e976980c06370430 11-Jul-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the SIOCSHWTSTAMP ioctl, based on a patch
from Arseny Solokha. Fixes BZ#296792.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12730 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
3fc992932858b87669c2588a327d397e276f72ca 11-Jul-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the CDROM_GET_CAPABILITY ioctl based on patch
from Nick Black. Fixes BZ#302827.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12726 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
5db15403e889d4db339b342bc2a824ef0bfaa654 07-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: changes to existing files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12616 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
65bdbe43c02a3eb95a9bda4f82a5a5b61e64b296 23-May-2012 cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> add some intial kvm ioctls (low hanging fruits). This gets rid of some valgrind
warnings regarding KVM ioctl without a length/direction specifier.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12578 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
8236fe6f256ea0e078a1a458a4690eec10b9a2c7 07-Mar-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the HCIINQUIRY ioctl.
Patch from Andrew Brampton to fix BZ#283961.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12421 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
d543d742b81199f0a633f872a64d122cc2cd2427 07-Mar-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the I2C_RDWR ioctl.
Patch from arnaud mouiche to fix BZ#286261.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12420 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
a4991237861dd834a58620b6a9eeca0e6e843f24 10-Feb-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the sendmmsg and recvmmsg system calls. Fixes BZ#277779.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12376 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
8758e70558926c9fa640de885df57c5cbbbbefec 10-Feb-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for some SCSI ioctls. Patch from Jakub Jelinek on BZ#292627.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12375 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
59451647ad0829e0ffae02db4d20baeeff2e3239 24-Dec-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Beef up VG_(strerror) to provide correct messages for the
errno codes in asm-generic/errno-base.h (on linux).
The error strings were obtained by calling strerror natively in
Linux.
Extend vki-linux.h accordingly. vki-darwin.h already had
those errno codes.
Add testcase. This fixes #287858.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12316 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.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-linux.h
d42e873c77b3b42a0c2b464569b6513836c565c9 07-Oct-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> include/vki/vki-linux.h: Remove __attribute_const__ definition since it
isn't used anywhere inside the Valgrind project.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12111 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
a3e7a48d5767431328115ee6fa05ce7855830aa9 27-Sep-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Android: add wrappers for ashmem and binder ioctls. From the AOSP
port of Valgrind.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12059 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
fca8f5fadcbecf5f69e268f9c7393d27944fcd7a 15-Aug-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for FBIOPUT_VSCREENINFO and FBIOPAN_DISPLAY ioctls.

Patch from Pauli Nieminen <ext-pauli.nieminen@nokia.com> on #263648.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11980 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
6bf71ef1f168feb8e014ce2d7c63594eb4a4bc1b 10-Aug-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the FIOQSIZE ioctl. Fixes #270320.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11963 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
46d02abf94a41586ef84aebf974db51a470e10da 08-Jun-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for prlimit64 on x86 and amd64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11806 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
c8232f94b88c0b9ea62399fa5abe5a5a34d35c40 08-Jun-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> It seems that the perf_counter_open system call was renamed to
perf_event_open some time after we added it, so correct the name
wherever it appears to match the current kernel source.

Also fixup the PRE handler to do the check correctly, using the
size field of the structure to work out how much data there is.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11804 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
551fe9342240a22f66f91cd10d9a73c6c590bece 18-Apr-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Linux/syswrap: add support for USBDEVFS_RESET (patch contributed by Brad Hards <bradh@frogmouth.net>).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11702 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
b5b87408c0c99f9f6938d8cd921e2a5f420577c4 07-Mar-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a port to IBM z/Architecture (s390x) running Linux -- Valgrind
side components. (Florian Krohm <britzel@acm.org> and Christian
Borntraeger <borntraeger@de.ibm.com>). Fixes #243404.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11604 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
60457093d30b23ac2531682205ab0bd9a5aae2ed 06-Oct-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Make client sys_shmat work properly on arm-linux by taking into
account rounding requirements to SHMLBA. Modified version of a patch
by Kirill Batuzov, batuzovk@ispras.ru. This fixes the main bug in
#222545. Temporarily breaks the build on all other platforms though.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11399 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
b23d50521d681aac7a104cc2abb37efcc4e96ccd 02-Sep-2010 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for F_DUPFD_CLOEXEC. Fixes #238696.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11316 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
07b168da387c8cf6e250fa042fc93dcc80e32752 15-Jun-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Reimplemented the _VKI_IOC_TYPECHECK() macro such that it doesn't trigger a
compiler warning on PPC when it shouldn't.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11180 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
0ee313efc43e3e6ed6bfedbf211769b07dffbc65 07-May-2010 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for some EVIO ioctls. These are a bit abnormal because
the length part of the ioctl is not fixed so they are essentially
families of ioctls.

Based on patch from Peter Korsgaard. Fixes #235642.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11124 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.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-linux.h
472a34b16c3703e8d3adcb12abd194e20a021963 23-Feb-2010 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the getcpu system call on x86, ppc32 and ppc64. There
is no support for amd64 because there is no getcpu system call on that
platform - it is always done as a vsyscall in user space.

Based on patch from Aleksander Salwa. Closes #223758.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11054 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
55703dfaee1f046e2f038b65592387afb0187967 18-Feb-2010 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix up a few issues with OSS ioctls. Fixes #227325.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11050 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
59570ffbe31930ab4d678754daaeec0715117a3d 01-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge from branches/ARM, all parts of the ARM-Linux port except for
the changes to do with reading and using ELF and DWARF3 info.
This breaks all targets except amd64-linux and x86-linux.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10982 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
e1c1a24e738b2a1d13f397e9501043914c1643f1 21-Dec-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle adjtimex being called in adjtime mode correctly. Closes #219538.
Validate the constant field with ADJ_TAI is used in an adjtimex call.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10969 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
710f7cb43578a9b23a11aa7f9cfaea0311bc5ad9 25-Nov-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for accept4 system call based on patch
from Dodji Seketeli. Part fix for #215973.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10955 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9ceaa9781f4886e8f6a4309e19d0cbaeb7616714 24-Nov-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Re-enable old support for adjtimex system call based on patch
from Dodji Seketeli. Part fix for #215973.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10948 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9c85af75f40edc77bc6492e08f0fd2567147fd14 28-Oct-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle some extra aio opcodes in io_submit and io_getevents.
Based on patch from Gabor Gomas. Fixes #209807.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10918 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
3fbcceef22610e2b0b7eec05b5f612c9b22b2cdc 27-Oct-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for the perf_counter_open system call. Fixes #211498.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10907 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
aedcc7aa6015debd6ca554971f2e65488397661a 29-Jul-2009 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve futex system call support. Patch from BZ#201757 which I have
attempted to cross check against current kernel code. Reading the
futex system call code mostly just made my head hurt however...


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10656 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
cf3bd97b427b5de4cf7e02d3ae52e53537eb4a7f 14-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Some ioctls don't look at ARG3 at all. Based on patches from Clemens
Ladisch. Fixes bug 159501.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10441 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
6e10c6c7c1e2153aa41e9ae8f14f2ef68b969f7b 10-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix URB ioctl handling. Patch from Hector Martin (bug 191095).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10286 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
0660567477bcf5b7e323de8d2e68dc5a9cd7334f 10-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle another Linux ioctl. Patch from Jay Foad.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10284 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9f207460d70d38c46c9e81996a3dcdf90961c6db 10-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated copyright years.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9344 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9b27b82dac450baac59c4f8d1cd3589bedead53c 05-Nov-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add ioctl wrappers for Linux wireless extensions version 22.
Patch from Gwenael Lambrouin. Fixes #159452.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8734 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
85b1ac7d3ba74ad66e975a0bfd8b1cb9a9d06bb9 14-May-2008 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Added CLOCK_* definitions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8071 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
4d474d086188fd1f29fa97dbd84d8ea2e589a9b8 11-Feb-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates ("200X-2007" --> "200X-2008").


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7398 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
497c69e7365352c91422a41583cf3bb5cacc1de1 17-Nov-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for private futexes (whatever they might be). Patch from
Eric Dumazet. Fixes #146781.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7169 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
7f4d7e42a880cd0872f93f5178a723beb56941a4 07-Mar-2007 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for linux key management system calls.
Based on patch from Ezra Peisach <epeisach@bu.edu>.
Fixes bug #139300.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6632 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
d5df125b895c5d5f31857c52dafa3cdea79ea05d 07-Mar-2007 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for some I2C ioctls.
Based on patch from Jean Delvare <khali@linux-fr.org>.
Fixes bug #142186.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6631 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
b807a78ac64d06eb04977044035d665d8a3c4f68 07-Mar-2007 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle some additional ptrace reason codes. Based on a patch
from Magnus Vesterlund <magnus_vesterlund@hotmail.com>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6630 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
9ebd6e0c607fa30301b1325874eb8de871c21cc5 08-Jan-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6488 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
d7cf487123e934a38c6f3e22a40aebf5f00d55ff 18-Dec-2006 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for some USB ioctls. Based on patches from Jon Burgess and
Marcus Meissner in bugs #136059 and #138896.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6411 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
a39ebc8e9f7e1b2cdee6c263a3898677a3296e56 18-Dec-2006 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve prctl support - based on patch from Eric Pouech in bug #138627.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6410 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/vki/vki-linux.h
4cfea4f9480393ed6799db463b2e0fb8865a1a2f 14-Oct-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Create a new module, m_vki, and move all knowledge about the kernel
interface, except for the syscall numbers, into that. Mostly this
means moving include/vki-*.h to include/vki/vki-*.h.

include/pub_tool_basics.h previously dragged in the entire kernel
interface. I've done away with that, so that modules which need to
see the kernel interface now have to include pub_{core,tool}_vki.h
explicitly. This is why there are many modified .c files -- they have
all acquired an extra #include line.

This certainly breaks all platforms except x86. Will fix shortly.



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