From patchwork Wed Aug 26 23:26:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Champetier X-Patchwork-Id: 511109 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 225661401C7 for ; Thu, 27 Aug 2015 09:28:59 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=yIL81lH6; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 7B27D28BDA3; Thu, 27 Aug 2015 01:26:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6F3BC28BD2F for ; Thu, 27 Aug 2015 01:26:15 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 27 Aug 2015 01:26:12 +0200 (CEST) Received: by wijn1 with SMTP id n1so38896629wij.0 for ; Wed, 26 Aug 2015 16:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9RIaPw6LJeOdnCV8BshJWbb4ZIMth3VzfGcx+HPYJMA=; b=yIL81lH6WZDiZRD/WOAuLfW0Focqd43j8csC89ql4uy7aQE/wVujGhp6Ow+5B9d4dg D2aYt3tcLoQusLx5W36uiUWemoQqMWrlrY8dRP2kOQn7B7zDpLoC7YccnJ1ZyecyHwZu EaKHvJSzc72Buhb2qpUU0Qv4G2CwlN+cEvhHmAheiyx6cBQPSMVWA/I/ev0iv1luBQn1 7iihBpULfxXkPMbynFiG9bQkuttFeHMw7yXlIF6Z4rm7wt+P4+3cnRO7Qb7lwVhBw9pT USLoW2H/G0lgTogHy3eGQcQNTolnGJMC/8rmVrkJUFuMgbP4XfMkG4DnJDF4uFdGuV4s oH4g== X-Received: by 10.180.223.4 with SMTP id qq4mr7162336wic.54.1440631626134; Wed, 26 Aug 2015 16:27:06 -0700 (PDT) Received: from ubuntu1404.lxcnattst (ns623510.ovh.net. [5.135.134.9]) by smtp.gmail.com with ESMTPSA id lk16sm832035wic.6.2015.08.26.16.27.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Aug 2015 16:27:05 -0700 (PDT) From: Etienne CHAMPETIER To: openwrt-devel@lists.openwrt.org Date: Wed, 26 Aug 2015 23:26:42 +0000 Message-Id: <1440631607-63520-3-git-send-email-champetier.etienne@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440631607-63520-1-git-send-email-champetier.etienne@gmail.com> References: <1440631607-63520-1-git-send-email-champetier.etienne@gmail.com> Subject: [OpenWrt-Devel] [PATCH procd v3 2/7] jail, seccomp: fix typo/improve log prefix X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" (perload-jail -> preload-seccomp) Signed-off-by: Etienne CHAMPETIER --- jail/seccomp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/seccomp.h b/jail/seccomp.h index 6c585ad..c44a607 100644 --- a/jail/seccomp.h +++ b/jail/seccomp.h @@ -12,8 +12,8 @@ */ #define INFO(fmt, ...) do { \ - syslog(0,"perload-jail: "fmt, ## __VA_ARGS__); \ - fprintf(stderr,"perload-jail: "fmt, ## __VA_ARGS__); \ + syslog(0,"preload-seccomp: "fmt, ## __VA_ARGS__); \ + fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \ } while (0) int install_syscall_filter(const char *argv, const char *file);