[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87k2x5tsoh.fsf@x220.int.ebiederm.org>
Date: Tue, 21 Apr 2015 10:19:42 -0500
From: ebiederm@...ssion.com (Eric W. Biederman)
To: "Wang\, Xiaoming" <xiaoming.wang@...el.com>
Cc: Tejun Heo <tj@...nel.org>,
"akpm\@linux-foundation.org" <akpm@...ux-foundation.org>,
"oleg\@redhat.com" <oleg@...hat.com>,
"andriy.shevchenko\@linux.intel.com"
<andriy.shevchenko@...ux.intel.com>,
"linux\@rasmusvillemoes.dk" <linux@...musvillemoes.dk>,
"eparis\@redhat.com" <eparis@...hat.com>,
"chenhanxiao\@cn.fujitsu.com" <chenhanxiao@...fujitsu.com>,
"tglx\@linutronix.de" <tglx@...utronix.de>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
"Schallberger\, Timothy M" <timothy.m.schallberger@...el.com>,
"Zhang\, Dongxing" <dongxing.zhang@...el.com>
Subject: Re: [PATCH] proc: move the adding option Ngid to the end of proc/PID/status
"Wang, Xiaoming" <xiaoming.wang@...el.com> writes:
> Dear tejun
>
>> -----Original Message-----
>> From: htejun@...il.com [mailto:htejun@...il.com] On Behalf Of Tejun Heo
>> Sent: Friday, April 17, 2015 11:42 AM
>> To: Wang, Xiaoming
>> Cc: akpm@...ux-foundation.org; oleg@...hat.com;
>> andriy.shevchenko@...ux.intel.com; linux@...musvillemoes.dk;
>> ebiederm@...ssion.com; eparis@...hat.com; chenhanxiao@...fujitsu.com;
>> tglx@...utronix.de; linux-kernel@...r.kernel.org; Schallberger, Timothy M;
>> Zhang, Dongxing
>> Subject: Re: [PATCH] proc: move the adding option Ngid to the end of
>> proc/PID/status
>>
>> On Thu, Apr 16, 2015 at 11:37 PM, Wang, Xiaoming
>> <xiaoming.wang@...el.com> wrote:
>> >> git describe --contains says 3.13 and it's about 1.5 years ago.
>> >>
>> > Yes this kernel change is 1.5 years ago.
>> > As we known not all user update the kernel so frequently.
>> > They just use the stable one.
>> > We met this issue when update to 3.13 now.
>> > A lot of application failed to run which run well previously.
>> > Do you have any idea on this issue?
>>
>> Not really. It's a sucky situation. How many applications are we talking about? I
>> tried to find information on libsecuritysdk but couldn't find it anywhere.
>>
> This lib libsecuritysdk is included in application.
> Taobao, weibo, tmall, alipay, etc
> It refer to security .
*cough* snake oil *cough*
Buggy non-robust code that is sold as providing a security function
deeply disturbs me. In this case libsecuritysdk is clearly buggy. The
point of labels at the beginning of lines is so that order is irrelevant.
If this had been reported by someone who cares enough to test any time
during the 6 weeks of an rc series or even shortly after a stable
release we would have take this patch immediately. Because breaking
userspace is something we don't want to do, and it would have been clear
what the trade-offs are.
In this case Tejun is right. We need to weigh the risk of fixing one
application against the risk of breaking others. So far there has been
no analysis about the possibility what other software might be affected
by this change.
With respect to testing, linux is developed as a community and it is the
responsibility for everyone in the community to pitch in and do what
they can for the bits they care about.
As best as I can infer libsecuritysdk is doing it's best to ensure that
a debugger is not attached while the library is being run. The code
appears to be binary and proprietary. So the entire community of
developers can not go out and read the code and see what is going on.
This places a higher burden on those who develop and maintian
libsecuritysdk to test and to verify their software will work with
future versions of the linux kernel, and to more promptly bring issues
to our attention.
In this instance until due dilligence has been done to indicate that
making the change proposed will not result in another bug report in
another 1.5 years from now about a different piece of software I am
inclined to strongly suggest we do nothing.
Further is there any indication that even with this small change that
the applications that use libsecuritysdk will work on 4.1-rc1 when it
comes out in the next couple of days? Or even that those applications
work on 4.0?
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists