*: FreeBSD initial support (#1480)

* FreeBSD initial support

* first code review fixes

* regs slice upd

* execPtraceFunc wrap

* disabled concurrency tests
fixed kill() issue

* disabled concurrency tests
fixed kill() issue

* cleanup vendor related code

* cleanup ptrace calls

* vendoring latest changes

* Revert "vendoring latest changes"

This reverts commit 833cb87b

* vendoring latest changes

* requested changes
This commit is contained in:
Robert Ayrapetyan
2019-07-12 18:28:04 -07:00
committed by Derek Parker
parent 114b76aefc
commit df65be43ae
24 changed files with 1352 additions and 20 deletions

View File

@ -37,6 +37,10 @@ func platformCases() []tCase {
// Should be case-sensitive
{[]tRule{{"/tmp/path", "/new/path2"}}, "/TmP/path/file.go", "/TmP/path/file.go"},
}
casesFreebsd := []tCase{
// Should be case-sensitive
{[]tRule{{"/tmp/path", "/new/path2"}}, "/TmP/path/file.go", "/TmP/path/file.go"},
}
casesDarwin := []tCase{
// Can be either case-sensitive or case-insensitive depending on
// filesystem settings, we always treat it as case-sensitive.
@ -63,6 +67,9 @@ func platformCases() []tCase {
if runtime.GOOS == "linux" {
return append(casesUnix, casesLinux...)
}
if runtime.GOOS == "freebsd" {
return append(casesUnix, casesFreebsd...)
}
return casesUnix
}