HomeClusterLabs Projects

Refactor: libcrmcommon: Remove guards in panic_local_nonroot.
666464c77ebbUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: Remove guards in panic_local_nonroot.

pcmk__procfs_pid_of will always be compiled, even if procfs is not
supported. In that case, it will just return 0. panic_local_nonroot is
already set up to properly handle a ppid of 0, so there's no need to add
guards for procfs.

Ref T385

Details

Provenance
clumensAuthored on Fri, Nov 15, 1:26 PM
Parents
rPc2aa4579c772: Refactor: libcrmcommon: Move opening /proc/self/fd into a function.
Branches
Unknown
Tags
Unknown

Event Timeline