From owner-freebsd-current@FreeBSD.ORG Wed Dec 11 18:41:20 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F318EA97; Wed, 11 Dec 2013 18:41:19 +0000 (UTC) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF16F1B07; Wed, 11 Dec 2013 18:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=eeGrzCfxlHH2UbdHc39gCVnNQ8YiFDZrSYH3ZqnGgRo=; b=as5/9gE1llObejmJcYb6riHYq5y1I50HS4E16ibe4GIXg5U+mcP8InunrjYxYXlEbHS9Z7KXfZrYiuk7LbybMGjr5wji7YmnjKQY/quMQCwNys3Kbq/pSaY5rp5kf3M7rl17Jwzh9KAYWTuiZgWqWgv0JM2SXjSh3KaK9s3Bazc=; Received: from cpe-72-182-93-216.austin.res.rr.com ([72.182.93.216]:63760 helo=borg.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1Vqoii-00018J-DP; Wed, 11 Dec 2013 12:41:18 -0600 Date: Wed, 11 Dec 2013 12:41:04 -0600 From: Larry Rosenman To: "George V. Neville-Neil" Subject: Re: svn commit: r259221 - head/sys/dev/vt Message-ID: <20131211184104.GA1687@borg.lerctr.org> References: <201312111718.rBBHIAgM065186@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201312111718.rBBHIAgM065186@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001 Cc: ray@FreeBSD.org, freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 18:41:20 -0000 This looks like it fixes my -CURRENT crash.. Thanks GNN/JHB On Wed, Dec 11, 2013 at 05:18:10PM +0000, George V. Neville-Neil wrote: > Author: gnn > Date: Wed Dec 11 17:18:10 2013 > New Revision: 259221 > URL: http://svnweb.freebsd.org/changeset/base/259221 > > Log: > Fix a panic when booting with kernels that have FREEBBSD_COMPAT > 4, 5, 6 or 43 by only thunking the data parameter for old ioctls > compatability ioctls instead of doing it for all of them. > > Submitted by: jhb@ > > Modified: > head/sys/dev/vt/vt_core.c > > Modified: head/sys/dev/vt/vt_core.c > ============================================================================== > --- head/sys/dev/vt/vt_core.c Wed Dec 11 15:32:28 2013 (r259220) > +++ head/sys/dev/vt/vt_core.c Wed Dec 11 17:18:10 2013 (r259221) > @@ -1321,9 +1321,12 @@ vtterm_ioctl(struct terminal *tm, u_long > case _IO('c', 110): > cmd = CONS_SETKBD; > break; > + default: > + goto skip_thunk; > } > ival = IOCPARM_IVAL(data); > data = (caddr_t)&ival; > +skip_thunk: > #endif > > switch (cmd) { > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688