~apport-hackers/apport/main

Viewing all changes in revision 3911.

  • Committer: Simon Chopin
  • Author(s): Benjamin Drung
  • Date: 2023-04-28 07:57:52 UTC
  • Revision ID: git-v1:d9d6f210c8a2476d4fd41fdf14fc89eed5af86e3
refactor(apport): Drop using proc_pid_fd from is_same_ns

Instead of using `proc_pid_fd` in `is_same_ns()` just specify the path
to the cgroup file. The other code in the function does that already.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: