From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965277AbcKWPd5 (ORCPT ); Wed, 23 Nov 2016 10:33:57 -0500 Received: from smtprelay0011.hostedemail.com ([216.40.44.11]:47025 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935350AbcKWPd4 (ORCPT ); Wed, 23 Nov 2016 10:33:56 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1567:1593:1594:1711:1714:1730:1747:1777:1792:2194:2199:2393:2553:2559:2562:2689:2693:3138:3139:3140:3141:3142:3622:3865:3867:3868:3870:3872:3873:3874:5007:6120:6261:7875:9108:10004:10400:10848:10967:11026:11232:11658:11914:12438:12740:12760:13069:13149:13161:13229:13230:13311:13357:13439:14181:14659:14721:21080:21212:30036:30054:30064:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: rule17_21f55b1b37813 X-Filterd-Recvd-Size: 1803 Date: Wed, 23 Nov 2016 10:33:52 -0500 From: Steven Rostedt To: alexander.levin@verizon.com Cc: "dvyukov@google.com" , "tglx@linutronix.de" , "scientist@fb.com" , "glider@google.com" , "andreyknvl@google.com" , "arnd@arndb.de" , "mathieu.desnoyers@efficios.com" , "daniel.vetter@ffwll.ch" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls Message-ID: <20161123103352.6c2afaf2@gandalf.local.home> In-Reply-To: <20161123150330.GE3218@sasha-lappy> References: <1479317803-17220-1-git-send-email-alexander.levin@verizon.com> <1479317803-17220-2-git-send-email-alexander.levin@verizon.com> <20161121104102.2b244311@gandalf.local.home> <20161123150330.GE3218@sasha-lappy> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Nov 2016 15:03:23 +0000 alexander.levin@verizon.com wrote: > - This should also work for ioctls in the future. Any ioctl that requires more than 6 arguments should also be NACKed in the future. If you need that many arguments, its best to simply create a structure and pass that it. Again, the function syscalls_get_arguments() will BUG() on most archs if it expects more than 6 arguments. -- Steve