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

Properly filter the renameat2 syscall introduced in Linux v3.15. #149

Closed
wants to merge 2 commits into from

Conversation

KimonHoffmann
Copy link
Contributor

Handle the renameat2 syscall analogous to renameat, as their only
difference is an additional flags attribute, which isn't relevant to
the path based adjustments performed by proot.

Handle the renameat2 syscall analogous to renameat, as their only
difference is an additional flags attribute, which isn't relevant to
the path based adjustments performed by proot.
@KimonHoffmann
Copy link
Contributor Author

Fixes #147.

@oxr463 oxr463 added this to the PRoot v5.1.1 milestone Nov 29, 2018
@@ -968,6 +986,7 @@ static FilteredSysnum filtered_sysnums[] = {
{ PR_pselect6, 0 },
{ PR_readlinkat, 0 },
{ PR_renameat, 0 },
{ PR_renameat2, 0 },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: check whitespace.

@oxr463 oxr463 mentioned this pull request Dec 11, 2018
@oxr463 oxr463 closed this in 6444484 Dec 13, 2018
@KimonHoffmann KimonHoffmann deleted the renameat2 branch January 31, 2019 09:19
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