Skip to content

agnocast_kmod: pid-keyed lookups can resolve to the wrong process after pid reuse #1685

Open

Description

@Koichi98

The kmod identifies processes by pid, and state such as a publisher_info can outlive its exited process, so once the pid is reused by a new Agnocast process, pid-based lookups like agnocast_find_process_info() resolve to the wrong process. This affects every such lookup, and with #1677 it also makes set_publisher_shm_info() return -ENOENT on RECEIVE/TAKE, which exits the subscriber process. Related: #1610.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions