diff options
author | Russ Cox <rsc@golang.org> | 2014-11-11 23:00:29 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-11-11 23:00:29 -0500 |
commit | aac17fd4e1cb83915b39632c9d351ef7e304bf63 (patch) | |
tree | d45ab14f897660579fdb727ab8d0aeb66ab3204f /src/runtime/os2_freebsd.go | |
parent | c81d248ecaef272aae56adabf84588c254b8ec39 (diff) | |
download | go-aac17fd4e1cb83915b39632c9d351ef7e304bf63.tar.gz go-aac17fd4e1cb83915b39632c9d351ef7e304bf63.zip |
[dev.cc] runtime: convert freebsd to Go
It builds.
Don't know if it works, but it's a lot closer than having everything in C.
LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/168590043
Diffstat (limited to 'src/runtime/os2_freebsd.go')
-rw-r--r-- | src/runtime/os2_freebsd.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/runtime/os2_freebsd.go b/src/runtime/os2_freebsd.go new file mode 100644 index 0000000000..f67211fdf2 --- /dev/null +++ b/src/runtime/os2_freebsd.go @@ -0,0 +1,12 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package runtime + +const ( + _SS_DISABLE = 4 + _NSIG = 33 + _SI_USER = 0x10001 + _RLIMIT_AS = 10 +) |