Re: dm ioctl: Access user-land memory through safe functions.

2016-01-06 Thread Mike Snitzer
On Wed, Jan 06 2016 at 8:22pm -0500, Scotty Bauer wrote: > > > On 01/05/2016 02:13 PM, Mike Snitzer wrote: > > On Tue, Jan 05 2016 at 3:16pm -0500, > > Mike Snitzer wrote: > > > >> On Tue, Dec 08 2015 at 1:26pm -0500, > >> Scotty Bauer wrote: > >> > >>> Friendly ping, is anyone

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-06 Thread Scotty Bauer
On 01/05/2016 02:13 PM, Mike Snitzer wrote: > On Tue, Jan 05 2016 at 3:16pm -0500, > Mike Snitzer wrote: > >> On Tue, Dec 08 2015 at 1:26pm -0500, >> Scotty Bauer wrote: >> >>> Friendly ping, is anyone interested in this? >> >> The passed @user argument is flagged via __user so it can be >>

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-06 Thread Mike Snitzer
On Wed, Jan 06 2016 at 8:22pm -0500, Scotty Bauer wrote: > > > On 01/05/2016 02:13 PM, Mike Snitzer wrote: > > On Tue, Jan 05 2016 at 3:16pm -0500, > > Mike Snitzer wrote: > > > >> On Tue, Dec 08 2015 at 1:26pm -0500, > >> Scotty Bauer

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-06 Thread Scotty Bauer
On 01/05/2016 02:13 PM, Mike Snitzer wrote: > On Tue, Jan 05 2016 at 3:16pm -0500, > Mike Snitzer wrote: > >> On Tue, Dec 08 2015 at 1:26pm -0500, >> Scotty Bauer wrote: >> >>> Friendly ping, is anyone interested in this? >> >> The passed @user

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-05 Thread Mike Snitzer
On Tue, Jan 05 2016 at 3:16pm -0500, Mike Snitzer wrote: > On Tue, Dec 08 2015 at 1:26pm -0500, > Scotty Bauer wrote: > > > Friendly ping, is anyone interested in this? > > The passed @user argument is flagged via __user so it can be > deferenced directly. It does look like directly

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-05 Thread Mike Snitzer
gt; > From: Scotty Bauer > > Date: Tue, 1 Dec 2015 10:52:46 -0700 > > Subject: [PATCH] dm ioctl: Access user-land memory through safe functions. > > > > This patch fixes a user-land dereference. Now we use > > the safe copy_from_user to access the memory. >

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-05 Thread Mike Snitzer
Mon Sep 17 00:00:00 2001 > > From: Scotty Bauer <sba...@eng.utah.edu> > > Date: Tue, 1 Dec 2015 10:52:46 -0700 > > Subject: [PATCH] dm ioctl: Access user-land memory through safe functions. > > > > This patch fixes a user-land dereference. Now we use > >

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-05 Thread Mike Snitzer
On Tue, Jan 05 2016 at 3:16pm -0500, Mike Snitzer wrote: > On Tue, Dec 08 2015 at 1:26pm -0500, > Scotty Bauer wrote: > > > Friendly ping, is anyone interested in this? > > The passed @user argument is flagged via __user so it can be > deferenced

Re: [PATCH] dm ioctl: Access user-land memory through safe functions.

2015-12-08 Thread Scotty Bauer
On 12/01/2015 11:11 AM, Scotty wrote: > > 0001-dm-ioctl-Access-user-land-memory-through-safe-functi.patch > > > From b26adf880eba03ac6f2b1dd87426bb96fd2a0282 Mon Sep 17 00:00:00 2001 > From: Scotty Bauer > Date: Tue, 1 Dec 2015 10:52:46 -0700 > Subject: [PATCH] dm

Re: [PATCH] dm ioctl: Access user-land memory through safe functions.

2015-12-08 Thread Scotty Bauer
> Subject: [PATCH] dm ioctl: Access user-land memory through safe functions. > > This patch fixes a user-land dereference. Now we use > the safe copy_from_user to access the memory. > > Signed-off-by: Scotty Bauer <sba...@eng.utah.edu> > --- > drivers/md/dm-ioctl.c | 8

[PATCH] dm ioctl: Access user-land memory through safe functions.

2015-12-01 Thread Scotty
From b26adf880eba03ac6f2b1dd87426bb96fd2a0282 Mon Sep 17 00:00:00 2001 From: Scotty Bauer Date: Tue, 1 Dec 2015 10:52:46 -0700 Subject: [PATCH] dm ioctl: Access user-land memory through safe functions. This patch fixes a user-land dereference. Now we use the safe copy_from_user to access

[PATCH] dm ioctl: Access user-land memory through safe functions.

2015-12-01 Thread Scotty
From b26adf880eba03ac6f2b1dd87426bb96fd2a0282 Mon Sep 17 00:00:00 2001 From: Scotty Bauer <sba...@eng.utah.edu> Date: Tue, 1 Dec 2015 10:52:46 -0700 Subject: [PATCH] dm ioctl: Access user-land memory through safe functions. This patch fixes a user-land dereference. Now we use th