Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2019 21:43:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235720] devel/valgrind: unimplemented syscall 555 (statfs)
Message-ID:  <bug-235720-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235720

            Bug ID: 235720
           Summary: devel/valgrind: unimplemented syscall 555 (statfs)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: michaelbuch12@gmail.com
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

Just a matter of adding a statfs wrapper for the valgrind port.=20
Happy to code this up if nobody has any objections.

Error occurred as follows:

(568)|thinkpad|gardei|~/valgrind-debug|
$>>freebsd-version
12.0-RELEASE
(569)|thinkpad|gardei|~/valgrind-debug|
$>>cat disk.c
#include <sys/statvfs.h>

int main() {
        struct statvfs fs;

        return statvfs("/", &fs);
}
(570)|thinkpad|gardei|~/valgrind-debug|
$>>valgrind ./a.out
=3D=3D12810=3D=3D Memcheck, a memory error detector
=3D=3D12810=3D=3D Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward =
et al.
=3D=3D12810=3D=3D Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyr=
ight info
=3D=3D12810=3D=3D Command: ./a.out
=3D=3D12810=3D=3D
--12810-- WARNING: unhandled syscall: 555
--12810-- You may be able to write your own handler.
--12810-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--12810-- Nevertheless we consider this a bug.  Please report
--12810-- it at http://valgrind.org/support/bug_reports.html.
=3D=3D12810=3D=3D
=3D=3D12810=3D=3D HEAP SUMMARY:
=3D=3D12810=3D=3D     in use at exit: 0 bytes in 0 blocks
=3D=3D12810=3D=3D   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
=3D=3D12810=3D=3D
=3D=3D12810=3D=3D All heap blocks were freed -- no leaks are possible
=3D=3D12810=3D=3D
=3D=3D12810=3D=3D For counts of detected and suppressed errors, rerun with:=
 -v
=3D=3D12810=3D=3D ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 fr=
om 0)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235720-7788>