mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-28 22:19:12 -04:00
An NSS uid like "00" passed the string != "0" check but parses to 0 in the incubator, so a session could bypass non-root checks and run as root. Compare the uid numerically instead; non-numeric uids keep the previous behavior. Updates tailscale/corp#50380 Signed-off-by: James Tucker <james@tailscale.com>