github.com/DataDog/datadog-agent/pkg/security/secl@v0.55.0-devel.0.20240517055856-10c4965fea94/model/consts_linux_arm64.go (about)

     1  // Unless explicitly stated otherwise all files in this repository are licensed
     2  // under the Apache License Version 2.0.
     3  // This product includes software developed at Datadog (https://www.datadoghq.com/).
     4  // Copyright 2016-present Datadog, Inc.
     5  
     6  //go:build linux
     7  
     8  // Package model holds model related files
     9  package model
    10  
    11  import (
    12  	"golang.org/x/sys/unix"
    13  )
    14  
    15  var (
    16  	// ptraceArchConstants are the supported ptrace commands for the ptrace syscall on arm64
    17  	// generate_constants:Ptrace constants,Ptrace constants are the supported ptrace commands for the ptrace syscall.
    18  	ptraceArchConstants = map[string]uint32{
    19  		"PTRACE_PEEKMTETAGS":       unix.PTRACE_PEEKMTETAGS,
    20  		"PTRACE_POKEMTETAGS":       unix.PTRACE_POKEMTETAGS,
    21  		"PTRACE_SYSEMU":            unix.PTRACE_SYSEMU,
    22  		"PTRACE_SYSEMU_SINGLESTEP": unix.PTRACE_SYSEMU_SINGLESTEP,
    23  	}
    24  
    25  	mmapFlagArchConstants = map[string]uint64{}
    26  )