mailto:gre...@linuxfoundation.org]
> >>> Sent: 2015年6月10日 5:12
> >>> To: Lisa Du
> >>> Cc: linux-kernel@vger.kernel.org
> >>> Subject: Re: A race condition between debugfs and seq_file operation
> >>>
> >>> On Mon, Jun 08, 20
t;> To: Lisa Du
>>> Cc: linux-kernel@vger.kernel.org
>>> Subject: Re: A race condition between debugfs and seq_file operation
>>>
>>> On Mon, Jun 08, 2015 at 04:28:10AM +, Lisa Du wrote:
>>>> Hi, All
>>>> Recently I met one rac
> -Original Message-
> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org]
> Sent: 2015年6月10日 13:20
> To: Lisa Du
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: A race condition between debugfs and seq_file operation
>
> On Wed, Jun 10, 2015 a
On Wed, Jun 10, 2015 at 05:00:03AM +, Lisa Du wrote:
> > -Original Message-
> > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org]
> > Sent: 2015年6月10日 5:12
> > To: Lisa Du
> > Cc: linux-kernel@vger.kernel.org
> > Subject: Re:
> -Original Message-
> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org]
> Sent: 2015年6月10日 5:12
> To: Lisa Du
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: A race condition between debugfs and seq_file operation
>
> On Mon, Jun 08, 2015 at 0
On Mon, Jun 08, 2015 at 04:28:10AM +, Lisa Du wrote:
> Hi, All
> Recently I met one race condition related to debugfs.
>
> Take an example from ion.c in kernel3.14:
> static int ion_debug_client_open(struct inode *inode, struct file *file)
> {
> return single_open(file, ion_debug_client_
Hi, All
Recently I met one race condition related to debugfs.
Take an example from ion.c in kernel3.14:
static int ion_debug_client_open(struct inode *inode, struct file *file)
{
return single_open(file, ion_debug_client_show, inode->i_private);
}
static const struct file_operations debug
7 matches
Mail list logo