8285915: failure_handler: gather the contents of /etc/hosts file

Reviewed-by: dfuchs, erikj
This commit is contained in:
Jaikiran Pai 2022-05-03 01:23:01 +00:00
parent 3420a1aa70
commit 45ca81ff5f
3 changed files with 13 additions and 3 deletions

View File

@ -77,7 +77,7 @@ environment=\
memory.vmstat.slabinfo memory.vmstat.disk \ memory.vmstat.slabinfo memory.vmstat.disk \
files \ files \
locks \ locks \
net.sockets net.statistics net.ifconfig \ net.sockets net.statistics net.ifconfig net.hostsfile \
screenshot screenshot
################################################################################ ################################################################################
users.current.app=id users.current.app=id
@ -124,6 +124,9 @@ net.statistics.args=-sv
net.ifconfig.app=ifconfig net.ifconfig.app=ifconfig
net.ifconfig.args=-a net.ifconfig.args=-a
net.hostsfile.app=cat
net.hostsfile.args=/etc/hosts
screenshot.app=bash screenshot.app=bash
screenshot.args=-c\0\ screenshot.args=-c\0\
echo '\ echo '\

View File

@ -83,7 +83,7 @@ environment=\
process.ps process.top \ process.ps process.top \
memory.vmstat \ memory.vmstat \
files \ files \
net.netstat.av net.netstat.aL net.netstat.m net.netstat.s net.ifconfig \ net.netstat.av net.netstat.aL net.netstat.m net.netstat.s net.ifconfig net.hostsfile \
scutil.nwi scutil.proxy \ scutil.nwi scutil.proxy \
screenshot screenshot
################################################################################ ################################################################################
@ -125,6 +125,9 @@ net.netstat.s.args=-s
net.ifconfig.app=ifconfig net.ifconfig.app=ifconfig
net.ifconfig.args=-a net.ifconfig.args=-a
net.hostsfile.app=cat
net.hostsfile.args=/etc/hosts
scutil.app=scutil scutil.app=scutil
scutil.nwi.args=--nwi scutil.nwi.args=--nwi
scutil.proxy.args=--proxy scutil.proxy.args=--proxy

View File

@ -72,7 +72,7 @@ environment=\
memory.free memory.vmstat.default memory.vmstat.statistics \ memory.free memory.vmstat.default memory.vmstat.statistics \
memory.vmstat.slabinfo memory.vmstat.disk \ memory.vmstat.slabinfo memory.vmstat.disk \
files \ files \
net.sockets net.statistics net.ipconfig \ net.sockets net.statistics net.ipconfig net.hostsfile \
screenshot screenshot
################################################################################ ################################################################################
users.current.app=id users.current.app=id
@ -121,6 +121,10 @@ net.statistics.args=-s -e
net.ipconfig.app=ipconfig net.ipconfig.app=ipconfig
net.ipconfig.args=/all net.ipconfig.args=/all
net.hostsfile.app=bash
net.hostsfile.args.delimiter=\0
net.hostsfile.args=-c\0cat $WINDIR/System32/drivers/etc/hosts
screenshot.app=bash screenshot.app=bash
screenshot.args=-c\0\ screenshot.args=-c\0\
echo '\ echo '\