From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH 1/2] scanner: support for wildcards in include statements. Date: Tue, 27 Jun 2017 18:14:54 +0200 Message-ID: <20170627161454.GA8344@salvia> References: <20170627121459.32608-1-ismo.puustinen@intel.com> <20170627161111.GA5969@salvia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@vger.kernel.org To: Ismo Puustinen Return-path: Received: from mail.us.es ([193.147.175.20]:55648 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507AbdF0QPI (ORCPT ); Tue, 27 Jun 2017 12:15:08 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id E00EBEAA63 for ; Tue, 27 Jun 2017 18:14:51 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id D00E5CFDE4 for ; Tue, 27 Jun 2017 18:14:51 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id BC7DBD2AE7 for ; Tue, 27 Jun 2017 18:14:49 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170627161111.GA5969@salvia> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Tue, Jun 27, 2017 at 06:11:11PM +0200, Pablo Neira Ayuso wrote: > On Tue, Jun 27, 2017 at 03:14:58PM +0300, Ismo Puustinen wrote: > > Use glob() to find paths in include statements. The rules are these: > > > > 1. If no files can be found in the pattern with wildcards, do not > > return an error. > > 2. Do not match any files beginning with '.'. > > 3. Do not handle include directories anymore. For example, the > > statement: > > include "foo/" > > would now need to be rewritten: > > include "foo/*" > > Applied, thanks Ismo. BTW, please, send me an update for the manpage. Thanks!