Bug 152899 - devel/valgrind: missing jail syscalls
Summary: devel/valgrind: missing jail syscalls
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 19:50 UTC by Uffe Jakobsen
Modified: 2016-04-19 20:04 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2010-12-07 19:50:10 UTC
Running "valgrind -v jls" - valgrind complaints:

WARNING: unhandled syscall 506
jls: jail_get: Function not implemented

valgrind-3.6.0

How-To-Repeat: 

Run "valgrind -v jls"
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-12-07 19:51:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Fix synopsis and assign.
Comment 2 Thomas Abthorpe freebsd_committer 2011-11-05 04:12:26 UTC
Responsible Changed
From-To: stas->freebsd-ports-bugs

- back to the heap
Comment 3 Michael Scheidell freebsd_committer 2012-07-04 19:20:07 UTC
Valgrind is now at 3.7.0_1, could you please update your portstree and 
try again?

-- 
Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell
Comment 4 Bryan Drewery freebsd_committer 2012-08-06 18:51:00 UTC
Confirmed this is still an issue with 3.7.0,1
Comment 5 Edwin Groothuis freebsd_committer 2012-09-10 10:16:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 6 Bryan Drewery freebsd_committer 2012-09-13 14:08:17 UTC
State Changed
From-To: open->analyzed

Need to get this implemented in our upstream.
Comment 7 Kurt Jaeger freebsd_committer 2015-10-17 18:37:46 UTC
Tested with valgrind-3.10.0 on 11amd64, problem still exists.
Comment 9 commit-hook freebsd_committer 2016-02-26 19:41:49 UTC
A commit references this bug:

Author: bdrewery
Date: Fri Feb 26 19:41:39 UTC 2016
New revision: 409636
URL: https://svnweb.freebsd.org/changeset/ports/409636

Log:
  - Update to 3.10.1
  - Add pipe(2) syscall
  - Add cpuset_getaffinity(2) syscall
  - Support arguments for cpuset_setaffinity(2) syscall
  - sendfile(2) syscall fixes
  - getsockopt(2) syscall fixes
  - Add missing fcntl(2) handlers [1]
  - Add missing jail syscalls [2]
  - Add missing kldload syscalls [3]
  - Add missing accept4(2) syscall [4]

  PR:	196451 [1]
  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/issues/15/missing-fcntl-commands [1]
  PR:	152899 [2]
  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/pull-requests/10/implement-some-of-the-jails-syscalls/diff [2]

  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/pull-requests/11/fix-issue-25-add-kldload-kldunload-kldfind/diff [3]
  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/pull-requests/8/fix-issue-21-accept4-is-unimplemented-on/diff [4]

Changes:
  head/devel/valgrind-devel/Makefile
  head/devel/valgrind-devel/distinfo
  head/devel/valgrind-devel/files/accept4_syscall.patch
  head/devel/valgrind-devel/files/jail_syscalls.patch
  head/devel/valgrind-devel/files/kldload_syscalls.patch
  head/devel/valgrind-devel/files/missing_fcntls.patch
Comment 10 commit-hook freebsd_committer 2016-04-19 20:04:15 UTC
A commit references this bug:

Author: bdrewery
Date: Tue Apr 19 20:03:18 UTC 2016
New revision: 413660
URL: https://svnweb.freebsd.org/changeset/ports/413660

Log:
  - Update to 3.10.1
  - Add pipe(2) syscall
  - Add cpuset_getaffinity(2) syscall
  - Support arguments for cpuset_setaffinity(2) syscall
  - sendfile(2) syscall fixes
  - getsockopt(2) syscall fixes
  - Add missing fcntl(2) handlers [1]
  - Add missing jail syscalls [2]
  - Add missing kldload syscalls [3]
  - Add missing accept4(2) syscall [4]

  PR:		196451 [1]
  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/issues/15/missing-fcntl-commands [1]
  PR:		152899 [2]
  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/pull-requests/10/implement-some-of-the-jails-syscalls/diff [2]

  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/pull-requests/11/fix-issue-25-add-kldload-kldunload-kldfind/diff [3]
  Obtained from:	https://bitbucket.org/stass/valgrind-freebsd/pull-requests/8/fix-issue-21-accept4-is-unimplemented-on/diff [4]

Changes:
  head/devel/valgrind/Makefile
  head/devel/valgrind/distinfo
  head/devel/valgrind/files/accept4_syscall.patch
  head/devel/valgrind/files/jail_syscalls.patch
  head/devel/valgrind/files/kldload_syscalls.patch
  head/devel/valgrind/files/missing_fcntls.patch