Skip to content

Commit 0f3edec

Browse files
virchau13tgross35
authored andcommitted
feat(android): add RTLD_NODELETE
RTLD_NODELETE has been supported on Android [since 2014](https://android-review.googlesource.com/c/platform/bionic/+/95170). (backport <#3691>) (cherry picked from commit 1049e5d)
1 parent 31b2b2e commit 0f3edec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,6 +2033,7 @@ RTLD_LAZY
20332033
RTLD_LOCAL
20342034
RTLD_NOLOAD
20352035
RTLD_NOW
2036+
RTLD_NODELETE
20362037
TCA_UNSPEC
20372038
TCA_KIND
20382039
TCA_OPTIONS

src/unix/linux_like/android/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,7 @@ pub const ST_NODIRATIME: ::c_ulong = 2048;
17611761
pub const ST_RELATIME: ::c_ulong = 4096;
17621762

17631763
pub const RTLD_NOLOAD: ::c_int = 0x4;
1764+
pub const RTLD_NODELETE: ::c_int = 0x1000;
17641765

17651766
pub const SEM_FAILED: *mut sem_t = 0 as *mut sem_t;
17661767

0 commit comments

Comments
 (0)