attach: initialize init_pid field to -ESRCH

parent 9680e7b0
......@@ -151,6 +151,7 @@ static struct attach_context *alloc_attach_context(void)
ctx->dfd_self_pid = -EBADF;
ctx->dfd_init_pid = -EBADF;
ctx->init_gid = -ESRCH;
ctx->init_uid = 0;
ctx->init_gid = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment