summaryrefslogtreecommitdiffstats
path: root/src/os/executable_freebsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/executable_freebsd.go')
-rw-r--r--src/os/executable_freebsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/os/executable_freebsd.go b/src/os/executable_freebsd.go
new file mode 100644
index 0000000..95f1a93
--- /dev/null
+++ b/src/os/executable_freebsd.go
@@ -0,0 +1,12 @@
+// Copyright 2020 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 os
+
+// From FreeBSD's <sys/sysctl.h>
+const (
+ _CTL_KERN = 1
+ _KERN_PROC = 14
+ _KERN_PROC_PATHNAME = 12
+)