login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
1
Re: Btrfs v0.14 Released
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Chris Mason <chris.mason@...>
To: Tim Gardner <tim.gardner@...>
Cc: <jeffschroeder@...>, <linux-fsdevel@...>, <kernel-team@...>, <linux-kernel@...>, <linux-btrfs@...>
Subject:
Re: Btrfs v0.14 Released
Date: Thursday, May 1, 2008 - 3:17 pm
On Thursday 01 May 2008, Tim Gardner wrote: [ btrfs oops on ubuntu ]
quoted text
> >> This is because ubuntu kernels ship with apparmor, you'll need this > >> patch: > >> > >> If there is a #ifdef IM_A_UBUNTU_KERNEL I can use, I'll do it. Jeff > >> Mahoney has a similar patch for SUSE that I've been meaning to merge, > >> but I wanted to lookup some way to check for ubuntu as well. > >> > >> -chris > >> > >> diff -r e7da2489b19b file.c > >> --- a/file.c Wed Apr 30 13:59:35 2008 -0400 > >> +++ b/file.c Thu May 01 12:25:11 2008 -0400 > >> @@ -852,7 +852,7 @@ static ssize_t btrfs_file_write(struct f > >> goto out_nolock; > >> if (count == 0) > >> goto out_nolock; > >> - err = remove_suid(fdentry(file)); > >> + err = remove_suid(&file->f_path); > >> if (err) > >> goto out_nolock; > >> file_update_time(file); > > Couldn't you #ifdef based on CONFIG_SECURITY_APPARMOR ? This ought to > work for Hardy. However the next development kernel (Intrepid) does not > have the APPARMOR patches, so just knowing that its an UBUNTU kernel is > not specific enough.
I've been assuming the apparmor patches change remove_suid even when they are not enabled in the config. -chris --
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:
Btrfs v0.14 Released
, Chris Mason
, (Tue Apr 29, 4:01 pm)
Re: Btrfs v0.14 Released
, Chris Mason
, (Thu May 1, 12:04 pm)
Re: Btrfs v0.14 Released
, Jeff Schroeder
, (Thu May 1, 12:18 pm)
Re: Btrfs v0.14 Released
, Chris Mason
, (Thu May 1, 12:26 pm)
Re: Btrfs v0.14 Released
, Jeff Schroeder
, (Thu May 1, 12:39 pm)
Re: Btrfs v0.14 Released
, Tim Gardner
, (Thu May 1, 3:06 pm)
Re: Btrfs v0.14 Released
, Chris Mason
, (Thu May 1, 3:17 pm)
Re: Btrfs v0.14 Released
, Tim Gardner
, (Thu May 1, 3:36 pm)
Re: Btrfs v0.14 Released
, Jeff Mahoney
, (Thu May 1, 4:10 pm)
Re: Btrfs v0.14 Released
, Jan Engelhardt
, (Fri May 2, 2:40 am)
Re: Btrfs v0.14 Released
, Chris Mason
, (Fri May 2, 8:52 am)
Re: Btrfs v0.14 Released
, Jeff Schroeder
, (Fri May 2, 10:15 am)
Re: Btrfs v0.14 Released
, Chris Mason
, (Fri May 2, 10:34 am)
Re: Btrfs v0.14 Released
, Tim Gardner
, (Fri May 2, 12:06 pm)
Re: Btrfs v0.14 Released
, Chris Mason
, (Fri May 2, 4:58 pm)
Re: Btrfs v0.14 Released
, Matthew Wilcox
, (Fri May 2, 10:38 am)
Re: Btrfs v0.14 Released
, Jan Engelhardt
, (Fri May 2, 11:07 am)
Re: Btrfs v0.14 Released
, Chris Mason
, (Fri May 2, 10:52 am)
Re: Btrfs v0.14 Released
, Jan Engelhardt
, (Fri May 2, 10:31 am)
Re: Btrfs v0.14 Released
, Jan Engelhardt
, (Fri May 2, 10:10 am)
Re: Btrfs v0.14 Released
, Jan Engelhardt
, (Fri May 2, 9:30 am)
Re: Btrfs v0.14 Released
, Kees Cook
, (Thu May 1, 3:51 pm)
Re: Btrfs v0.14 Released
, Jeff Mahoney
, (Thu May 1, 3:27 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
H. Peter Anvin
Re: [RFC 00/15] x86_64: Optimize percpu accesses
Linus Torvalds
Linux 2.6.27-rc5
Ingo Molnar
[announce] "kill the Big Kernel Lock (BKL)" tree
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
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)
Ben Hutchings
Re: [GIT]: Networking
Jarek Poplawski
[PATCH iproute2] Re: HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
648 guests
online.
Online users
christianbr1
sallyirons99
mrsleepyhead
Syndicate