Skip to content

utils: hard-require pivot_root - #789

Merged
smcv merged 1 commit into
containers:mainfrom
ao2:hard-require__NR_pivot_root
Sep 8, 2026
Merged

utils: hard-require pivot_root#789
smcv merged 1 commit into
containers:mainfrom
ao2:hard-require__NR_pivot_root

Conversation

@ao2

@ao2 ao2 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

pivot_root is a Linux 2.3.41 feature, and is available in the Linux 3.2 headers from Ubuntu 12.04, which is probably the oldest environment in which anyone might reasonably want to compile bwrap.

So hard-require pivot_root when building bubblewrap and remove the fallback path.

cc @smcv

`pivot_root` is a Linux 2.3.41 feature, and is available in the Linux 3.2
headers from Ubuntu 12.04, which is probably the oldest environment in
which anyone might reasonably want to compile bwrap.

So hard-require `pivot_root` when building bubblewrap and remove the
fallback path.

Signed-off-by: Antonio Ospite <antonio.ospite@collabora.com>
@smcv
smcv merged commit 4df8ddc into containers:main Sep 8, 2026
4 checks passed
@ao2

ao2 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @smcv I should have probably added a Co-authored-by: smcv, since you proposed the change and suggested the commit message. Next time.

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