aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/prometheus/procfs/proc_maps.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/prometheus/procfs/proc_maps.go')
-rw-r--r--vendor/github.com/prometheus/procfs/proc_maps.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/proc_maps.go b/vendor/github.com/prometheus/procfs/proc_maps.go
index 28d5c6e..1d7772d 100644
--- a/vendor/github.com/prometheus/procfs/proc_maps.go
+++ b/vendor/github.com/prometheus/procfs/proc_maps.go
@@ -11,7 +11,7 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !windows 14// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
15 15
16package procfs 16package procfs
17 17
@@ -25,6 +25,7 @@ import (
25 "golang.org/x/sys/unix" 25 "golang.org/x/sys/unix"
26) 26)
27 27
28// ProcMapPermissions contains permission settings read from /proc/[pid]/maps
28type ProcMapPermissions struct { 29type ProcMapPermissions struct {
29 // mapping has the [R]ead flag set 30 // mapping has the [R]ead flag set
30 Read bool 31 Read bool