Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
1e04fb66
Commit
1e04fb66
authored
6 years ago
by
xd009642
Browse files
Options
Downloads
Patches
Plain Diff
Added ptrace constants for apple
parent
57c4a15f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/unix/bsd/apple/mod.rs
+20
-0
20 additions, 0 deletions
src/unix/bsd/apple/mod.rs
with
20 additions
and
0 deletions
src/unix/bsd/apple/mod.rs
+
20
−
0
View file @
1e04fb66
...
...
@@ -747,6 +747,26 @@ pub const PROT_READ: ::c_int = 1;
pub
const
PROT_WRITE
:
::
c_int
=
2
;
pub
const
PROT_EXEC
:
::
c_int
=
4
;
pub
const
PT_TRACEME
:
::
c_int
=
0
;
pub
const
PT_READ_I
:
::
c_int
=
1
;
pub
const
PT_READ_D
:
::
c_int
=
2
;
pub
const
PT_READ_U
:
::
c_int
=
3
;
pub
const
PT_WRITE_I
:
::
c_int
=
4
;
pub
const
PT_WRITE_D
:
::
c_int
=
5
;
pub
const
PT_WRITE_U
:
::
c_int
=
6
;
pub
const
PT_CONTINUE
:
::
c_int
=
7
;
pub
const
PT_KILL
:
::
c_int
=
8
;
pub
const
PT_STEP
:
::
c_int
=
9
;
pub
const
PT_ATTACH
:
::
c_int
=
10
;
pub
const
PT_DETACH
:
::
c_int
=
11
;
pub
const
PT_SIGEXC
:
::
c_int
=
12
;
pub
const
PT_THUPDATE
:
::
c_int
=
13
;
pub
const
PT_ATTACHEXC
:
::
c_int
=
14
;
pub
const
PT_FORCEQUOTA
:
::
c_int
=
30
;
pub
const
PT_DENY_ATTACH
:
::
c_int
=
31
;
pub
const
PT_FIRSTMACH
:
::
c_int
=
32
;
pub
const
MAP_FILE
:
::
c_int
=
0x0000
;
pub
const
MAP_SHARED
:
::
c_int
=
0x0001
;
pub
const
MAP_PRIVATE
:
::
c_int
=
0x0002
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment