Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile-in clone3() crash fix even when the glibc version is < 2.34 #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arter97
Copy link

@arter97 arter97 commented Mar 5, 2023

Commit merged in #123 fixes clone3() crashes on glibc 2.34+.

However, with the #ifdef SYS_clone3 guard, libsyscall_intercept.so built with glibc < 2.34 will not work with 2.34+.

Fix this by integrating the relevant parts from the linux and glibc headers directly.

Commit merged in pmem#123
fixes clone3() crashes on glibc 2.34+.

However, with the `#ifdef SYS_clone3` guard, libsyscall_intercept.so
built with glibc < 2.34 will not work with 2.34+.

Fix this by integrating the relevant parts from the linux and glibc
headers directly.

Signed-off-by: Juhyung Park <[email protected]>
@en4bz
Copy link
Collaborator

en4bz commented Mar 6, 2023

The presence of clone3 is determined by the kernel version, not the glibc version so the title is incorrect. Clone3 was added in kernel 5.3.

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.

2 participants