Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5942685ybi; Wed, 12 Jun 2019 11:06:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRwWcywrI6biN+dp8EQ7LiVuyiplYRqeUF8gA7dtZ2UPjXPW5gfV1L8P3ufDjvpBUJJ0oQ X-Received: by 2002:a63:f54c:: with SMTP id e12mr26392414pgk.62.1560362809326; Wed, 12 Jun 2019 11:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560362809; cv=none; d=google.com; s=arc-20160816; b=ReDaL06gqtDMgyl8TwNMmGsoVTYqwAupsndLMAPDv8IoVNUZqa5nVPRJVH1L4/eZTX StyleNtrgtCxtTFPqVM1SNxW5e259r2Quj55uCAOihAwbZC2sa1OzsfD02dW/Z3lknEi xb0k6D0Pv6Mw0Q3f76mN9OPEflA22wK0OFVYS27iJZT7cgluW2kSvuggJla1ckFeMKm4 vrUuvQGKJBN7G8qHwT7DQkOw7DjXz1w7crie3SK+xupuZ8ouZgLqrin6uaEEnY9bTfi5 VDx+nCnyd3fttxNc/Bkpt37UXHM7TAvmw7jGtXBRxFz/z+Q/P9Kh6EfbyjbDC8raXHEQ I6sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=T7KOvNQoKIBDpzZrYIfVMS9gbP/WJH+yP1wo3jacVps=; b=PRa7uSU0RMK2BUo0Coi8282PSL6ZFNWIR2w56Y+s51Er8Q1btr5DEfdtW1gvVl71hI t4vYEOJhA5rSpbgVmOUTj9g8qI5hqZ5xRezyHyJ1RNP9+XfWembtahTCWcNgxPNeD1OU KCibE0bO7k5tUoRmli37uUydlN1Q1dflSHIZareFvm5cfjqOqsHng5rRTYF9KONJDnVy urMWxt6ycaGFHT3urEZwV9YHg0u4Nfm24PdycYOtLivYMZTDGX1BSfREGRXEjBn0PxHn sz1mr+D+crhQ3K6oGWDzHeIRfNH+S9DgzKqfdXVRpIQ2M8Tt14QL4GW/OQPjXH5l4Xs6 oaDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13si428794pgk.239.2019.06.12.11.06.34; Wed, 12 Jun 2019 11:06:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440240AbfFLQ1N (ORCPT + 99 others); Wed, 12 Jun 2019 12:27:13 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:37714 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405745AbfFLQ1N (ORCPT ); Wed, 12 Jun 2019 12:27:13 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7FC851513DD1E; Wed, 12 Jun 2019 09:27:12 -0700 (PDT) Date: Wed, 12 Jun 2019 09:27:11 -0700 (PDT) Message-Id: <20190612.092711.1626983045451710048.davem@davemloft.net> To: po-hsu.lin@canonical.com Cc: shuah@kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled From: David Miller In-Reply-To: <20190612064752.6701-1-po-hsu.lin@canonical.com> References: <20190612064752.6701-1-po-hsu.lin@canonical.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 12 Jun 2019 09:27:12 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Po-Hsu Lin Date: Wed, 12 Jun 2019 14:47:52 +0800 > The psock_tpacket test will need to access /proc/kallsyms, this would > require the kernel config CONFIG_KALLSYMS to be enabled first. > > Check the file existence to determine if we can run this test. > > Signed-off-by: Po-Hsu Lin Please just add CONFIG_KALLSYMS to "config".