On Tue, 8 Jan 2019 at 00:25, David Miller wrote:
>
> From: Taehee Yoo
> Date: Mon, 7 Jan 2019 21:10:14 +0900
>
> > @@ -679,6 +688,29 @@ static int proc_cap_handler(struct ctl_table *table,
> > int write,
> > return 0;
> > }
> >
> > +void exit_umh(struct task_struct *tsk)
> > +{
> > +
From: Taehee Yoo
Date: Mon, 7 Jan 2019 21:10:14 +0900
> @@ -679,6 +688,29 @@ static int proc_cap_handler(struct ctl_table *table, int
> write,
> return 0;
> }
>
> +void exit_umh(struct task_struct *tsk)
> +{
> + struct umh_info *info;
> + pid_t pid = tsk->pid;
> +
> + if (!
A UMH process which is created by the fork_usermode_blob() such as
bpfilter needs to release members of the umh_info when process is
terminated.
But the do_exit() does not release members of the umh_info. hence module
which uses UMH needs own code to detect whether UMH process is
terminated or not.
3 matches
Mail list logo