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
30dfc4b7
Commit
30dfc4b7
authored
9 years ago
by
Gabriele Svelto
Browse files
Options
Downloads
Patches
Plain Diff
Add MAP_STACK and MAP_HUGETLB entries to MIPS so that the nix crate can be built
parent
08f816f7
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/notbsd/linux/mips.rs
+3
-0
3 additions, 0 deletions
src/unix/notbsd/linux/mips.rs
with
3 additions
and
0 deletions
src/unix/notbsd/linux/mips.rs
+
3
−
0
View file @
30dfc4b7
...
@@ -303,6 +303,7 @@ pub const MAP_EXECUTABLE: ::c_int = 0x4000;
...
@@ -303,6 +303,7 @@ pub const MAP_EXECUTABLE: ::c_int = 0x4000;
pub
const
MAP_LOCKED
:
::
c_int
=
0x8000
;
pub
const
MAP_LOCKED
:
::
c_int
=
0x8000
;
pub
const
MAP_POPULATE
:
::
c_int
=
0x10000
;
pub
const
MAP_POPULATE
:
::
c_int
=
0x10000
;
pub
const
MAP_NONBLOCK
:
::
c_int
=
0x20000
;
pub
const
MAP_NONBLOCK
:
::
c_int
=
0x20000
;
pub
const
MAP_STACK
:
::
c_int
=
0x40000
;
pub
const
SOCK_STREAM
:
::
c_int
=
2
;
pub
const
SOCK_STREAM
:
::
c_int
=
2
;
pub
const
SOCK_DGRAM
:
::
c_int
=
1
;
pub
const
SOCK_DGRAM
:
::
c_int
=
1
;
...
@@ -426,6 +427,8 @@ pub const PTRACE_SETFPXREGS: ::c_uint = 19;
...
@@ -426,6 +427,8 @@ pub const PTRACE_SETFPXREGS: ::c_uint = 19;
pub
const
PTRACE_GETREGS
:
::
c_uint
=
12
;
pub
const
PTRACE_GETREGS
:
::
c_uint
=
12
;
pub
const
PTRACE_SETREGS
:
::
c_uint
=
13
;
pub
const
PTRACE_SETREGS
:
::
c_uint
=
13
;
pub
const
MAP_HUGETLB
:
::
c_int
=
0x080000
;
pub
const
EFD_NONBLOCK
:
::
c_int
=
0x80
;
pub
const
EFD_NONBLOCK
:
::
c_int
=
0x80
;
pub
const
F_GETLK
:
::
c_int
=
14
;
pub
const
F_GETLK
:
::
c_int
=
14
;
...
...
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