Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

cgroup/v1: introduce mount flags to mountFsRO #3350

Merged
merged 1 commit into from
Nov 8, 2016

Conversation

s-urbaniak
Copy link
Contributor

Currently mount flags are lost when remounting a mountpoint read-only.
This changes it such that mountFsRO takes a flags parameter, and adds
MS_BIND, MS_REMOUNT, MS_RDONLY.

Fixes #3286

Currently mount flags are lost when remounting a mountpoint read-only.
This changes it such that mountFsRO takes a flags parameter, and adds
MS_BIND, MS_REMOUNT, MS_RDONLY.

Fixes rkt#3286
Copy link
Member

@lucab lucab left a comment

Choose a reason for hiding this comment

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

LGTM

@lucab lucab merged commit 2c36ea9 into rkt:master Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants