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

pkg/archive: Use archive_unix.go on FreeBSD #1371

Merged
merged 1 commit into from Sep 30, 2022

Conversation

dfr
Copy link
Contributor

@dfr dfr commented Sep 29, 2022

Almost all the code can be shared between Linux, FreeBSD and Darwin with the only different in the handling of lchmod. On FreeBSD and Darwin (and probably other BSDs) we can access lchmod functionality via unix.Fchmodat.

Signed-off-by: Doug Rabson dfr@rabson.org

Almost all the code can be shared between Linux, FreeBSD and Darwin with
the only different in the handling of lchmod. On FreeBSD and Darwin (and
probably other BSDs) we can access lchmod functionality via
unix.Fchmodat.

Signed-off-by: Doug Rabson <dfr@rabson.org>
@rhatdan
Copy link
Member

rhatdan commented Sep 29, 2022

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@giuseppe giuseppe merged commit d7c40ad into containers:main Sep 30, 2022
@dfr dfr deleted the freebsd-refactor branch June 13, 2023 09:41
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.

None yet

3 participants