[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#289974: marked as done (kernel-source-2.6.10: kernel compilation fails with selinux without ipv6 : patch)



Your message dated Sun, 7 Aug 2005 13:46:53 +0200
with message-id <20050807114653.GL1807@baikonur.stro.at>
and subject line kernel-source-2.6.10: kernel compilation fails with selinux without ipv6 : patch
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Jan 2005 06:50:22 +0000
>From davidc@debian.org Tue Jan 11 22:50:22 2005
Return-path: <davidc@debian.org>
Received: from rwcrmhc12.comcast.net [216.148.227.85] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CocKk-0003a1-00; Tue, 11 Jan 2005 22:50:22 -0800
Received: from zona.someotherplace.org (pcp0010755515pcs.howard01.md.comcast.net[69.243.110.85])
          by comcast.net (rwcrmhc12) with ESMTP
          id <2005011206495101400ggafpe>; Wed, 12 Jan 2005 06:49:51 +0000
Received: by zona.someotherplace.org (Postfix, from userid 1001)
	id 68DA47D044; Wed, 12 Jan 2005 01:49:50 -0500 (EST)
Content-Type: multipart/mixed; boundary="===============1183575809=="
MIME-Version: 1.0
From: David Coe <davidc@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-source-2.6.10: kernel compilation fails with selinux without ipv6 :
 patch
X-Mailer: reportbug 3.5
Date: Wed, 12 Jan 2005 01:49:49 -0500
Message-Id: <20050112064950.68DA47D044@zona.someotherplace.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1183575809==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: kernel-source-2.6.10
Version: 2.6.10-3
Severity: normal
Tags: patch


http://www.kernel.org/pub/linux/kernel/v2.6/testing/cset/cset-akpm@osdl.org%5Btorvalds%5D%7CChangeSet%7C20050102174642%7C47485.txt

(also attached) briefly describes and fixes the problem. 
"It works for me."  (Well, it compiles now, at least.)

Thanks.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (600, 'unstable'), (300, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9zona-06022se
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-source-2.6.10 depends on:
ii  binutils                      2.15-5     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-3    high-quality block-sorting file co
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 

-- no debconf information

--===============1183575809==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="cset-akpm@osdl.org[torvalds]|ChangeSet|20050102174642|47485.txt"

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/01/02 09:46:42-08:00 akpm@osdl.org 
#   [PATCH] fix inet6_sk for non IPV6 builds again
#   
#   The recent ipv6 "fix" broke the build:
#   
#   security/selinux/avc.c: In function `avc_audit':
#   security/selinux/avc.c:581: warning: implicit declaration of function `inet6_sk'
#   security/selinux/avc.c:581: warning: initialization makes pointer from integer without a cast
#   
#   Signed-off-by: Andrew Morton <akpm@osdl.org>
#   Signed-off-by: Linus Torvalds <torvalds@osdl.org>
# 
# include/linux/ipv6.h
#   2005/01/02 01:37:34-08:00 akpm@osdl.org +11 -0
#   fix inet6_sk for non IPV6 builds again
# 
diff -Nru a/include/linux/ipv6.h b/include/linux/ipv6.h
--- a/include/linux/ipv6.h	2005-01-02 10:13:56 -08:00
+++ b/include/linux/ipv6.h	2005-01-02 10:13:56 -08:00
@@ -289,6 +289,17 @@
 #else
 #define __ipv6_only_sock(sk)	0
 #define ipv6_only_sock(sk)	0
+
+static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk)
+{
+	return NULL;
+}
+
+static inline struct raw6_opt * raw6_sk(const struct sock *__sk)
+{
+	return NULL;
+}
+
 #endif
 
 #endif

--===============1183575809==--

---------------------------------------
Received: (at 289974-done) by bugs.debian.org; 7 Aug 2005 12:11:01 +0000
>From max@baikonur.stro.at Sun Aug 07 05:11:00 2005
Return-path: <max@baikonur.stro.at>
Received: from baikonur.stro.at [213.239.196.228] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E1jzY-0003FD-00; Sun, 07 Aug 2005 05:11:00 -0700
Received: by baikonur.stro.at (Postfix, from userid 1001)
	id 9BCD75C010; Sun,  7 Aug 2005 13:46:53 +0200 (CEST)
Date: Sun, 7 Aug 2005 13:46:53 +0200
From: Maximilian Attems <debian@sternwelten.at>
To: 289974-done@bugs.debian.org
Subject: Re: kernel-source-2.6.10: kernel compilation fails with selinux without ipv6 : patch
Message-ID: <20050807114653.GL1807@baikonur.stro.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by Amavis (ClamAV) at stro.at
Delivered-To: 289974-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

this patch seems to have gone upstream.
please reopen if problem exists in linux image 2.6.12



Reply to: