Bug Exists in the ES_EVENT_TYPE_AUTH_UNLINK Event of System Extensions

System Version: 26.1

Device: M1 Mac Mini

Steps to Reproduce:

  1. Create a UNIX socket file at /tmp/a.sock
  2. Execute the command: ln /tmp/a.sock /tmp/b.sock
  3. Execute the command: rm /tmp/b.sock

Bug Description:

At this point, a bug occurs in the ES_EVENT_TYPE_AUTH_UNLINK event of the system extension. The value returned for message->event.unlink.target->path is /tmp/a.sock, while it is expected to be /tmp/b.sock

Reproducibility: 100%

Bug Exists in the ES_EVENT_TYPE_AUTH_UNLINK Event of System Extensions
 
 
Q