HomeFreeBSD

Fix implementation of task_pid_group_leader() in the LinuxKPI.

Description

Fix implementation of task_pid_group_leader() in the LinuxKPI.

In FreeBSD thread IDs and procedure IDs have distinct number
spaces. When asking for the group leader task ID in the LinuxKPI,
return the procedure ID and let this resolve to the first task in the
procedure having a valid LinuxKPI task structure pointer.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS316562: Implement proper support for memory map operations in the LinuxKPI,
Branches
Unknown
Tags
Unknown