Skip to content

Commit 3bd76cd

Browse files
committed
Auto merge of #2395 - uweigand:s390x-MAP_SYNC, r=Amanieu
Add missing MAP_SYNC for s390x Add missing constant that is causing a build error in rsix.
2 parents 2f14ad3 + 28a17eb commit 3bd76cd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/linux-s390x.txt

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ KEYCTL_CAPS1_NS_KEYRING_NAME
1717
KEYCTL_CAPS1_NS_KEY_TAG
1818
KEYCTL_MOVE
1919
MADV_SOFT_OFFLINE
20+
MAP_SYNC
2021
NFT_MSG_DELOBJ
2122
NFT_MSG_GETOBJ
2223
NFT_MSG_GETOBJ_RESET

src/unix/linux_like/linux/gnu/b64/s390x.rs

+1
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ pub const MAP_POPULATE: ::c_int = 0x08000;
385385
pub const MAP_NONBLOCK: ::c_int = 0x010000;
386386
pub const MAP_STACK: ::c_int = 0x020000;
387387
pub const MAP_HUGETLB: ::c_int = 0x040000;
388+
pub const MAP_SYNC: ::c_int = 0x080000;
388389

389390
pub const EDEADLOCK: ::c_int = 35;
390391
pub const ENAMETOOLONG: ::c_int = 36;

0 commit comments

Comments
 (0)