public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public•gmane.org>
To: Al Viro <viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public•gmane.org>
Cc: Alexander Beregalov
	<a.beregalov-Re5JQEeQqe8AvxtiuMwx3w@public•gmane.org>,
	Stephen Rothwell <sfr-3FnU+UHB4dNDw9hX6IcOSA@public•gmane.org>,
	linux-next-u79uwXL29TY76Z2rM5mHXA@public•gmane.org,
	LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
	Ingo Molnar <mingo-X9Un+BFzKDI@public•gmane.org>,
	Kernel Testers List
	<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
	Stephen Smalley <sds-+05T5uksL2qpZYMLLGbcSA@public•gmane.org>,
	James Morris <jmorris-gx6/JNMH7DfYtjvyW6yDsg@public•gmane.org>,
	Eric Paris <eparis-FjpueFixGhCM4zKIHC2jIg@public•gmane.org>
Subject: Re: linux-next: Tree for July 17: early crash on x86-64
Date: Sat, 19 Jul 2008 20:42:05 +0200	[thread overview]
Message-ID: <200807192042.06988.rjw@sisk.pl> (raw)
In-Reply-To: <20080719035231.GU28946-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org>

On Saturday, 19 of July 2008, Al Viro wrote:
> On Fri, Jul 18, 2008 at 05:52:23PM +0400, Alexander Beregalov wrote:
> > 2008/7/18 Rafael J. Wysocki <rjw-KKrjLPT3xs0@public•gmane.org>:
> > > This one crashes all of my x86-64 test boxes early during boot.
> > The same problem with next-20080718.
> > Unfortunatelly I do not have serial console on that host.
> 
> vfs-next/net-next conflict; apply the patch below on top of the merge.

That helped, thanks.

But next it ran into the BUG_ON() in line 883 of security/selinux/avc.c .
Disabling selinux made the kernel boot, finally.


> diff --git a/net/sysctl_net.c b/net/sysctl_net.c
> index b91a5de..2240a9e 100644
> --- a/net/sysctl_net.c
> +++ b/net/sysctl_net.c
> @@ -44,13 +44,6 @@ static struct ctl_table_root net_sysctl_root = {
>  	.lookup = net_ctl_header_lookup,
>  };
>  
> -static LIST_HEAD(net_sysctl_ro_tables);
> -static struct list_head *net_ctl_ro_header_lookup(struct ctl_table_root *root,
> -		struct nsproxy *namespaces)
> -{
> -	return &net_sysctl_ro_tables;
> -}
> -
>  static int net_ctl_ro_header_perms(struct ctl_table_root *root,
>  		struct nsproxy *namespaces, struct ctl_table *table)
>  {
> @@ -61,7 +54,6 @@ static int net_ctl_ro_header_perms(struct ctl_table_root *root,
>  }
>  
>  static struct ctl_table_root net_sysctl_ro_root = {
> -	.lookup = net_ctl_ro_header_lookup,
>  	.permissions = net_ctl_ro_header_perms,
>  };
>  
> @@ -89,6 +81,7 @@ static __init int sysctl_init(void)
>  	if (ret)
>  		goto out;
>  	register_sysctl_root(&net_sysctl_root);
> +	setup_sysctl_set(&net_sysctl_ro_root.default_set, NULL, NULL);
>  	register_sysctl_root(&net_sysctl_ro_root);
>  out:
>  	return ret;
> 
> 

  parent reply	other threads:[~2008-07-19 18:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17 15:28 linux-next: Tree for July 17 Stephen Rothwell
2008-07-17 22:21 ` linux-next: Tree for July 17 (sysctl/syscall) Randy Dunlap
2008-07-17 22:34 ` linux-next: Tree for July 17 (net_namespace) Randy Dunlap
2008-07-17 23:06 ` linux-next: Tree for July 17: early crash on x86-64 Rafael J. Wysocki
2008-07-18 13:52   ` Alexander Beregalov
2008-07-19  3:52     ` Al Viro
     [not found]       ` <20080719035231.GU28946-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org>
2008-07-19 18:42         ` Rafael J. Wysocki [this message]
2008-07-19 19:54           ` James Morris
     [not found]             ` <Xine.LNX.4.64.0807200553380.22632-RC8Ws/H8zzudju81dFSl6rpzq4S04n8Q@public.gmane.org>
2008-07-20  9:42               ` BUG at security/selinux/avc.c:883 (was: Re: linux-next: Tree for July 17: early crash on x86-64) Thomas Meyer
2008-07-20 12:15                 ` Al Viro
2008-07-28 17:32                   ` Stephen Smalley
     [not found]                     ` <1217266358.20373.54.camel-/ugcdrsPCSfIm9DtXLC9OUVfdvkotuLY+aIohriVLy8@public.gmane.org>
2008-07-28 21:38                       ` James Morris
     [not found]                         ` <Xine.LNX.4.64.0807290736440.30242-RC8Ws/H8zzudju81dFSl6rpzq4S04n8Q@public.gmane.org>
2008-07-29  0:33                           ` Al Viro

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=200807192042.06988.rjw@sisk.pl \
    --to=rjw-kkrjlpt3xs0@public$(echo .)gmane.org \
    --cc=a.beregalov-Re5JQEeQqe8AvxtiuMwx3w@public$(echo .)gmane.org \
    --cc=eparis-FjpueFixGhCM4zKIHC2jIg@public$(echo .)gmane.org \
    --cc=jmorris-gx6/JNMH7DfYtjvyW6yDsg@public$(echo .)gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=linux-next-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=mingo-X9Un+BFzKDI@public$(echo .)gmane.org \
    --cc=sds-+05T5uksL2qpZYMLLGbcSA@public$(echo .)gmane.org \
    --cc=sfr-3FnU+UHB4dNDw9hX6IcOSA@public$(echo .)gmane.org \
    --cc=viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public$(echo .)gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox