login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
15
Re: [patch] fuse: fix permission checking
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Harvey Harrison <harvey.harrison@...>
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <linux-kernel@...>, <stable@...>
Subject:
Re: [patch] fuse: fix permission checking
Date: Friday, February 15, 2008 - 4:35 pm
On Fri, 2008-02-15 at 11:23 +0100, Miklos Szeredi wrote:
quoted text
> This is for 2.6.25 and 2.6.24.y, but NOT for 2.6.23.y. > > Thanks, > Miklos > ---- > > From: Miklos Szeredi <mszeredi@suse.cz> > > I added a nasty local variable shadowing bug to fuse in 2.6.24, with > the result, that the 'default_permissions' mount option is basically > ignored. > > How did this happen? > > - old err declaration in inner scope > - new err getting declared in outer scope > - 'return err' from inner scope getting removed > - old declaration not being noticed > > -Wshadow would have saved us, but it doesn't seem practical for > the kernel :( > > More testing would have also saved us :((
sparse would have saved you too. Harvey --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[patch] fuse: fix permission checking
, Miklos Szeredi
, (Fri Feb 15, 6:23 am)
Re: [stable] [patch] fuse: fix permission checking
, Greg KH
, (Fri Feb 22, 7:19 pm)
Re: [stable] [patch] fuse: fix permission checking
, Miklos Szeredi
, (Mon Feb 25, 6:45 am)
Re: [stable] [patch] fuse: fix permission checking
, Miklos Szeredi
, (Sat Feb 23, 5:38 am)
Re: [stable] [patch] fuse: fix permission checking
, Greg KH
, (Sat Feb 23, 3:08 pm)
Re: [stable] [patch] fuse: fix permission checking
, Andrew Morton
, (Sat Feb 23, 3:22 pm)
Re: [stable] [patch] fuse: fix permission checking
, Miklos Szeredi
, (Sat Feb 23, 3:40 pm)
Re: [patch] fuse: fix permission checking
, Harvey Harrison
, (Fri Feb 15, 4:35 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jan Engelhardt
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
683 guests
online.
Online users
psicologoscia
vaxerri
Syndicate