You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Andrew Dunham 53a5d00fff net/dns: ensure /etc/resolv.conf is world-readable even with a umask
Previously, if we had a umask set (e.g. 0027) that prevented creating a
world-readable file, /etc/resolv.conf would be created without the o+r
bit and thus other users may be unable to resolve DNS.

Since a umask only applies to file creation, chmod the file after
creation and before renaming it to ensure that it has the appropriate
permissions.

Updates #12609

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I2a05d64f4f3a8ee8683a70be17a7da0e70933137
3 months ago
..
art
connstats
dns net/dns: ensure /etc/resolv.conf is world-readable even with a umask 3 months ago
dnscache net/dnscache: use parent context to perform lookup 4 months ago
dnsfallback
flowtrack net/flowtrack: fix, test String method 3 months ago
ipset net/ipset: skip the loop over Prefixes when there's only one 3 months ago
ktimeout
memnet
netaddr
netcheck
neterror
netkernelconf
netknob
netmon
netns net/netns: add Windows support for bind-to-interface-by-route 3 months ago
netstat
netutil
packet net/flowtrack: optimize Tuple type for use as map key 3 months ago
ping
portmapper
proxymux
routetable
socks5
sockstats
speedtest all: update copyright and license headers 2 years ago
stun derp/xdp,cmd/xdpderper: initial skeleton (#12390) 4 months ago
stunserver
tcpinfo
tlsdial
tsaddr net/ipset, wgengine/filter/filtertype: add split-out packages 4 months ago
tsdial
tshttpproxy
tstun wgengine/filter: support FilterRules matching on srcIP node caps [capver 100] 3 months ago
wsconn