Skip to content

libcontainer/user: fix windows compile error#9

Closed
thaJeztah wants to merge 2 commits intokolyshkin:rm-winfrom
thaJeztah:fixup_rm_win
Closed

libcontainer/user: fix windows compile error#9
thaJeztah wants to merge 2 commits intokolyshkin:rm-winfrom
thaJeztah:fixup_rm_win

Conversation

@thaJeztah
Copy link
Copy Markdown

Move the unix-specific code to a file that's not compiled on
Windows.

Some of the errors (ErrUnsupported, ErrNoPasswdEntries, ErrNoGroupEntries)
are used in other parts of the code, so are moved to a non-platform
specific file.

Most of "user" is probably not useful on Windows, although it's possible
that Windows code may have to parse a passwd file, so leaving that code
for now.

Also removing the MAINTAINERS file in this package, as it's no longer relevant

Move the unix-specific code to a file that's not compiled on
Windows.

Some of the errors (ErrUnsupported, ErrNoPasswdEntries, ErrNoGroupEntries)
are used in other parts of the code, so are moved to a non-platform
specific file.

Most of "user" is probably not useful on Windows, although it's possible
that Windows code may have to parse a passwd file, so leaving that code
for now.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Author

@kolyshkin PTAL

@kolyshkin kolyshkin closed this Jun 1, 2021
@thaJeztah thaJeztah deleted the fixup_rm_win branch June 2, 2021 00:11
kolyshkin added a commit that referenced this pull request Dec 16, 2021
Bug 1965545: [openshift-4.8] libct/cg/sd: fix dbus error handling
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