From patchwork Wed Sep 6 07:23:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Storm, Christian" X-Patchwork-Id: 810412 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:400c:c0c::239; helo=mail-wr0-x239.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbeogx3gqkgqeqo2sdai@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="V8hNZLCh"; dkim-atps=neutral Received: from mail-wr0-x239.google.com (mail-wr0-x239.google.com [IPv6:2a00:1450:400c:c0c::239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xnFW92jyKz9t3Z for ; Wed, 6 Sep 2017 17:26:12 +1000 (AEST) Received: by mail-wr0-x239.google.com with SMTP id a47sf1148694wra.12 for ; Wed, 06 Sep 2017 00:26:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1504682770; cv=pass; d=google.com; s=arc-20160816; b=N5o8e5LLvwJhx+D93X/ztsZymJR1ryI4+GzLl/+GvTHyEhILbBSGbx352pSETlsy48 0xk26RfIBeQXosqMrT6qz+4tIn44J/NjH8RyWKBz3QUCpyiFBDYDlbK3di7kyLOmVELr L6SRvP7+JLef9j3ycbwW9uaX1RalsQmruXneGPZR3lufBDxSUhpHaBSQln4y2tgIvrvm dUmvVUsCBHDUKUWXTJqofdV0rrM5s+cClUojJRNxE4WDjFJQxXSYicFgTguo88muApuK G0j3EovbE/cXhzhJ6fVRw1CiydR7JVjEbJJC7YPIx4FQD2yrIGj92ZFhwOdUqjVlV0af CYVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:message-id:date:subject:cc:to:from :arc-authentication-results:arc-message-signature:mime-version :sender:dkim-signature:arc-authentication-results; bh=t+PElzGiWN03vuDta6Z00sfLlltgLu2yQW4rz8uj71g=; b=TR991s5yRPupmjiW0D+YqULiC08E4WZCY7wVSMN24XYMLAPKo7LC0xbytfPTVHmcG3 ypto82lH3qyBMpM08DqbQe5RKZ9pB01gifH5JcAILwSjk4JGE+q1z2lN+WKu386Da8Mw /4HBOCzx9ZVMtRY0Y3gDen6NjKsFEpcdcJrMPokVPMRRipQUVX+MTSZFew9WZLmWm5Y3 UMEFdIZ/v+e2HeF7ae+ZD/+/v9xGut1bPA6aGE/3ZNMS4wey+kd3Op9Y7Mte2FScJei3 PY0WnHx5NMTCmbKwe+q97dyejG7VYSzJZXURFs7FI2zmfLGP/sKpBlZmLApC+ZuVz2rK tjiw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=t+PElzGiWN03vuDta6Z00sfLlltgLu2yQW4rz8uj71g=; b=V8hNZLChyPO+wZ2Dqulodg8SJQN+ej/s6Pk3ZtvSh3dqbOPvCiR/lqL5wKNUQ5B313 7G1wx7516WWx4LAX5dTGeobGupbQz7Zs9OoH+CicjVQQC7Mjql6wse/Afwl+atWcj6cy IotlpGMZqwEv6EljKGLf9haERbvinOUIdsGdlYhTAMljieUuzsy9lWYe4oBDNZOTauuM Y2Th/8TW99zWsGkYqTVqWDyVcFnnXksIlTOzFGApcXrS2TkmyvEHtM3H7OrG8K13puUW Krevk+jtL4SCl4wQnHgXbpbJFhMTS6aWPeIUN0hcvT70wg8h64+uFCL95RAo5HrS7Ze2 hPiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=t+PElzGiWN03vuDta6Z00sfLlltgLu2yQW4rz8uj71g=; b=RaKB5wUy/v3/wscQlERrAXKSOCeqPrpnZ5py266V2P0R+dXCykauTNz5L6qwZTh4jD U1pV6phR3Zo6DYic0vLLCudWOlQlD8aBKbpJXKcEQdchY+0kGaUE0SraTgSMWfCxA3ld 8J7nCoA5ru2LQ+fzhy3JZqivQD2DNdYW24d5Zg2pH9tG3eZXhcA2QEZo4dlK7VnuvPjf XacK0B5XXbne3N6U33EXRewnOIO/zRNzxU1ZP7XXVmrnv6Wa+3imjmIqqxCmpPW8HxaE FghhknbR0h9UEF3fVMwBB3YKC1fJuGyWnOtdYb1TbekvfKFWeRDlPgbVwZXIx0rDhZze 40tw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AHPjjUjcafTGP4Cxtd7MrddGEMnfkS0ft95dEG69u0yXVID4i/YvbJy5 VlkHAUEqzE+AsQ== X-Google-Smtp-Source: ADKCNb6kt3K96PpcfBFhEFdMMGje19z3gD6nX9VrCS33iDtSBBQGHLlrIxydYWVy+Pgc0+Duwcgbpw== X-Received: by 10.28.143.5 with SMTP id r5mr2759wmd.26.1504682769956; Wed, 06 Sep 2017 00:26:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.28.139.211 with SMTP id n202ls953537wmd.8.gmail; Wed, 06 Sep 2017 00:26:09 -0700 (PDT) X-Received: by 10.28.184.133 with SMTP id i127mr118793wmf.20.1504682769567; Wed, 06 Sep 2017 00:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504682769; cv=none; d=google.com; s=arc-20160816; b=t1qzIJETDiMy5f+6fF1dEa6qtlItHqT5xZTSzRAgUDVnp1VOs1qBRhTIIebPVbaU1P H3Y+nqPLjOG9ottxlwYLgtNgU5+vdkQG0tVHQv0x6qqRPjjsT7d0/+zqtl3tDjPtuQV+ Yd5A/iYFBO5cE90rgbPl+EX4UBh1gO3/b7vZnyRgFJZmQTrzPSV8UvfgYR7ApRNtWYYY 3s4AM+6rb66AIpakI9u2OUWlFMRDetq2QqUFohNIm+MLdl3Vryq9d5CCpz6mFDO21bQM b+OcfcWNlr2rK6iaJiHn19yrH6T3I4c97a22MhVafQxCnJehVPpGaXaQEVSml8MjWmo5 fhGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=AHMWhupkHz17kR8U/Tql2cWKfCGgnnvs9q7izy+1TNk=; b=N2gI6H4YDWbIfFfIe82MXqGvjHIn8JCj8MMLYSro/0PoFNicjP+9oD+fZAeFV1wJer 1Zy53OG6rE9S2sE7P+umqdEjPlFxk83MLEUVFwijIENfhp2kD9eoR2vnckGSEp6KnKMf NRu7fGP+/kpLNYXfs/AkMsHp1MvK8EwLmJm8kLuoRRUN4zhNBpnunmFspyndHCa4SQI4 zRUcJHVFh2rahj4+u4gKHQ+jI09dvkAm+FeXupUV3kPl+d0lb8ai8GmTA4BSs4eX7CIH J90ohBhNGIEv1bNzoFem2pR4Z07bcZJQotCxA1heAYSLWkEHNnQU2bVt07iYWIherh58 3wKw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id s127si54999wme.8.2017.09.06.00.26.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Sep 2017 00:26:09 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) client-ip=192.35.17.28; Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id v867Q9wN022911 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 6 Sep 2017 09:26:09 +0200 Received: from MD1KR9XC.ad001.siemens.net ([139.25.69.251]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v867Q9gK028166; Wed, 6 Sep 2017 09:26:09 +0200 From: Christian Storm To: swupdate@googlegroups.com Cc: Christian Storm Subject: [swupdate] [PATCH 1/6] socket split: make socket paths configurable Date: Wed, 6 Sep 2017 09:23:19 +0200 Message-Id: <20170906072324.15734-1-christian.storm@siemens.com> X-Mailer: git-send-email 2.14.1 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.28 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Make socket paths configurable via config system. Per default, the currently established paths are used to maintain backwards compatibility. Signed-off-by: Christian Storm --- Kconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Kconfig b/Kconfig index 07c394a..b77850f 100644 --- a/Kconfig +++ b/Kconfig @@ -110,6 +110,29 @@ config SW_VERSIONS_FILE but in some cases it can be required to do it. Having a check, the risky-component is not always updated. +menu "Socket Paths" + +config SOCKET_CTRL_PATH + string "SWUpdate control socket path" + default "/tmp/sockinstctrl" + help + Path to SWUpdate's IPC socket. + +config SOCKET_PROGRESS_PATH + string "SWUpdate progress socket path" + default "/tmp/swupdateprog" + help + Path to the socket progress information is sent to. + +config SOCKET_REMOTE_HANDLER_DIRECTORY + string "SWUpdate remote handler socket directory" + default "/tmp/" + help + Directory where sockets to remote handler processes + are expected to be found. + +endmenu + config MTD bool "MTD support" default y