[20.10 backport] seccomp: always allow name_to_handle_at(2) #45835
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #45518
Hi there, this is my first PR here, so please feel free to point me out if anything is wrong with this contribution. I looked the #45518 issue and I believe this could be a fix.
- What I did
Removed the function from the filtered syscalls as
name_to_handle_at(2)
is in fact innocuous and safe- How I did it
@neersighted help at comment
- How to verify it
N/A
- Description for the changelog
Remove name_to_handle_at(2) from filtered syscalls
- A picture of a cute animal (not mandatory but encouraged)
![image](https://private-user-images.githubusercontent.com/18057391/246680581-a8a3b84f-ccb9-40cf-a22c-512713efd790.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1OTE3MjgsIm5iZiI6MTcyMDU5MTQyOCwicGF0aCI6Ii8xODA1NzM5MS8yNDY2ODA1ODEtYThhM2I4NGYtY2NiOS00MGNmLWEyMmMtNTEyNzEzZWZkNzkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA2MDM0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExZGNmYzViNWEwMzNjOTQ0YWQwZTA5NmU3ZDU0YmMxNjZlODhiNmQ2MjdmYzQwMzEyNTdkODc0MGE2NjI4MDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XGy1NKF5Pc7HRpa2HvSVsd2CEouoNka9BYQxQYrWhxY)