Skip to content

Add early skip in setSecCtxByName#401

Merged
cgzones merged 1 commit intologrotate:masterfrom
cgzones:selinux_skip
Jun 14, 2021
Merged

Add early skip in setSecCtxByName#401
cgzones merged 1 commit intologrotate:masterfrom
cgzones:selinux_skip

Conversation

@cgzones
Copy link
Member

@cgzones cgzones commented Jun 11, 2021

If build with SELinux support but SELinux is disabled do not
unnecessarily open a file in setSecCtxByName(), as setSecCtx() will
be a no-op.

If build with SELinux support but SELinux is disabled do not
unnecessarily open a file in `setSecCtxByName()`, as `setSecCtx()` will
be a no-op.
@cgzones cgzones merged commit 141e836 into logrotate:master Jun 14, 2021
@cgzones cgzones deleted the selinux_skip branch June 14, 2021 15:09
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