You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(22) |
2
(19) |
3
(8) |
4
(34) |
5
(14) |
6
(14) |
|
7
(12) |
8
(15) |
9
(15) |
10
(10) |
11
(10) |
12
(28) |
13
(11) |
|
14
(22) |
15
(29) |
16
(20) |
17
(15) |
18
(39) |
19
(11) |
20
(12) |
|
21
(8) |
22
(9) |
23
(8) |
24
(10) |
25
(9) |
26
(7) |
27
(7) |
|
28
(6) |
29
(6) |
30
(11) |
|
|
|
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-13 13:57:26
|
CVS commit by nethercote:
converted some more
M +185 -107 coregrind/vg_syscalls.c 1.192
M +92 -90 memcheck/tests/scalar.c 1.21
M +680 -0 memcheck/tests/scalar.stderr.exp 1.18
--- valgrind/coregrind/vg_syscalls.c #1.191:1.192
@@ -1289,8 +1289,11 @@ PRE(iopl)
}
-PRE(setxattr)
+PREx(sys_setxattr, MayBlock)
{
- PRINT("setxattr ( %p, %p, %p, %llu, %d )",
+ PRINT("sys_setxattr ( %p, %p, %p, %llu, %d )",
arg1, arg2, arg3, (ULong)arg4, arg5);
+ PRE_REG_READ5(long, "setxattr",
+ char *, path, char *, name,
+ void *, value, vki_size_t, size, int, flags);
PRE_MEM_RASCIIZ( "setxattr(path)", arg1 );
PRE_MEM_RASCIIZ( "setxattr(name)", arg2 );
@@ -1298,19 +1301,32 @@ PRE(setxattr)
}
-PREALIAS(lsetxattr, setxattr);
+PREx(sys_lsetxattr, MayBlock)
+{
+ PRINT("sys_lsetxattr ( %p, %p, %p, %llu, %d )",
+ arg1, arg2, arg3, (ULong)arg4, arg5);
+ PRE_REG_READ5(long, "lsetxattr",
+ char *, path, char *, name,
+ void *, value, vki_size_t, size, int, flags);
+ PRE_MEM_RASCIIZ( "lsetxattr(path)", arg1 );
+ PRE_MEM_RASCIIZ( "lsetxattr(name)", arg2 );
+ PRE_MEM_READ( "lsetxattr(value)", arg3, arg4 );
+}
-PRE(fsetxattr)
+PREx(sys_fsetxattr, MayBlock)
{
- /* int fsetxattr (int filedes, const char *name,
- const void *value, size_t size, int flags); */
- PRINT("fsetxattr ( %d, %p, %p, %llu, %d )",
+ PRINT("sys_fsetxattr ( %d, %p, %p, %llu, %d )",
arg1, arg2, arg3, (ULong)arg4, arg5);
+ PRE_REG_READ5(long, "fsetxattr",
+ int, fd, char *, name, void *, value,
+ vki_size_t, size, int, flags);
PRE_MEM_RASCIIZ( "fsetxattr(name)", arg2 );
PRE_MEM_READ( "fsetxattr(value)", arg3, arg4 );
}
-PRE(getxattr)
+PREx(sys_getxattr, MayBlock)
{
- PRINT("getxattr ( %p, %p, %p, %llu )", arg1,arg2,arg3, (ULong)arg4);
+ PRINT("sys_getxattr ( %p, %p, %p, %llu )", arg1,arg2,arg3, (ULong)arg4);
+ PRE_REG_READ4(ssize_t, "getxattr",
+ char *, path, char *, name, void *, value, vki_size_t, size);
PRE_MEM_RASCIIZ( "getxattr(path)", arg1 );
PRE_MEM_RASCIIZ( "getxattr(name)", arg2 );
@@ -1318,5 +1334,5 @@ PRE(getxattr)
}
-POST(getxattr)
+POSTx(sys_getxattr)
{
if (res > 0 && arg3 != (Addr)NULL) {
@@ -1325,15 +1341,31 @@ POST(getxattr)
}
-PREALIAS(lgetxattr, getxattr);
-POSTALIAS(lgetxattr, getxattr);
+PREx(sys_lgetxattr, MayBlock)
+{
+ PRINT("sys_lgetxattr ( %p, %p, %p, %llu )", arg1,arg2,arg3, (ULong)arg4);
+ PRE_REG_READ4(ssize_t, "lgetxattr",
+ char *, path, char *, name, void *, value, vki_size_t, size);
+ PRE_MEM_RASCIIZ( "lgetxattr(path)", arg1 );
+ PRE_MEM_RASCIIZ( "lgetxattr(name)", arg2 );
+ PRE_MEM_WRITE( "lgetxattr(value)", arg3, arg4 );
+}
-PRE(fgetxattr)
+POSTx(sys_lgetxattr)
{
- PRINT("fgetxattr ( %d, %p, %p, %llu )", arg1, arg2, arg3, (ULong)arg4);
+ if (res > 0 && arg3 != (Addr)NULL) {
+ POST_MEM_WRITE( arg3, res );
+ }
+}
+
+PREx(sys_fgetxattr, MayBlock)
+{
+ PRINT("sys_fgetxattr ( %d, %p, %p, %llu )", arg1, arg2, arg3, (ULong)arg4);
+ PRE_REG_READ4(ssize_t, "fgetxattr",
+ int, fd, char *, name, void *, value, vki_size_t, size);
PRE_MEM_RASCIIZ( "fgetxattr(name)", arg2 );
PRE_MEM_WRITE( "fgetxattr(value)", arg3, arg4 );
}
-POST(fgetxattr)
+POSTx(sys_fgetxattr)
{
if (res > 0 && arg3 != (Addr)NULL)
@@ -1341,12 +1373,14 @@ POST(fgetxattr)
}
-PRE(listxattr)
+PREx(sys_listxattr, MayBlock)
{
- PRINT("listxattr ( %p, %p, %llu )", arg1, arg2, (ULong)arg3);
+ PRINT("sys_listxattr ( %p, %p, %llu )", arg1, arg2, (ULong)arg3);
+ PRE_REG_READ3(ssize_t, "listxattr",
+ char *, path, char *, list, vki_size_t, size);
PRE_MEM_RASCIIZ( "listxattr(path)", arg1 );
PRE_MEM_WRITE( "listxattr(list)", arg2, arg3 );
}
-POST(listxattr)
+POSTx(sys_listxattr)
{
if (res > 0 && arg2 != (Addr)NULL)
@@ -1354,15 +1388,28 @@ POST(listxattr)
}
-PREALIAS(llistxattr, listxattr);
-POSTALIAS(llistxattr, listxattr);
+PREx(sys_llistxattr, MayBlock)
+{
+ PRINT("sys_llistxattr ( %p, %p, %llu )", arg1, arg2, (ULong)arg3);
+ PRE_REG_READ3(ssize_t, "llistxattr",
+ char *, path, char *, list, vki_size_t, size);
+ PRE_MEM_RASCIIZ( "llistxattr(path)", arg1 );
+ PRE_MEM_WRITE( "llistxattr(list)", arg2, arg3 );
+}
-PRE(flistxattr)
+POSTx(sys_llistxattr)
{
- /* ssize_t flistxattr (int filedes, char *list, size_t size); */
- PRINT("flistxattr ( %d, %p, %llu )", arg1, arg2, (ULong)arg3);
- PRE_MEM_WRITE( "listxattr(list)", arg2, arg3 );
+ if (res > 0 && arg2 != (Addr)NULL)
+ POST_MEM_WRITE( arg2, res );
}
-POST(flistxattr)
+PREx(sys_flistxattr, MayBlock)
+{
+ PRINT("sys_flistxattr ( %d, %p, %llu )", arg1, arg2, (ULong)arg3);
+ PRE_REG_READ3(ssize_t, "flistxattr",
+ int, fd, char *, list, vki_size_t, size);
+ PRE_MEM_WRITE( "flistxattr(list)", arg2, arg3 );
+}
+
+POSTx(sys_flistxattr)
{
if (res > 0 && arg2 != (Addr)NULL)
@@ -1370,17 +1417,25 @@ POST(flistxattr)
}
-PRE(removexattr)
+PREx(sys_removexattr, MayBlock)
{
- PRINT("removexattr ( %p, %p )", arg1, arg2);
- PRE_MEM_RASCIIZ( "listxattr(path)", arg1 );
- PRE_MEM_RASCIIZ( "listxattr(name)", arg2 );
+ PRINT("sys_removexattr ( %p, %p )", arg1, arg2);
+ PRE_REG_READ2(long, "removexattr", char *, path, char *, name);
+ PRE_MEM_RASCIIZ( "removexattr(path)", arg1 );
+ PRE_MEM_RASCIIZ( "removexattr(name)", arg2 );
}
-PREALIAS(lremovexattr, removexattr);
+PREx(sys_lremovexattr, MayBlock)
+{
+ PRINT("sys_lremovexattr ( %p, %p )", arg1, arg2);
+ PRE_REG_READ2(long, "lremovexattr", char *, path, char *, name);
+ PRE_MEM_RASCIIZ( "lremovexattr(path)", arg1 );
+ PRE_MEM_RASCIIZ( "lremovexattr(name)", arg2 );
+}
-PRE(fremovexattr)
+PREx(sys_fremovexattr, MayBlock)
{
- PRINT("removexattr ( %d, %p )", arg1, arg2);
- PRE_MEM_RASCIIZ( "listxattr(name)", arg2 );
+ PRINT("sys_fremovexattr ( %d, %p )", arg1, arg2);
+ PRE_REG_READ2(long, "fremovexattr", int, fd, char *, name);
+ PRE_MEM_RASCIIZ( "fremovexattr(name)", arg2 );
}
@@ -1568,8 +1623,8 @@ PRE(setresgid32)
}
-PRE(setfsuid32)
+PREx(sys_setfsuid, 0)
{
- /* int setfsuid(uid_t fsuid); */
- PRINT("setfsuid ( %d )", arg1);
+ PRINT("sys_setfsuid ( %d )", arg1);
+ PRE_REG_READ1(long, "setfsuid", vki_uid_t, uid);
}
@@ -1651,8 +1706,8 @@ PRE(getpriority)
}
-PRE(setfsgid)
+PREx(sys_setfsgid16, 0)
{
- /* int setfsgid(gid_t gid); */
- PRINT("setfsgid ( %d )", arg1);
+ PRINT("sys_setfsgid16 ( %d )", arg1);
+ PRE_REG_READ1(long, "setfsgid16", vki_old_gid_t, gid);
}
@@ -1669,8 +1724,8 @@ PRE(setresuid)
}
-PRE(setfsuid)
+PREx(sys_setfsuid16, 0)
{
- /* int setfsuid(uid_t uid); */
- PRINT("setfsuid ( %d )", arg1);
+ PRINT("sys_setfsuid16 ( %d )", arg1);
+ PRE_REG_READ1(long, "setfsuid16", vki_old_uid_t, uid);
}
@@ -2007,13 +2062,29 @@ PREx(sys_chmod, 0)
}
-PRE(chown)
+PREx(sys_chown16, 0)
+{
+ PRINT("sys_chown16 ( %p, 0x%x, 0x%x )", arg1,arg2,arg3);
+ PRE_REG_READ3(long, "chown16",
+ const char *, path,
+ vki_old_uid_t, owner, vki_old_gid_t, group);
+ PRE_MEM_RASCIIZ( "chown16(path)", arg1 );
+}
+
+PREx(sys_chown, 0)
{
/* int chown(const char *path, uid_t owner, gid_t group); */
- PRINT("chown ( %p, 0x%x, 0x%x )", arg1,arg2,arg3);
+ PRINT("sys_chown ( %p, 0x%x, 0x%x )", arg1,arg2,arg3);
+ PRE_REG_READ3(long, "chown",
+ const char *, path, vki_uid_t, owner, vki_gid_t, group);
PRE_MEM_RASCIIZ( "chown(path)", arg1 );
}
-PREALIAS(chown32, chown);
-PREALIAS(lchown32, chown);
+PREx(sys_lchown, 0)
+{
+ PRINT("sys_lchown ( %p, 0x%x, 0x%x )", arg1,arg2,arg3);
+ PRE_REG_READ3(long, "lchown",
+ const char *, path, vki_uid_t, owner, vki_gid_t, group);
+ PRE_MEM_RASCIIZ( "lchown(path)", arg1 );
+}
PREx(sys_close, 0)
@@ -2091,11 +2162,17 @@ PRE(fchdir)
}
-PRE(fchown)
+PREx(sys_fchown16, 0)
{
- /* int fchown(int filedes, uid_t owner, gid_t group); */
- PRINT("fchown ( %d, %d, %d )", arg1,arg2,arg3);
+ PRINT("sys_fchown16 ( %d, %d, %d )", arg1,arg2,arg3);
+ PRE_REG_READ3(long, "fchown16",
+ unsigned int, fd, vki_old_uid_t, owner, vki_old_gid_t, group);
}
-PREALIAS(fchown32, fchown);
+PREx(sys_fchown, 0)
+{
+ PRINT("sys_fchown ( %d, %d, %d )", arg1,arg2,arg3);
+ PRE_REG_READ3(long, "fchown",
+ unsigned int, fd, vki_uid_t, owner, vki_gid_t, group);
+}
PRE(fchmod)
@@ -2126,12 +2203,12 @@ POST(fcntl64)
}
-PRE(fstat)
+PREx(sys_newfstat, 0)
{
- /* int fstat(int filedes, struct stat *buf); */
- PRINT("fstat ( %d, %p )",arg1,arg2);
- PRE_MEM_WRITE( "fstat", arg2, sizeof(struct vki_stat) );
+ PRINT("sys_newfstat ( %d, %p )", arg1,arg2);
+ PRE_REG_READ2(long, "fstat", unsigned int, fd, struct stat *, buf);
+ PRE_MEM_WRITE( "fstat(buf)", arg2, sizeof(struct vki_stat) );
}
-POST(fstat)
+POSTx(sys_newfstat)
{
POST_MEM_WRITE( arg2, sizeof(struct vki_stat) );
@@ -2939,4 +3016,5 @@ POST(ipc)
}
+// XXX: I reckon some of these cases must be x86-specific
PREx(sys_ioctl, MayBlock)
{
@@ -4269,13 +4347,13 @@ POST(_llseek)
}
-PRE(lstat)
+PREx(sys_newlstat, 0)
{
- /* int lstat(const char *file_name, struct stat *buf); */
- PRINT("lstat ( %p(%s), %p )",arg1,arg1,arg2);
+ PRINT("sys_newlstat ( %p(%s), %p )", arg1,arg1,arg2);
+ PRE_REG_READ2(long, "lstat", char *, file_name, struct stat *, buf);
PRE_MEM_RASCIIZ( "lstat(file_name)", arg1 );
PRE_MEM_WRITE( "lstat(buf)", arg2, sizeof(struct vki_stat) );
}
-POST(lstat)
+POSTx(sys_newlstat)
{
if (res == 0) {
@@ -4284,13 +4362,13 @@ POST(lstat)
}
-PRE(lstat64)
+PREx(sys_lstat64, 0)
{
- /* int lstat64(const char *file_name, struct stat64 *buf); */
PRINT("lstat64 ( %p(%s), %p )",arg1,arg1,arg2);
+ PRE_REG_READ2(long, "lstat64", char *, file_name, struct stat64 *, buf);
PRE_MEM_RASCIIZ( "lstat64(file_name)", arg1 );
PRE_MEM_WRITE( "lstat64(buf)", arg2, sizeof(struct vki_stat64) );
}
-POST(lstat64)
+POSTx(sys_lstat64)
{
if (res == 0) {
@@ -4788,8 +4866,8 @@ POST(setitimer)
}
-PRE(setfsgid32)
+PREx(sys_setfsgid, 0)
{
- /* int setfsgid(uid_t fsgid); */
- PRINT("setfsgid ( %d )", arg1);
+ PRINT("sys_setfsgid ( %d )", arg1);
+ PRE_REG_READ1(long, "setfsgid", vki_gid_t, gid);
}
@@ -5275,13 +5353,13 @@ POST(socketcall)
}
-PRE(stat)
+PREx(sys_newstat, 0)
{
- /* int stat(const char *file_name, struct stat *buf); */
- PRINT("stat ( %p, %p )",arg1,arg2);
+ PRINT("sys_newstat ( %p(%s), %p )", arg1,arg1,arg2);
+ PRE_REG_READ2(long, "stat", char *, file_name, struct stat *, buf);
PRE_MEM_RASCIIZ( "stat(file_name)", arg1 );
PRE_MEM_WRITE( "stat(buf)", arg2, sizeof(struct vki_stat) );
}
-POST(stat)
+POSTx(sys_newstat)
{
POST_MEM_WRITE( arg2, sizeof(struct vki_stat) );
@@ -5322,25 +5400,25 @@ PRE(symlink)
}
-PRE(stat64)
+PREx(sys_stat64, 0)
{
- /* int stat64(const char *file_name, struct stat64 *buf); */
- PRINT("stat64 ( %p, %p )",arg1,arg2);
+ PRINT("sys_stat64 ( %p, %p )",arg1,arg2);
+ PRE_REG_READ2(long, "stat64", char *, file_name, struct stat64 *, buf);
PRE_MEM_RASCIIZ( "stat64(file_name)", arg1 );
PRE_MEM_WRITE( "stat64(buf)", arg2, sizeof(struct vki_stat64) );
}
-POST(stat64)
+POSTx(sys_stat64)
{
POST_MEM_WRITE( arg2, sizeof(struct vki_stat64) );
}
-PRE(fstat64)
+PREx(sys_fstat64, 0)
{
- /* int fstat64(int filedes, struct stat64 *buf); */
- PRINT("fstat64 ( %d, %p )",arg1,arg2);
+ PRINT("sys_fstat64 ( %d, %p )",arg1,arg2);
+ PRE_REG_READ2(long, "fstat64", unsigned long, fd, struct stat64 *, buf);
PRE_MEM_WRITE( "fstat64(buf)", arg2, sizeof(struct vki_stat64) );
}
-POST(fstat64)
+POSTx(sys_fstat64)
{
POST_MEM_WRITE( arg2, sizeof(struct vki_stat64) );
@@ -6196,5 +6274,5 @@ static const struct sys_info sys_info[]
SYSX_(__NR_umount2, sys_umount), // 52 * L
SYSX_(__NR_lock, sys_ni_syscall), // 53 * P -- unimplemented
- SYSXY(__NR_ioctl, sys_ioctl), // 54 * (varying)
+ SYSXY(__NR_ioctl, sys_ioctl), // 54 */x86 (varying)
SYSXY(__NR_fcntl, sys_fcntl), // 55 * (P...complex)
@@ -6246,5 +6324,5 @@ static const struct sys_info sys_info[]
SYSB_(__NR_fchmod, sys_fchmod, 0), // 94 *
- SYSB_(__NR_fchown, sys_fchown16, 0), // 95 ##
+ SYSX_(__NR_fchown, sys_fchown16), // 95 ## (SVr4,BSD4.3)
SYSB_(__NR_getpriority, sys_getpriority, 0), // 96 *
SYSB_(__NR_setpriority, sys_setpriority, 0), // 97 *
@@ -6259,7 +6337,7 @@ static const struct sys_info sys_info[]
SYSBA(__NR_getitimer, sys_getitimer, NBRunInLWP), // 105 *
- SYSBA(__NR_stat, sys_newstat, 0), // 106 *
- SYSBA(__NR_lstat, sys_newlstat, 0), // 107 *
- SYSBA(__NR_fstat, sys_newfstat, 0), // 108 *
+ SYSXY(__NR_stat, sys_newstat), // 106 * P
+ SYSXY(__NR_lstat, sys_newlstat), // 107 *
+ SYSXY(__NR_fstat, sys_newfstat), // 108 * P (SVr4,BSD4.3)
// (__NR_olduname, sys_uname), // 109 (?) L -- obsolete
@@ -6299,6 +6377,6 @@ static const struct sys_info sys_info[]
SYSB_(__NR_personality, sys_personality, 0), // 135 * (SVr4)
SYSX_(__NR_afs_syscall, sys_ni_syscall), // 137 * P
- SYSB_(__NR_setfsuid, sys_setfsuid16, 0), // 138 ##
- SYSB_(__NR_setfsgid, sys_setfsgid16, 0), // 139 ##
+ SYSX_(__NR_setfsuid, sys_setfsuid16), // 138 ## L
+ SYSX_(__NR_setfsgid, sys_setfsgid16), // 139 ## L
SYSBA(__NR__llseek, sys_llseek, 0), // 140 *
@@ -6352,5 +6430,5 @@ static const struct sys_info sys_info[]
SYSB_(__NR_pwrite64, sys_pwrite64, MayBlock), // 181 *
- SYSB_(__NR_chown, sys_chown16, 0), // 182
+ SYSX_(__NR_chown, sys_chown16), // 182 * P
SYSBA(__NR_getcwd, sys_getcwd, 0), // 183 *
SYSBA(__NR_capget, sys_capget, 0), // 184 *
@@ -6369,8 +6447,8 @@ static const struct sys_info sys_info[]
SYSB_(__NR_ftruncate64, sys_ftruncate64, MayBlock), // 194 %%
- SYSBA(__NR_stat64, sys_stat64, 0), // 195 %%
- SYSBA(__NR_lstat64, sys_lstat64, 0), // 196 %%
- SYSBA(__NR_fstat64, sys_fstat64, 0), // 197 %%
- SYSB_(__NR_lchown32, sys_lchown, 0), // 198 *
+ SYSXY(__NR_stat64, sys_stat64), // 195 %% (?)
+ SYSXY(__NR_lstat64, sys_lstat64), // 196 %% (?)
+ SYSXY(__NR_fstat64, sys_fstat64), // 197 %% (?)
+ SYSX_(__NR_lchown32, sys_lchown), // 198 * (L?)
SYSX_(__NR_getuid32, sys_getuid), // 199 *
@@ -6383,5 +6461,5 @@ static const struct sys_info sys_info[]
SYSBA(__NR_getgroups32, sys_getgroups, 0), // 205 *
SYSB_(__NR_setgroups32, sys_setgroups, 0), // 206 *
- SYSB_(__NR_fchown32, sys_fchown, 0), // 207 *
+ SYSX_(__NR_fchown32, sys_fchown), // 207 * (SVr4,BSD4.3)
SYSB_(__NR_setresuid32, sys_setresuid, 0), // 208 *
SYSBA(__NR_getresuid32, sys_getresuid, 0), // 209 *
@@ -6389,10 +6467,10 @@ static const struct sys_info sys_info[]
SYSB_(__NR_setresgid32, sys_setresgid, 0), // 210 *
SYSBA(__NR_getresgid32, sys_getresgid, 0), // 211 *
- SYSB_(__NR_chown32, sys_chown, 0), // 212 *
+ SYSX_(__NR_chown32, sys_chown), // 212 * P
SYSX_(__NR_setuid32, sys_setuid), // 213 *
SYSX_(__NR_setgid32, sys_setgid), // 214 * (SVr4,SVID)
- SYSB_(__NR_setfsuid32, sys_setfsuid, 0), // 215 *
- SYSB_(__NR_setfsgid32, sys_setfsgid, 0), // 216 *
+ SYSX_(__NR_setfsuid32, sys_setfsuid), // 215 * L
+ SYSX_(__NR_setfsgid32, sys_setfsgid), // 216 * L
// (__NR_pivot_root, sys_pivot_root), // 217 * L
SYSBA(__NR_mincore, sys_mincore, 0), // 218 *
@@ -6409,18 +6487,18 @@ static const struct sys_info sys_info[]
// (__NR_readahead, sys_readahead), // 225 * ()
- SYSB_(__NR_setxattr, sys_setxattr, MayBlock), // 226 * L?
- SYSB_(__NR_lsetxattr, sys_lsetxattr, MayBlock), // 227 * L?
- SYSB_(__NR_fsetxattr, sys_fsetxattr, MayBlock), // 228 * L?
- SYSBA(__NR_getxattr, sys_getxattr, MayBlock), // 229 * L?
+ SYSX_(__NR_setxattr, sys_setxattr), // 226 * L?
+ SYSX_(__NR_lsetxattr, sys_lsetxattr), // 227 * L?
+ SYSX_(__NR_fsetxattr, sys_fsetxattr), // 228 * L?
+ SYSXY(__NR_getxattr, sys_getxattr), // 229 * L?
- SYSBA(__NR_lgetxattr, sys_lgetxattr, MayBlock), // 230 * L?
- SYSBA(__NR_fgetxattr, sys_fgetxattr, MayBlock), // 231 * L?
- SYSBA(__NR_listxattr, sys_listxattr, MayBlock), // 232 * L?
- SYSBA(__NR_llistxattr, sys_llistxattr, MayBlock), // 233 * L?
- SYSBA(__NR_flistxattr, sys_flistxattr, MayBlock), // 234 * L?
+ SYSXY(__NR_lgetxattr, sys_lgetxattr), // 230 * L?
+ SYSXY(__NR_fgetxattr, sys_fgetxattr), // 231 * L?
+ SYSXY(__NR_listxattr, sys_listxattr), // 232 * L?
+ SYSXY(__NR_llistxattr, sys_llistxattr), // 233 * L?
+ SYSXY(__NR_flistxattr, sys_flistxattr), // 234 * L?
- SYSB_(__NR_removexattr, sys_removexattr, MayBlock), // 235 * L?
- SYSB_(__NR_lremovexattr, sys_lremovexattr, MayBlock), // 236 * L?
- SYSB_(__NR_fremovexattr, sys_fremovexattr, MayBlock), // 237 * L?
+ SYSX_(__NR_removexattr, sys_removexattr), // 235 * L?
+ SYSX_(__NR_lremovexattr, sys_lremovexattr), // 236 * L?
+ SYSX_(__NR_fremovexattr, sys_fremovexattr), // 237 * L?
// (__NR_tkill, sys_tkill), // 238 * L
SYSBA(__NR_sendfile64, sys_sendfile64, MayBlock), // 239 *
--- valgrind/memcheck/tests/scalar.c #1.20:1.21
@@ -292,4 +292,6 @@ int main(void)
// __NR_sigsuspend 72 --> sys_sigsuspend()
+ //GO(__NR_sigsuspend, ".s .m");
+ //SY(__NR_sigsuspend);
// __NR_sigpending 73 --> sys_sigpending()
@@ -375,7 +377,7 @@ int main(void)
//SY(__NR_fchmod);
- // __NR_fchown 95
- //GO(__NR_fchown, ".s .m");
- //SY(__NR_fchown);
+ // __NR_fchown 95 --> sys_fchown16
+ GO(__NR_fchown, "3s 0m");
+ SY(__NR_fchown, x0, x0, x0);
// __NR_getpriority 96
@@ -419,15 +421,15 @@ int main(void)
//SY(__NR_getitimer);
- // __NR_stat 106
- //GO(__NR_stat, ".s .m");
- //SY(__NR_stat);
+ // __NR_stat 106 --> sys_newstat()
+ GO(__NR_stat, "2s 2m");
+ SY(__NR_stat, x0, x0);
- // __NR_lstat 107
- //GO(__NR_lstat, ".s .m");
- //SY(__NR_lstat);
+ // __NR_lstat 107 --> sys_newlstat()
+ GO(__NR_lstat, "2s 2m");
+ SY(__NR_lstat, x0, x0);
- // __NR_fstat 108
- //GO(__NR_fstat, ".s .m");
- //SY(__NR_fstat);
+ // __NR_fstat 108 --> sys_newfstat()
+ GO(__NR_fstat, "2s 1m");
+ SY(__NR_fstat, x0, x0);
// __NR_olduname 109
@@ -547,10 +549,10 @@ int main(void)
// __NR_setfsuid 138
- //GO(__NR_setfsuid, ".s .m");
- //SY(__NR_setfsuid);
+ GO(__NR_setfsuid, "1s 0m");
+ SY(__NR_setfsuid);
// __NR_setfsgid 139
- //GO(__NR_setfsgid, ".s .m");
- //SY(__NR_setfsgid);
+ GO(__NR_setfsgid, "1s 0m");
+ SY(__NR_setfsgid);
// __NR__llseek 140
@@ -722,7 +724,7 @@ int main(void)
//SY(__NR_pwrite64);
- // __NR_chown 182
- //GO(__NR_chown, ".s .m");
- //SY(__NR_chown);
+ // __NR_chown 182 --> sys_chown16()
+ GO(__NR_chown, "3s 1m");
+ SY(__NR_chown, x0, x0, x0);
// __NR_getcwd 183
@@ -775,18 +777,18 @@ int main(void)
// __NR_stat64 195
- //GO(__NR_stat64, ".s .m");
- //SY(__NR_stat64);
+ GO(__NR_stat64, "2s 2m");
+ SY(__NR_stat64, x0, x0);
// __NR_lstat64 196
- //GO(__NR_lstat64, ".s .m");
- //SY(__NR_lstat64);
+ GO(__NR_lstat64, "2s 2m");
+ SY(__NR_lstat64, x0, x0);
// __NR_fstat64 197
- //GO(__NR_fstat64, ".s .m");
- //SY(__NR_fstat64);
+ GO(__NR_fstat64, "2s 1m");
+ SY(__NR_fstat64, x0, x0);
- // __NR_lchown32 198
- //GO(__NR_lchown32, ".s .m");
- //SY(__NR_lchown32);
+ // __NR_lchown32 198 --> sys_chown()
+ GO(__NR_lchown32, "3s 1m");
+ SY(__NR_lchown32, x0, x0, x0);
// __NR_getuid32 199 --> sys_getuid()
@@ -822,7 +824,7 @@ int main(void)
//SY(__NR_setgroups32);
- // __NR_fchown32 207
- //GO(__NR_fchown32, ".s .m");
- //SY(__NR_fchown32);
+ // __NR_fchown32 207 --> sys_fchown()
+ GO(__NR_fchown32, "3s 0m");
+ SY(__NR_fchown32, x0, x0, x0);
// __NR_setresuid32 208
@@ -842,7 +844,7 @@ int main(void)
//SY(__NR_getresgid32);
- // __NR_chown32 212
- //GO(__NR_chown32, ".s .m");
- //SY(__NR_chown32);
+ // __NR_chown32 212 --> sys_chown()
+ GO(__NR_chown32, "3s 1m");
+ SY(__NR_chown32, x0, x0, x0);
// __NR_setuid32 213 --> sys_setuid()
@@ -854,11 +856,11 @@ int main(void)
SY(__NR_setgid32);
- // __NR_setfsuid32 215
- //GO(__NR_setfsuid32, ".s .m");
- //SY(__NR_setfsuid32);
+ // __NR_setfsuid32 215 --> sys_setfsuid()
+ GO(__NR_setfsuid32, "1s 0m");
+ SY(__NR_setfsuid32, x0);
- // __NR_setfsgid32 216
- //GO(__NR_setfsgid32, ".s .m");
- //SY(__NR_setfsgid32);
+ // __NR_setfsgid32 216 --> sys_setfsgid()
+ GO(__NR_setfsgid32, "1s 0m");
+ SY(__NR_setfsgid32, x0);
// __NR_pivot_root 217
@@ -898,51 +900,51 @@ int main(void)
//SY(__NR_readahead);
- // __NR_setxattr 226
- //GO(__NR_setxattr, ".s .m");
- //SY(__NR_setxattr);
+ // __NR_setxattr 226 --> sys_xattr()
+ GO(__NR_setxattr, "5s 3m");
+ SY(__NR_setxattr, x0, x0, x0, x0+1, x0);
- // __NR_lsetxattr 227
- //GO(__NR_lsetxattr, ".s .m");
- //SY(__NR_lsetxattr);
+ // __NR_lsetxattr 227 --> sys_lsetxattr()
+ GO(__NR_lsetxattr, "5s 3m");
+ SY(__NR_lsetxattr, x0, x0, x0, x0+1, x0);
- // __NR_fsetxattr 228
- //GO(__NR_fsetxattr, ".s .m");
- //SY(__NR_fsetxattr);
+ // __NR_fsetxattr 228 --> sys_fsetxattr()
+ GO(__NR_fsetxattr, "5s 2m");
+ SY(__NR_fsetxattr, x0, x0, x0, x0+1, x0);
- // __NR_getxattr 229
- //GO(__NR_getxattr, ".s .m");
- //SY(__NR_getxattr);
+ // __NR_getxattr 229 --> sys_getxattr()
+ GO(__NR_getxattr, "4s 3m");
+ SY(__NR_getxattr, x0, x0, x0, x0+1);
- // __NR_lgetxattr 230
- //GO(__NR_lgetxattr, ".s .m");
- //SY(__NR_lgetxattr);
+ // __NR_lgetxattr 230 --> sys_lgetxattr()
+ GO(__NR_lgetxattr, "4s 3m");
+ SY(__NR_lgetxattr, x0, x0, x0, x0+1);
- // __NR_fgetxattr 231
- //GO(__NR_fgetxattr, ".s .m");
- //SY(__NR_fgetxattr);
+ // __NR_fgetxattr 231 --> sys_fgetxattr()
+ GO(__NR_fgetxattr, "4s 2m");
+ SY(__NR_fgetxattr, x0, x0, x0, x0+1);
- // __NR_listxattr 232
- //GO(__NR_listxattr, ".s .m");
- //SY(__NR_listxattr);
+ // __NR_listxattr 232 --> sys_listxattr()
+ GO(__NR_listxattr, "3s 2m");
+ SY(__NR_listxattr, x0, x0, x0+1);
- // __NR_llistxattr 233
- //GO(__NR_llistxattr, ".s .m");
- //SY(__NR_llistxattr);
+ // __NR_llistxattr 233 --> sys_llistxattr()
+ GO(__NR_llistxattr, "3s 2m");
+ SY(__NR_llistxattr, x0, x0, x0+1);
- // __NR_flistxattr 234
- //GO(__NR_flistxattr, ".s .m");
- //SY(__NR_flistxattr);
+ // __NR_flistxattr 234 --> sys_flistxattr()
+ GO(__NR_flistxattr, "3s 1m");
+ SY(__NR_flistxattr, x0, x0, x0+1);
- // __NR_removexattr 235
- //GO(__NR_removexattr, ".s .m");
- //SY(__NR_removexattr);
+ // __NR_removexattr 235 --> sys_removexattr()
+ GO(__NR_removexattr, "2s 2m");
+ SY(__NR_removexattr, x0, x0);
- // __NR_lremovexattr 236
- //GO(__NR_lremovexattr, ".s .m");
- //SY(__NR_lremovexattr);
+ // __NR_lremovexattr 236 --> sys_lremovexattr()
+ GO(__NR_lremovexattr, "2s 2m");
+ SY(__NR_lremovexattr, x0, x0);
- // __NR_fremovexattr 237
- //GO(__NR_fremovexattr, ".s .m");
- //SY(__NR_fremovexattr);
+ // __NR_fremovexattr 237 --> sys_fremovexattr()
+ GO(__NR_fremovexattr, "2s 1m");
+ SY(__NR_fremovexattr, x0, x0);
// __NR_tkill 238
--- valgrind/memcheck/tests/scalar.stderr.exp #1.17:1.18
@@ -848,4 +848,91 @@
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
+ 95: __NR_fchown 3s 0m
+-----------------------------------------------------
+
+Syscall param fchown16(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fchown16(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fchown16(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+106: __NR_stat 2s 2m
+-----------------------------------------------------
+
+Syscall param stat(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat(file_name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param stat(buf) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+107: __NR_lstat 2s 2m
+-----------------------------------------------------
+
+Syscall param lstat(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat(file_name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lstat(buf) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+108: __NR_fstat 2s 1m
+-----------------------------------------------------
+
+Syscall param fstat(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat(buf) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
111: __NR_vhangup 0e
-----------------------------------------------------
@@ -877,4 +964,20 @@
-----------------------------------------------------
-----------------------------------------------------
+138: __NR_setfsuid 1s 0m
+-----------------------------------------------------
+
+Syscall param setfsuid16(uid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+139: __NR_setfsgid 1s 0m
+-----------------------------------------------------
+
+Syscall param setfsgid16(gid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
153: __NR_munlockall 0e
-----------------------------------------------------
@@ -883,4 +986,28 @@
-----------------------------------------------------
-----------------------------------------------------
+182: __NR_chown 3s 1m
+-----------------------------------------------------
+
+Syscall param chown16(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown16(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown16(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown16(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
191: __NR_ugetrlimit 2s 1m
-----------------------------------------------------
@@ -902,4 +1029,97 @@
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
+195: __NR_stat64 2s 2m
+-----------------------------------------------------
+
+Syscall param stat64(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat64(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat64(file_name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param stat64(buf) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+196: __NR_lstat64 2s 2m
+-----------------------------------------------------
+
+Syscall param lstat64(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat64(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat64(file_name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lstat64(buf) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+197: __NR_fstat64 2s 1m
+-----------------------------------------------------
+
+Syscall param fstat64(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat64(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat64(buf) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+198: __NR_lchown32 3s 1m
+-----------------------------------------------------
+
+Syscall param lchown(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lchown(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lchown(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lchown(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
199: __NR_getuid32 0e
-----------------------------------------------------
@@ -940,4 +1160,46 @@
by 0x........: ...
-----------------------------------------------------
+207: __NR_fchown32 3s 0m
+-----------------------------------------------------
+
+Syscall param fchown(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fchown(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fchown(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+212: __NR_chown32 3s 1m
+-----------------------------------------------------
+
+Syscall param chown(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
213: __NR_setuid32 1s 0m
-----------------------------------------------------
@@ -956,4 +1218,20 @@
by 0x........: ...
-----------------------------------------------------
+215: __NR_setfsuid32 1s 0m
+-----------------------------------------------------
+
+Syscall param setfsuid(uid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+216: __NR_setfsgid32 1s 0m
+-----------------------------------------------------
+
+Syscall param setfsgid(gid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
222: 222 0e
-----------------------------------------------------
@@ -962,4 +1240,406 @@
-----------------------------------------------------
-----------------------------------------------------
+226: __NR_setxattr 5s 3m
+-----------------------------------------------------
+
+Syscall param setxattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setxattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setxattr(value) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setxattr(flags) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setxattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setxattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setxattr(value) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+227: __NR_lsetxattr 5s 3m
+-----------------------------------------------------
+
+Syscall param lsetxattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lsetxattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lsetxattr(value) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lsetxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lsetxattr(flags) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lsetxattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lsetxattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lsetxattr(value) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+228: __NR_fsetxattr 5s 2m
+-----------------------------------------------------
+
+Syscall param fsetxattr(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fsetxattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fsetxattr(value) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fsetxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fsetxattr(flags) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fsetxattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param fsetxattr(value) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+229: __NR_getxattr 4s 3m
+-----------------------------------------------------
+
+Syscall param getxattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getxattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getxattr(value) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getxattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getxattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getxattr(value) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+230: __NR_lgetxattr 4s 3m
+-----------------------------------------------------
+
+Syscall param lgetxattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lgetxattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lgetxattr(value) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lgetxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lgetxattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lgetxattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lgetxattr(value) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+231: __NR_fgetxattr 4s 2m
+-----------------------------------------------------
+
+Syscall param fgetxattr(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fgetxattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fgetxattr(value) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fgetxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fgetxattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param fgetxattr(value) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+232: __NR_listxattr 3s 2m
+-----------------------------------------------------
+
+Syscall param listxattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param listxattr(list) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param listxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param listxattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param listxattr(list) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+233: __NR_llistxattr 3s 2m
+-----------------------------------------------------
+
+Syscall param llistxattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param llistxattr(list) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param llistxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param llistxattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param llistxattr(list) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+234: __NR_flistxattr 3s 1m
+-----------------------------------------------------
+
+Syscall param flistxattr(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param flistxattr(list) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param flistxattr(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param flistxattr(list) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+235: __NR_removexattr 2s 2m
+-----------------------------------------------------
+
+Syscall param removexattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param removexattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param removexattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param removexattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+236: __NR_lremovexattr 2s 2m
+-----------------------------------------------------
+
+Syscall param lremovexattr(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lremovexattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lremovexattr(path) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lremovexattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+237: __NR_fremovexattr 2s 1m
+-----------------------------------------------------
+
+Syscall param fremovexattr(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fremovexattr(name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fremovexattr(name) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
251: 251 0e
-----------------------------------------------------
|
|
From: Tom H. <th...@cy...> - 2004-11-13 10:38:09
|
CVS commit by thughes:
Add the post handlers for the console ioctls that I managed to
forget to include yesterday.
M +114 -0 vg_syscalls.c 1.191
--- valgrind/coregrind/vg_syscalls.c #1.190:1.191
@@ -4078,4 +4078,118 @@ POSTx(sys_ioctl)
break;
+ case VKI_GIO_FONT:
+ POST_MEM_WRITE( arg3, 32 * 256 );
+ break;
+ case VKI_PIO_FONT:
+ break;
+
+ case VKI_GIO_FONTX:
+ POST_MEM_WRITE( (Addr)((struct vki_consolefontdesc *)arg3)->chardata,
+ 32 * ((struct vki_consolefontdesc *)arg3)->charcount );
+ break;
+ case VKI_PIO_FONTX:
+ break;
+
+ case VKI_PIO_FONTRESET:
+ break;
+
+ case VKI_GIO_CMAP:
+ POST_MEM_WRITE( arg3, 16 * 3 );
+ break;
+ case VKI_PIO_CMAP:
+ break;
+
+ case VKI_KIOCSOUND:
+ case VKI_KDMKTONE:
+ break;
+
+ case VKI_KDGETLED:
+ POST_MEM_WRITE( arg3, sizeof(char) );
+ break;
+ case VKI_KDSETLED:
+ break;
+
+ case VKI_KDGKBTYPE:
+ POST_MEM_WRITE( arg3, sizeof(char) );
+ break;
+
+ case VKI_KDADDIO:
+ case VKI_KDDELIO:
+ case VKI_KDENABIO:
+ case VKI_KDDISABIO:
+ break;
+
+ case VKI_KDSETMODE:
+ break;
+ case VKI_KDGETMODE:
+ POST_MEM_WRITE( arg3, sizeof(int) );
+ break;
+
+ case VKI_KDMAPDISP:
+ case VKI_KDUNMAPDISP:
+ break;
+
+ case VKI_GIO_SCRNMAP:
+ POST_MEM_WRITE( arg3, VKI_E_TABSZ );
+ break;
+ case VKI_PIO_SCRNMAP:
+ break;
+ case VKI_GIO_UNISCRNMAP:
+ POST_MEM_WRITE( arg3, VKI_E_TABSZ * sizeof(unsigned short) );
+ break;
+ case VKI_PIO_UNISCRNMAP:
+ break;
+
+ case VKI_KDGKBMODE:
+ POST_MEM_WRITE( arg3, sizeof(int) );
+ break;
+ case VKI_KDSKBMODE:
+ break;
+
+ case VKI_KDGKBMETA:
+ POST_MEM_WRITE( arg3, sizeof(int) );
+ break;
+ case VKI_KDSKBMETA:
+ break;
+
+ case VKI_KDGKBLED:
+ POST_MEM_WRITE( arg3, sizeof(char) );
+ break;
+ case VKI_KDSKBLED:
+ break;
+
+ case VKI_KDGKBENT:
+ POST_MEM_WRITE( (Addr)&((struct vki_kbentry *)arg3)->kb_value,
+ sizeof(((struct vki_kbentry *)arg3)->kb_value) );
+ break;
+ case VKI_KDSKBENT:
+ break;
+
+ case VKI_KDGKBSENT:
+ POST_MEM_WRITE( (Addr)((struct vki_kbsentry *)arg3)->kb_string,
+ sizeof(((struct vki_kbsentry *)arg3)->kb_string) );
+ break;
+ case VKI_KDSKBSENT:
+ break;
+
+ case VKI_KDGKBDIACR:
+ POST_MEM_WRITE( arg3, sizeof(struct vki_kbdiacrs) );
+ break;
+ case VKI_KDSKBDIACR:
+ break;
+
+ case VKI_KDGETKEYCODE:
+ POST_MEM_WRITE( (Addr)((struct vki_kbkeycode *)arg3)->keycode,
+ sizeof(((struct vki_kbkeycode *)arg3)->keycode) );
+ break;
+ case VKI_KDSETKEYCODE:
+ break;
+
+ case VKI_KDSIGACCEPT:
+ break;
+
+ case VKI_KDKBDREP:
+ break;
+
/* We don't have any specific information on it, so
try to do something reasonable based on direction and
|
|
From: <js...@ac...> - 2004-11-13 03:56:35
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2004-11-13 03:50:00 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: (cpu_test failed, skipping) insn_sse: valgrind ./insn_sse insn_sse2: (cpu_test failed, skipping) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 183 tests, 2 stderr failures, 0 stdout failures ================= corecheck/tests/fdleak_fcntl (stderr) memcheck/tests/writev (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <to...@co...> - 2004-11-13 03:25:24
|
Nightly build on dunsmere ( Fedora Core 3 ) started at 2004-11-13 03:20:03 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 188 tests, 13 stderr failures, 1 stdout failure ================= corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/fdleak_fcntl (stderr) corecheck/tests/fdleak_ipv4 (stderr) corecheck/tests/fdleak_socketpair (stderr) memcheck/tests/badjump (stderr) memcheck/tests/badjump2 (stderr) memcheck/tests/badpoll (stderr) memcheck/tests/buflen_check (stderr) memcheck/tests/execve (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/scalar (stderr) memcheck/tests/scalar_supp (stderr) memcheck/tests/writev (stderr) none/tests/exec-sigmask (stdout) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-11-13 03:20:06
|
Nightly build on audi ( Red Hat 9 ) started at 2004-11-13 03:15:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 188 tests, 11 stderr failures, 0 stdout failures ================= corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/fdleak_fcntl (stderr) corecheck/tests/fdleak_ipv4 (stderr) corecheck/tests/fdleak_socketpair (stderr) memcheck/tests/badpoll (stderr) memcheck/tests/buflen_check (stderr) memcheck/tests/execve (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/scalar (stderr) memcheck/tests/scalar_supp (stderr) memcheck/tests/writev (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-11-13 03:13:53
|
Nightly build on ginetta ( Red Hat 8.0 ) started at 2004-11-13 03:10:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow cpuid: valgrind ./cpuid dastest: valgrind ./dastest fpu_lazy_eflags: valgrind ./fpu_lazy_eflags insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (cpu_test failed, skipping) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 188 tests, 0 stderr failures, 0 stdout failures ================= |
|
From: Tom H. <th...@cy...> - 2004-11-13 03:08:32
|
Nightly build on alvis ( Red Hat 7.3 ) started at 2004-11-13 03:05:01 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (cpu_test failed, skipping) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 188 tests, 2 stderr failures, 0 stdout failures ================= memcheck/tests/scalar (stderr) memcheck/tests/vgtest_ume (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-11-13 03:04:05
|
Nightly build on standard ( Red Hat 7.2 ) started at 2004-11-13 03:00:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (cpu_test failed, skipping) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 188 tests, 2 stderr failures, 0 stdout failures ================= memcheck/tests/scalar (stderr) memcheck/tests/vgtest_ume (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-11-13 00:40:20
|
CVS commit by thughes:
Remove a couple of commented out lines that were left in when committing
the previous stabs fix.
M +0 -2 vg_stabs.c 1.22
--- valgrind/coregrind/vg_stabs.c #1.21:1.22
@@ -850,5 +850,4 @@ static SymType *stabtype_parser(SegInfo
SymType *fieldty;
- // end = templ_name(p);
end = SKIPPAST(p, ':', "method name") - 1;
@@ -1032,5 +1031,4 @@ static Bool initSym(SegInfo *si, Sym *sy
si, si->stab_typetab, sym, kind, name, name, val);
- // ty = templ_name(name);
ty = VG_(strchr)(name, ':');
while (ty && ty[1] == ':') ty = VG_(strchr)(ty + 2, ':');
|
|
From: Tom H. <th...@cy...> - 2004-11-13 00:39:39
|
CVS commit by thughes:
Fix compiler warning.
M +1 -1 vg_scheduler.c 1.200
--- valgrind/coregrind/vg_scheduler.c #1.199:1.200
@@ -1392,5 +1392,5 @@ void VG_(nuke_all_threads_except) ( Thre
VG_(threads)[tid].associated_mx = NULL;
VG_(threads)[tid].associated_cv = NULL;
- VG_(threads)[tid].stack_base = NULL;
+ VG_(threads)[tid].stack_base = (Addr)NULL;
VG_(threads)[tid].stack_size = 0;
cleanup_after_thread_exited( tid, True );
|
|
From: Tom H. <th...@cy...> - 2004-11-13 00:36:18
|
CVS commit by thughes:
Add support for most of the console driver ioctls. This fixes one of
the ioctls complained about in bug 93096 as well as one that came up
on the mailing list a few weeks ago.
M +169 -0 coregrind/vg_syscalls.c 1.190
M +101 -0 include/linux/vki.h 1.5
--- valgrind/coregrind/vg_syscalls.c #1.189:1.190
@@ -3487,4 +3487,173 @@ PREx(sys_ioctl, MayBlock)
break;
+ case VKI_GIO_FONT:
+ PRE_MEM_WRITE( "ioctl(GIO_FONT)", arg3, 32 * 256 );
+ break;
+ case VKI_PIO_FONT:
+ PRE_MEM_READ( "ioctl(PIO_FONT)", arg3, 32 * 256 );
+ break;
+
+ case VKI_GIO_FONTX:
+ PRE_MEM_READ( "ioctl(GIO_FONTX)", arg3, sizeof(struct vki_consolefontdesc) );
+ if ( arg3 ) {
+ /* ToDo: don't do any of the following if the structure is invalid */
+ struct vki_consolefontdesc *cfd = (struct vki_consolefontdesc *)arg3;
+ PRE_MEM_WRITE( "ioctl(GIO_FONTX).chardata", (Addr)cfd->chardata,
+ 32 * cfd->charcount );
+ }
+ break;
+ case VKI_PIO_FONTX:
+ PRE_MEM_READ( "ioctl(PIO_FONTX)", arg3, sizeof(struct vki_consolefontdesc) );
+ if ( arg3 ) {
+ /* ToDo: don't do any of the following if the structure is invalid */
+ struct vki_consolefontdesc *cfd = (struct vki_consolefontdesc *)arg3;
+ PRE_MEM_READ( "ioctl(PIO_FONTX).chardata", (Addr)cfd->chardata,
+ 32 * cfd->charcount );
+ }
+ break;
+
+ case VKI_PIO_FONTRESET:
+ break;
+
+ case VKI_GIO_CMAP:
+ PRE_MEM_WRITE( "ioctl(GIO_CMAP)", arg3, 16 * 3 );
+ break;
+ case VKI_PIO_CMAP:
+ PRE_MEM_READ( "ioctl(PIO_CMAP)", arg3, 16 * 3 );
+ break;
+
+ case VKI_KIOCSOUND:
+ case VKI_KDMKTONE:
+ break;
+
+ case VKI_KDGETLED:
+ PRE_MEM_WRITE( "ioctl(KDGETLED)", arg3, sizeof(char) );
+ break;
+ case VKI_KDSETLED:
+ break;
+
+ case VKI_KDGKBTYPE:
+ PRE_MEM_WRITE( "ioctl(KDGKBTYPE)", arg3, sizeof(char) );
+ break;
+
+ case VKI_KDADDIO:
+ case VKI_KDDELIO:
+ case VKI_KDENABIO:
+ case VKI_KDDISABIO:
+ break;
+
+ case VKI_KDSETMODE:
+ break;
+ case VKI_KDGETMODE:
+ PRE_MEM_WRITE( "ioctl(KDGETMODE)", arg3, sizeof(int) );
+ break;
+
+ case VKI_KDMAPDISP:
+ case VKI_KDUNMAPDISP:
+ break;
+
+ case VKI_GIO_SCRNMAP:
+ PRE_MEM_WRITE( "ioctl(GIO_SCRNMAP)", arg3, VKI_E_TABSZ );
+ break;
+ case VKI_PIO_SCRNMAP:
+ PRE_MEM_READ( "ioctl(PIO_SCRNMAP)", arg3, VKI_E_TABSZ );
+ break;
+ case VKI_GIO_UNISCRNMAP:
+ PRE_MEM_WRITE( "ioctl(GIO_UNISCRNMAP)", arg3,
+ VKI_E_TABSZ * sizeof(unsigned short) );
+ break;
+ case VKI_PIO_UNISCRNMAP:
+ PRE_MEM_READ( "ioctl(PIO_UNISCRNMAP)", arg3,
+ VKI_E_TABSZ * sizeof(unsigned short) );
+ break;
+
+ case VKI_KDGKBMODE:
+ PRE_MEM_WRITE( "ioctl(KDGKBMODE)", arg3, sizeof(int) );
+ break;
+ case VKI_KDSKBMODE:
+ break;
+
+ case VKI_KDGKBMETA:
+ PRE_MEM_WRITE( "ioctl(KDGKBMETA)", arg3, sizeof(int) );
+ break;
+ case VKI_KDSKBMETA:
+ break;
+
+ case VKI_KDGKBLED:
+ PRE_MEM_WRITE( "ioctl(KDGKBLED)", arg3, sizeof(char) );
+ break;
+ case VKI_KDSKBLED:
+ break;
+
+ case VKI_KDGKBENT:
+ PRE_MEM_READ( "ioctl(KDGKBENT).kb_table",
+ (Addr)&((struct vki_kbentry *)arg3)->kb_table,
+ sizeof(((struct vki_kbentry *)arg3)->kb_table) );
+ PRE_MEM_READ( "ioctl(KDGKBENT).kb_index",
+ (Addr)&((struct vki_kbentry *)arg3)->kb_index,
+ sizeof(((struct vki_kbentry *)arg3)->kb_index) );
+ PRE_MEM_WRITE( "ioctl(KDGKBENT).kb_value",
+ (Addr)&((struct vki_kbentry *)arg3)->kb_value,
+ sizeof(((struct vki_kbentry *)arg3)->kb_value) );
+ break;
+ case VKI_KDSKBENT:
+ PRE_MEM_READ( "ioctl(KDSKBENT).kb_table",
+ (Addr)&((struct vki_kbentry *)arg3)->kb_table,
+ sizeof(((struct vki_kbentry *)arg3)->kb_table) );
+ PRE_MEM_READ( "ioctl(KDSKBENT).kb_index",
+ (Addr)&((struct vki_kbentry *)arg3)->kb_index,
+ sizeof(((struct vki_kbentry *)arg3)->kb_index) );
+ PRE_MEM_READ( "ioctl(KDSKBENT).kb_value",
+ (Addr)&((struct vki_kbentry *)arg3)->kb_value,
+ sizeof(((struct vki_kbentry *)arg3)->kb_value) );
+ break;
+
+ case VKI_KDGKBSENT:
+ PRE_MEM_READ( "ioctl(KDGKBSENT).kb_func",
+ (Addr)&((struct vki_kbsentry *)arg3)->kb_func,
+ sizeof(((struct vki_kbsentry *)arg3)->kb_func) );
+ PRE_MEM_WRITE( "ioctl(KDGKSENT).kb_string",
+ (Addr)((struct vki_kbsentry *)arg3)->kb_string,
+ sizeof(((struct vki_kbsentry *)arg3)->kb_string) );
+ break;
+ case VKI_KDSKBSENT:
+ PRE_MEM_READ( "ioctl(KDSKBSENT).kb_func",
+ (Addr)&((struct vki_kbsentry *)arg3)->kb_func,
+ sizeof(((struct vki_kbsentry *)arg3)->kb_func) );
+ PRE_MEM_RASCIIZ( "ioctl(KDSKBSENT).kb_string",
+ (Addr)((struct vki_kbsentry *)arg3)->kb_string );
+ break;
+
+ case VKI_KDGKBDIACR:
+ PRE_MEM_WRITE( "ioctl(KDGKBDIACR)", arg3, sizeof(struct vki_kbdiacrs) );
+ break;
+ case VKI_KDSKBDIACR:
+ PRE_MEM_READ( "ioctl(KDSKBDIACR)", arg3, sizeof(struct vki_kbdiacrs) );
+ break;
+
+ case VKI_KDGETKEYCODE:
+ PRE_MEM_READ( "ioctl(KDGETKEYCODE).scancode",
+ (Addr)&((struct vki_kbkeycode *)arg3)->scancode,
+ sizeof(((struct vki_kbkeycode *)arg3)->scancode) );
+ PRE_MEM_WRITE( "ioctl(KDGETKEYCODE).keycode",
+ (Addr)((struct vki_kbkeycode *)arg3)->keycode,
+ sizeof(((struct vki_kbkeycode *)arg3)->keycode) );
+ break;
+ case VKI_KDSETKEYCODE:
+ PRE_MEM_READ( "ioctl(KDSETKEYCODE).scancode",
+ (Addr)&((struct vki_kbkeycode *)arg3)->scancode,
+ sizeof(((struct vki_kbkeycode *)arg3)->scancode) );
+ PRE_MEM_READ( "ioctl(KDSETKEYCODE).keycode",
+ (Addr)((struct vki_kbkeycode *)arg3)->keycode,
+ sizeof(((struct vki_kbkeycode *)arg3)->keycode) );
+ break;
+
+ case VKI_KDSIGACCEPT:
+ break;
+
+ case VKI_KDKBDREP:
+ PRE_MEM_READ( "ioctl(KBKBDREP)", arg3, sizeof(struct vki_kbd_repeat) );
+ break;
+
/* We don't have any specific information on it, so
try to do something reasonable based on direction and
--- valgrind/include/linux/vki.h #1.4:1.5
@@ -1718,4 +1718,105 @@ struct vki_fb_var_screeninfo {
};
+//----------------------------------------------------------------------
+// From linux-2.6.9/include/linux/kb.h
+//----------------------------------------------------------------------
+
+#define VKI_GIO_FONT 0x4B60 /* gets font in expanded form */
+#define VKI_PIO_FONT 0x4B61 /* use font in expanded form */
+
+#define VKI_GIO_FONTX 0x4B6B /* get font using struct consolefontdesc */
+#define VKI_PIO_FONTX 0x4B6C /* set font using struct consolefontdesc */
+struct vki_consolefontdesc {
+ unsigned short charcount; /* characters in font (256 or 512) */
+ unsigned short charheight; /* scan lines per character (1-32) */
+ char __user *chardata; /* font data in expanded form */
+};
+
+#define VKI_PIO_FONTRESET 0x4B6D /* reset to default font */
+
+#define VKI_GIO_CMAP 0x4B70 /* gets colour palette on VGA+ */
+#define VKI_PIO_CMAP 0x4B71 /* sets colour palette on VGA+ */
+
+#define VKI_KIOCSOUND 0x4B2F /* start sound generation (0 for off) */
+#define VKI_KDMKTONE 0x4B30 /* generate tone */
+
+#define VKI_KDGETLED 0x4B31 /* return current led state */
+#define VKI_KDSETLED 0x4B32 /* set led state [lights, not flags] */
+
+#define VKI_KDGKBTYPE 0x4B33 /* get keyboard type */
+
+#define VKI_KDADDIO 0x4B34 /* add i/o port as valid */
+#define VKI_KDDELIO 0x4B35 /* del i/o port as valid */
+#define VKI_KDENABIO 0x4B36 /* enable i/o to video board */
+#define VKI_KDDISABIO 0x4B37 /* disable i/o to video board */
+
+#define VKI_KDSETMODE 0x4B3A /* set text/graphics mode */
+#define VKI_KDGETMODE 0x4B3B /* get current mode */
+
+#define VKI_KDMAPDISP 0x4B3C /* map display into address space */
+#define VKI_KDUNMAPDISP 0x4B3D /* unmap display from address space */
+
+#define VKI_E_TABSZ 256
+#define VKI_GIO_SCRNMAP 0x4B40 /* get screen mapping from kernel */
+#define VKI_PIO_SCRNMAP 0x4B41 /* put screen mapping table in kernel */
+#define VKI_GIO_UNISCRNMAP 0x4B69 /* get full Unicode screen mapping */
+#define VKI_PIO_UNISCRNMAP 0x4B6A /* set full Unicode screen mapping */
+
+#define VKI_GIO_UNIMAP 0x4B66 /* get unicode-to-font mapping from kernel */
+#define VKI_PIO_UNIMAP 0x4B67 /* put unicode-to-font mapping in kernel */
+#define VKI_PIO_UNIMAPCLR 0x4B68 /* clear table, possibly advise hash algorithm */
+
+#define VKI_KDGKBMODE 0x4B44 /* gets current keyboard mode */
+#define VKI_KDSKBMODE 0x4B45 /* sets current keyboard mode */
+
+#define VKI_KDGKBMETA 0x4B62 /* gets meta key handling mode */
+#define VKI_KDSKBMETA 0x4B63 /* sets meta key handling mode */
+
+#define VKI_KDGKBLED 0x4B64 /* get led flags (not lights) */
+#define VKI_KDSKBLED 0x4B65 /* set led flags (not lights) */
+
+struct vki_kbentry {
+ unsigned char kb_table;
+ unsigned char kb_index;
+ unsigned short kb_value;
+};
+#define VKI_KDGKBENT 0x4B46 /* gets one entry in translation table */
+#define VKI_KDSKBENT 0x4B47 /* sets one entry in translation table */
+
+struct vki_kbsentry {
+ unsigned char kb_func;
+ unsigned char kb_string[512];
+};
+#define VKI_KDGKBSENT 0x4B48 /* gets one function key string entry */
+#define VKI_KDSKBSENT 0x4B49 /* sets one function key string entry */
+
+struct vki_kbdiacr {
+ unsigned char diacr, base, result;
+};
+struct vki_kbdiacrs {
+ unsigned int kb_cnt; /* number of entries in following array */
+ struct vki_kbdiacr kbdiacr[256]; /* MAX_DIACR from keyboard.h */
+};
+#define VKI_KDGKBDIACR 0x4B4A /* read kernel accent table */
+#define VKI_KDSKBDIACR 0x4B4B /* write kernel accent table */
+
+struct vki_kbkeycode {
+ unsigned int scancode, keycode;
+};
+#define VKI_KDGETKEYCODE 0x4B4C /* read kernel keycode table entry */
+#define VKI_KDSETKEYCODE 0x4B4D /* write kernel keycode table entry */
+
+#define VKI_KDSIGACCEPT 0x4B4E /* accept kbd generated signals */
+
+struct vki_kbd_repeat {
+ int delay; /* in msec; <= 0: don't change */
+ int period; /* in msec; <= 0: don't change */
+ /* earlier this field was misnamed "rate" */
+};
+#define VKI_KDKBDREP 0x4B52 /* set keyboard delay/repeat rate;
+ * actually used values are returned */
+
+#define VKI_KDFONTOP 0x4B72 /* font operations */
+
#endif // __LINUX_VKI_H
|