Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syscall
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
syscall
Commits
edf3c008
Verified
Commit
edf3c008
authored
Jul 26, 2019
by
jD91mZM2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u64s are bigger than I thought!
parent
52441c28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/flag.rs
src/flag.rs
+11
-11
No files found.
src/flag.rs
View file @
edf3c008
...
...
@@ -60,20 +60,20 @@ pub const PHYSMAP_WRITE: usize = 0x0000_0001;
pub
const
PHYSMAP_WRITE_COMBINE
:
usize
=
0x0000_0002
;
pub
const
PHYSMAP_NO_CACHE
:
usize
=
0x0000_0004
;
// The top
32
bits of PTRACE_* are reserved, for now
// The top
48
bits of PTRACE_* are reserved, for now
pub
const
PTRACE_STOP_PRE_SYSCALL
:
u64
=
0x0000_0001
;
pub
const
PTRACE_STOP_POST_SYSCALL
:
u64
=
0x0000_0002
;
pub
const
PTRACE_STOP_SINGLESTEP
:
u64
=
0x0000_0004
;
pub
const
PTRACE_STOP_SIGNAL
:
u64
=
0x0000_0008
;
pub
const
PTRACE_STOP_MASK
:
u64
=
0x0000_00FF
;
pub
const
PTRACE_STOP_PRE_SYSCALL
:
u64
=
0x0000_000
0_0000_000
1
;
pub
const
PTRACE_STOP_POST_SYSCALL
:
u64
=
0x0000_000
0_0000_000
2
;
pub
const
PTRACE_STOP_SINGLESTEP
:
u64
=
0x0000_000
0_0000_000
4
;
pub
const
PTRACE_STOP_SIGNAL
:
u64
=
0x0000_000
0_0000_000
8
;
pub
const
PTRACE_STOP_MASK
:
u64
=
0x0000_00
00_0000_00
FF
;
pub
const
PTRACE_EVENT_CLONE
:
u64
=
0x0000_0100
;
pub
const
PTRACE_EVENT_MASK
:
u64
=
0x0000_0F00
;
pub
const
PTRACE_EVENT_CLONE
:
u64
=
0x0000_0
000_0000_0
100
;
pub
const
PTRACE_EVENT_MASK
:
u64
=
0x0000_0
000_0000_0
F00
;
pub
const
PTRACE_FLAG_SYSEMU
:
u64
=
0x0000_1000
;
pub
const
PTRACE_FLAG_WAIT
:
u64
=
0x0000_2000
;
pub
const
PTRACE_FLAG_MASK
:
u64
=
0x0000_F000
;
pub
const
PTRACE_FLAG_SYSEMU
:
u64
=
0x0000_
0000_0000_
1000
;
pub
const
PTRACE_FLAG_WAIT
:
u64
=
0x0000_
0000_0000_
2000
;
pub
const
PTRACE_FLAG_MASK
:
u64
=
0x0000_
0000_0000_
F000
;
pub
const
PROT_NONE
:
usize
=
0x0000_0000
;
pub
const
PROT_EXEC
:
usize
=
0x0001_0000
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment