github.com/DataDog/datadog-agent/pkg/security/secl@v0.55.0-devel.0.20240517055856-10c4965fea94/model/consts_linux_arm.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 arm 17 // generate_constants:Ptrace constants,Ptrace constants are the supported ptrace commands for the ptrace syscall. 18 ptraceArchConstants = map[string]uint32{ 19 "PTRACE_GETCRUNCHREGS": unix.PTRACE_GETCRUNCHREGS, 20 "PTRACE_GETFDPIC": unix.PTRACE_GETFDPIC, 21 "PTRACE_GETFDPIC_EXEC": unix.PTRACE_GETFDPIC_EXEC, 22 "PTRACE_GETFDPIC_INTERP": unix.PTRACE_GETFDPIC_INTERP, 23 "PTRACE_GETFPREGS": unix.PTRACE_GETFPREGS, 24 "PTRACE_GETHBPREGS": unix.PTRACE_GETHBPREGS, 25 "PTRACE_GETVFPREGS": unix.PTRACE_GETVFPREGS, 26 "PTRACE_GETWMMXREGS": unix.PTRACE_GETWMMXREGS, 27 "PTRACE_GET_THREAD_AREA": unix.PTRACE_GET_THREAD_AREA, 28 "PTRACE_OLDSETOPTIONS": unix.PTRACE_OLDSETOPTIONS, 29 "PTRACE_SETCRUNCHREGS": unix.PTRACE_SETCRUNCHREGS, 30 "PTRACE_SETFPREGS": unix.PTRACE_SETFPREGS, 31 "PTRACE_SETHBPREGS": unix.PTRACE_SETHBPREGS, 32 "PTRACE_SETVFPREGS": unix.PTRACE_SETVFPREGS, 33 "PTRACE_SETWMMXREGS": unix.PTRACE_SETWMMXREGS, 34 "PTRACE_SET_SYSCALL": unix.PTRACE_SET_SYSCALL, 35 } 36 37 mmapFlagArchConstants = map[string]uint64{} 38 )