Skip to content

[autobackport: sssd-2-9] Add missing include#8603

Merged
thalman merged 1 commit into
SSSD:sssd-2-9from
sssd-bot:SSSD-sssd-backport-pr8602-to-sssd-2-9
Apr 15, 2026
Merged

[autobackport: sssd-2-9] Add missing include#8603
thalman merged 1 commit into
SSSD:sssd-2-9from
sssd-bot:SSSD-sssd-backport-pr8602-to-sssd-2-9

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#8602 Add missing include to branch sssd-2-9, created by @alexey-tikhonov.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

You can push changes to this pull request

git remote add sssd-bot [email protected]:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr8602-to-sssd-2-9
git checkout SSSD-sssd-backport-pr8602-to-sssd-2-9
git push sssd-bot SSSD-sssd-backport-pr8602-to-sssd-2-9 --force

Original commits
a809b92 - Add missing include

Backported commits


Original Pull Request Body

Original patch f3af8c8 didn't include "config.h" that provides HAVE_PTHREAD_EXT
It works in some branches accidentally because of transitive include via "sss_cli.h" but that's fragile (and in some branches "sss_cli.h" doesn't include "config.h")

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds the inclusion of the config.h header file to src/sss_client/autofs/sss_autofs.c, which is a standard practice in C projects to ensure configuration macros are defined before other headers. I have no feedback to provide as there are no review comments.

@alexey-tikhonov alexey-tikhonov added no-backport This should go to target branch only. Trivial A single reviewer is sufficient to review the Pull Request labels Apr 15, 2026

@thalman thalman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK

Original patch f3af8c8 didn't include
"config.h" that provides `HAVE_PTHREAD_EXT`
It works in some branches accidentally because of transitive include
via "sss_cli.h" but that's fragile (and in some branches "sss_cli.h"
doesn't include "config.h")

Reviewed-by: Tomáš Halman <[email protected]>
(cherry picked from commit a809b92)
@sssd-bot

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @thalman with the following PR CI status:


🟢 CodeQL (success)
🟢 rpm-build:centos-stream-9-x86_64:upstream (success)
🟢 Build / make-distcheck (success)
🟢 ci / prepare (success)
🟢 ci / system (centos-9) (success)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the SSSD-sssd-backport-pr8602-to-sssd-2-9 branch from 20cb0d2 to 4b4ce50 Compare April 15, 2026 11:27
@thalman
thalman merged commit ca66295 into SSSD:sssd-2-9 Apr 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only. Trivial A single reviewer is sufficient to review the Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants