From: Wang Kai <morgan.wang@huawei.com>
To: Zefan Li <lizefan@huawei.com>
Cc: <gregkh@linuxfoundation.org>, <viro@zeniv.linux.org.uk>,
<stable@vger.kernel.org>
Subject: Re: [PATCH] get rid of s_files and files_lock
Date: Thu, 30 Apr 2015 20:24:28 +0800 [thread overview]
Message-ID: <55421EFC.4020402@huawei.com> (raw)
In-Reply-To: <5541B444.1000303@huawei.com>
On 2015/4/30 12:49, Zefan Li wrote:
> On 2015/4/30 12:39, Wang Kai wrote:
>> On 2015/4/30 11:24, Zefan Li wrote:
>>> On 2015/4/29 19:00, Wang Kai wrote:
>>>> From: Al Viro <viro@zeniv.linux.org.uk>
>>>>
>>>> commit eee5cc2702929fd41cce28058dc6d6717f723f87 upstream.
>>>>
>>>> The only thing we need it for is alt-sysrq-r (emergency remount r/o)
>>>> and these days we can do just as well without going through the
>>>> list of files.
>>>>
>>>> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
>>>> [wangkai: backport to 3.10
>>>> - address CVE-2014-8172
>>>> - adjust context
>>>> - leave fu.fu_list as still used in 3.10]
>>>
>>> This doesn't sound right to me. We're removing operations on fu_list like
>>> init/add/del, so how can it still be used?
>>
>> Thanks for review, Zefan.
>>
>> The fix commit eee5cc2702 comes after 4f5e65a1cc90, which replace
>> fu_list with fu_llist for avoiding lock.
>> So, if we don't backport 4f5e65a1cc90, we should leave fu_list there.
>>
>> Or, should we backport 4f5e65a1cc90 too?
>
> Not necessary, but is better. my 2 cents.
OK, I will send a v2 soon.
>
>> IMO, as it's NOT bugfix, and just backport this one will NOT make
>> work easier(cherry-picked), so looks unnecessary.
>>
>> Another question, this bugfix will change kernel's header files(API),
>> how LTS handle with this, OK with that?
>>
>
> Documentation/stable_api_nonsense.txt
>
>
> .
>
prev parent reply other threads:[~2015-04-30 12:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 11:00 [PATCH][request stable 3.10 inclusion] CVE-2014-8172 Wang Kai
2015-04-29 11:00 ` [PATCH] get rid of s_files and files_lock Wang Kai
2015-04-30 3:24 ` Zefan Li
2015-04-30 4:39 ` Wang Kai
2015-04-30 4:49 ` Zefan Li
2015-04-30 12:24 ` Wang Kai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55421EFC.4020402@huawei.com \
--to=morgan.wang@huawei.com \
--cc=gregkh@linuxfoundation.org \
--cc=lizefan@huawei.com \
--cc=stable@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.