Lines Matching refs:child
49 # Iterate over child processes and try to identify them
51 local child cmd foundzygote plugin seccomp type
53 for child in $(ps h --format pid --ppid $1); do
54 cmd="$(xargs -0 </proc/$child/cmdline|sed 's/ -/\n-/g')" 2>/dev/null
58 echo "Process $child is part of the browser"
59 identify "$child"
62 echo "Process $child is an extension"
68 echo "Process $child is a \"$plugin\" plugin"
69 identify "$child"
72 # The seccomp sandbox has exactly one child process that has no other
74 seccomp="$(ps h --format pid --ppid $child|xargs)"
75 if [ -d /proc/$child/cwd/. ]; then
80 echo "Process $child is a sandboxed $type (seccomp helper:" \
83 echo "Process $child is a $type"
84 identify "$child"
88 echo "Process $child is a setuid sandboxed $type (seccomp" \
91 echo "Process $child is a $type; setuid sandbox is active"
92 identify "$child"
98 echo "Process $child is the zygote"
99 identify "$child"
102 echo "Process $child is of unknown type \"$type\""
103 identify "$child"