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

Fix clone3 crash in glibc 2.34+ #123

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Fix clone3 crash in glibc 2.34+ #123

merged 1 commit into from
Nov 23, 2022

Conversation

en4bz
Copy link
Collaborator

@en4bz en4bz commented Nov 23, 2022

glibc has been using clone3 internally since
commit d8ea0d0168b190bdf138a20358293c939509367f.

glibc has been using clone3 internally since
commit d8ea0d0168b190bdf138a20358293c939509367f.
@en4bz
Copy link
Collaborator Author

en4bz commented Nov 23, 2022

Resolves #115

@en4bz en4bz merged commit fef1c49 into pmem:master Nov 23, 2022
arter97 added a commit to arter97/syscall_intercept that referenced this pull request Mar 5, 2023
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 <qkrwngud825@gmail.com>
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.

1 participant