Skip to content

Conversation

@sherryzy
Copy link

Add the new definitions for PR_SET_VMA from the Linux kernel, which allows naming anonymous Virtual Memory Areas (VMAs).

kraj and others added 6 commits September 23, 2025 07:53
- add Travis-CI build status
- Add License badge
- Add coverity scan
- Add clang static analyser

Signed-off-by: Khem Raj <raj.khem@gmail.com>
absolute symlink into $(libdir) fails to load in a cross build
environment, especially when executing qemu in usermode to run target
applications, which cross build systems often do, since not everything
can be computed during cross builds, qemu in usermode often comes to aid
in such situations to feed into cross builds.

V2:
 Make use of 'ln -r' to create relative symlinks, as most fo the distros
 shipping coreutils 8.16+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
In absence of /etc/ld-musl-$(ARCH).path ldso uses default path to search
libraries /lib:/usr/local/lib:/usr/lib.

However this path isn't relevant in case when library is put in dirs
like lib64 or libx32.

Adjust CFLAGS_ALL to pass syslibdir as SYSLIBDIR and libdir as LIBDIR
preprocessor macroses to construct default ldso library search path
in ldso/dynlink.c::SYS_PATH_DFLT.

Upstream-Status: Pending
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
This uses compiler to provide the path to its default runtime
library libgcc/compiler-rt, when using clang we can set

CC="clang --rtlib={compiler-rt|libgcc}" and it will find
the right compiler runtime when autodetecting it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add the new definitions for PR_SET_VMA from the Linux kernel, which allows naming anonymous Virtual Memory Areas (VMAs).
@kraj
Copy link
Owner

kraj commented Sep 25, 2025

Can you send this patch to musl mailing list ? musl@lists.openwall.com

@sherryzy
Copy link
Author

sherryzy commented Oct 7, 2025

Can you send this patch to musl mailing list ? musl@lists.openwall.com

Email sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants