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

Attempts to access forbidden file system resource #501

Conversation

pengshanyu
Copy link
Collaborator

As the namespace is limited for the QM container, there is no method for an application to actively attempt to access a resource that is not present in the file system. Therefore it must be shown that the resources present in the file system match the expectations based on the configuration.
The QM partition configuration defines a set of available filesystem resources (devices, networks, shared memory, etc). These and only these resources are expected to be present in the QM partition's file system.

Signed-off-by: pengshanyu <yupengshan@hotmail.com>

check whether access to forbidded resources is as expected

Signed-off-by: pengshanyu <yupengshan@hotmail.com>

trim trailing whitespace

Signed-off-by: pengshanyu <yupengshan@hotmail.com>
@pengshanyu pengshanyu force-pushed the attempts-to-access-forbidden-file-system-resource branch from 9a182ec to 974d764 Compare August 13, 2024 06:31
@pengshanyu
Copy link
Collaborator Author

Hi @alexlarsson , @ericcurtin, @dougsland, @engelmi, could you please help to review this PR? Thanks.

@ericcurtin
Copy link
Contributor

Not a reviewer here, but I approve, none of this is breaking existing code at least

@alexlarsson alexlarsson merged commit 71d0f85 into containers:main Aug 14, 2024
8 checks passed
@pengshanyu pengshanyu deleted the attempts-to-access-forbidden-file-system-resource branch August 15, 2024 07:15
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.

3 participants