* [PATCH] Apparamor: Fix the OOPS due to wrong header inclusion in file in Makefile(3.7.0-rc1 Kernel)
[not found] <201212171158.qBHBwYni003158@chaitanya-desktop>
@ 2012-12-17 12:12 ` Chaitanya
2012-12-17 12:47 ` John Johansen
0 siblings, 1 reply; 3+ messages in thread
From: Chaitanya @ 2012-12-17 12:12 UTC (permalink / raw)
To: John Johansen, Johannes Berg; +Cc: linux-wireless
Fix the OOPS in the apparmor security module
during the bootup.(oops points to strlen in audit_log_untrustedstring function)
Note: Actual fix lifted from Al-Viro.
Signed-off-by: Chaitanya T K <chaitanyatk@posedge.com>
---
security/apparmor/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile
index 7b3021c..5706b74 100644
--- a/security/apparmor/Makefile
+++ b/security/apparmor/Makefile
@@ -57,7 +57,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \
$(obj)/capability.o : $(obj)/capability_names.h
$(obj)/resource.o : $(obj)/rlim_names.h
-$(obj)/capability_names.h : $(srctree)/include/linux/capability.h \
+$(obj)/capability_names.h : $(srctree)/include/uapi/linux/capability.h \
$(src)/Makefile
$(call cmd,make-caps)
$(obj)/rlim_names.h : $(srctree)/include/uapi/asm-generic/resource.h \
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Apparamor: Fix the OOPS due to wrong header inclusion in file in Makefile(3.7.0-rc1 Kernel)
2012-12-17 12:12 ` [PATCH] Apparamor: Fix the OOPS due to wrong header inclusion in file in Makefile(3.7.0-rc1 Kernel) Chaitanya
@ 2012-12-17 12:47 ` John Johansen
2012-12-17 15:17 ` Krishna Chaitanya
0 siblings, 1 reply; 3+ messages in thread
From: John Johansen @ 2012-12-17 12:47 UTC (permalink / raw)
To: Chaitanya; +Cc: Johannes Berg, linux-wireless
On 12/17/2012 04:12 AM, Chaitanya wrote:
>
>
> Fix the OOPS in the apparmor security module
> during the bootup.(oops points to strlen in audit_log_untrustedstring function)
> Note: Actual fix lifted from Al-Viro.
>
> Signed-off-by: Chaitanya T K <chaitanyatk@posedge.com>
thanks for reporting, this patch was included in 3.7-rc2
see 43c422eda99b894f18d1cca17bcd2401efaf7bd0
> ---
> security/apparmor/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile
> index 7b3021c..5706b74 100644
> --- a/security/apparmor/Makefile
> +++ b/security/apparmor/Makefile
> @@ -57,7 +57,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \
>
> $(obj)/capability.o : $(obj)/capability_names.h
> $(obj)/resource.o : $(obj)/rlim_names.h
> -$(obj)/capability_names.h : $(srctree)/include/linux/capability.h \
> +$(obj)/capability_names.h : $(srctree)/include/uapi/linux/capability.h \
> $(src)/Makefile
> $(call cmd,make-caps)
> $(obj)/rlim_names.h : $(srctree)/include/uapi/asm-generic/resource.h \
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Apparamor: Fix the OOPS due to wrong header inclusion in file in Makefile(3.7.0-rc1 Kernel)
2012-12-17 12:47 ` John Johansen
@ 2012-12-17 15:17 ` Krishna Chaitanya
0 siblings, 0 replies; 3+ messages in thread
From: Krishna Chaitanya @ 2012-12-17 15:17 UTC (permalink / raw)
To: John Johansen; +Cc: Chaitanya, Johannes Berg, linux-wireless
ok. But it will be good if its in the mac80211-next branch, its really
annoying :-)
On Mon, Dec 17, 2012 at 6:17 PM, John Johansen
<john.johansen@canonical.com> wrote:
> On 12/17/2012 04:12 AM, Chaitanya wrote:
>>
>>
>> Fix the OOPS in the apparmor security module
>> during the bootup.(oops points to strlen in audit_log_untrustedstring function)
>> Note: Actual fix lifted from Al-Viro.
>>
>> Signed-off-by: Chaitanya T K <chaitanyatk@posedge.com>
>
> thanks for reporting, this patch was included in 3.7-rc2
> see 43c422eda99b894f18d1cca17bcd2401efaf7bd0
>
>
>> ---
>> security/apparmor/Makefile | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile
>> index 7b3021c..5706b74 100644
>> --- a/security/apparmor/Makefile
>> +++ b/security/apparmor/Makefile
>> @@ -57,7 +57,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \
>>
>> $(obj)/capability.o : $(obj)/capability_names.h
>> $(obj)/resource.o : $(obj)/rlim_names.h
>> -$(obj)/capability_names.h : $(srctree)/include/linux/capability.h \
>> +$(obj)/capability_names.h : $(srctree)/include/uapi/linux/capability.h \
>> $(src)/Makefile
>> $(call cmd,make-caps)
>> $(obj)/rlim_names.h : $(srctree)/include/uapi/asm-generic/resource.h \
>>
>>
>>
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-17 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201212171158.qBHBwYni003158@chaitanya-desktop>
2012-12-17 12:12 ` [PATCH] Apparamor: Fix the OOPS due to wrong header inclusion in file in Makefile(3.7.0-rc1 Kernel) Chaitanya
2012-12-17 12:47 ` John Johansen
2012-12-17 15:17 ` Krishna Chaitanya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).