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

runtimetest: add validation of mount order #88

Closed
wants to merge 1 commit into from

Commits on Oct 7, 2016

  1. runtimetest: add validation of mount order

    In order to make sure that runtimes correctly implement the ordering of
    []spec.Mount, we need to check /proc/1/mountinfo (keeping in mind that
    Unix allows a user to mount over the top of an existing mountpoint --
    thus masking it). We only run this test if there happen to be two
    mountpoints in the list where one is a parent of the other. We also
    don't run it on Windows.
    
    An extension of this might be to check all of the nested mounts
    specified in the spec.
    
    Signed-off-by: Aleksa Sarai <asarai@suse.de>
    cyphar committed Oct 7, 2016
    Configuration menu
    Copy the full SHA
    a282e7c View commit details
    Browse the repository at this point in the history