mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-21 20:22:41 +09:00
The resolv.conf watcher needs one watch on one directory and a blocking read. gonotify v3.0.2 has a bug where it loops forever without advancing when a record's name length runs past the end of a read. It also never closes its fd on cancel and allocates 32 KB per Read. Use x/sys/unix directly, return an error on a malformed record, and stop when the kernel removes the watch. Fixes #16576 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Change-Id: If2bc5e94f8aab2922ee9e07b3c2b75a76f4f9236
11 lines
300 B
JSON
11 lines
300 B
JSON
{
|
|
"toolchain": {
|
|
"rev": "1635316a95598e9fe1bff7267604daa94aa1c8ec",
|
|
"sri": "sha256-Up4oMG6TVLQkV9inAYF3uYbxu+bMHeU7q9BLcXIllow="
|
|
},
|
|
"vendor": {
|
|
"goModSum": "sha256-tp8fiukPKErrTuxmaT8TqSiJqSR6BjntVSnWnBWW7RQ=",
|
|
"sri": "sha256-ZcegeCjeDDLaX7adwdoxndOjukb4H+JNKHx0xGCWXiQ="
|
|
}
|
|
}
|