HomeClusterLabs Projects

API: libcrmcommon: Deprecate pcmk_daemon_user()
97d7e46c34d6Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

API: libcrmcommon: Deprecate pcmk_daemon_user()

We don't need to offer a way to get a user's UID and GID as part of the
public API.

CRM_DAEMON_USER is available via crm_config.h. External callers can use
standard system utilities like getpwnam() to get the UID and GID if
necessary.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 24 2025, 4:50 AM
Parents
rP9dbaaad5c719: Refactor: libcrmcommon: New pcmk__daemon_user()
Branches
Unknown
Tags
Unknown

Event Timeline