]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD regtest: correct scalar inotify_add_watch_at
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 14 Sep 2025 10:03:28 +0000 (10:03 +0000)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 14 Sep 2025 10:03:28 +0000 (10:03 +0000)
The syscall has 4 args and I had only used 3 in scalar.c.

memcheck/tests/freebsd/scalar.c
memcheck/tests/freebsd/scalar.stderr.exp

index 64d751e55c34c2328b18e1080f1a66afd8fd03b6..b31df32fc58b205ffc082605c8939d92538b2727 100644 (file)
@@ -2522,8 +2522,8 @@ int main(void)
 
    /* SYS_inotify_add_watch_at    593 */
 #if defined(SYS_inotify_add_watch_at)
-   GO(SYS_inotify_add_watch_at, "3s, 1m");
-   SY(SYS_inotify_add_watch_at, x0, x0+1, x0+1);
+   GO(SYS_inotify_add_watch_at, "4s, 1m");
+   SY(SYS_inotify_add_watch_at, x0+99, x0+100, x0+1, x0+999999);
 #else
    FAKE_GO("593:SYS_inotify_add_watch_at 3s, 1m");
    FAKE_SY("Syscall param inotify_add_watch_at(fd) contains uninitialised byte(s)\n");
index 96715bfce82bb71b7176d8e800ad03372774d796..638e87bd62bdcd76d5df95b8f14b9e713d910807 100644 (file)
@@ -5801,7 +5801,7 @@ Syscall param exterrctl(ptr) points to unaddressable byte(s)
  Address 0x........ is not stack'd, malloc'd or (recently) free'd
 
 ---------------------------------------------------------
-593:SYS_inotify_add_watch_at 3s, 1m
+593:SYS_inotify_add_watch_at 4s, 1m
 ---------------------------------------------------------
 Syscall param inotify_add_watch_at(fd) contains uninitialised byte(s)
    ...
@@ -5812,6 +5812,9 @@ Syscall param inotify_add_watch_at(dfd) contains uninitialised byte(s)
 Syscall param inotify_add_watch_at(path) contains uninitialised byte(s)
    ...
 
+Syscall param inotify_add_watch_at(mask) contains uninitialised byte(s)
+   ...
+
 Syscall param inotify_add_watch_at(path) points to unaddressable byte(s)
    ...
  Address 0x........ is not stack'd, malloc'd or (recently) free'd