summaryrefslogtreecommitdiffhomepage
path: root/pkg/control
diff options
context:
space:
mode:
authorchris.zn <chris.zn@antfin.com>2019-03-28 18:04:32 -0700
committerShentubot <shentubot@google.com>2019-03-28 18:05:42 -0700
commit31c2236e97db6a57ca9b6ab3771876cd2231fd85 (patch)
tree319bf2f03b8881211cc23cf725e5110bd4776c71 /pkg/control
parent99195b0e166536dd81c7096c0dc0f2cc527f1553 (diff)
set task's name when fork
When fork a child process, the name filed of TaskContext is not set. It results in that when we cat /proc/{pid}/status, the name filed is null. Like this: Name: State: S (sleeping) Tgid: 28 Pid: 28 PPid: 26 TracerPid: 0 FDSize: 8 VmSize: 89712 kB VmRSS: 6648 kB Threads: 1 CapInh: 00000000a93d35fb CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 00000000a93d35fb Seccomp: 0 Change-Id: I5d469098c37cedd19da16b7ffab2e546a28a321e PiperOrigin-RevId: 240893304
Diffstat (limited to 'pkg/control')
0 files changed, 0 insertions, 0 deletions