From patchwork Thu Sep 7 12:24:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Storm, Christian" X-Patchwork-Id: 810997 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:4010:c07::23f; helo=mail-lf0-x23f.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbopwytgqkgqebxjk6vq@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="KBnidRP6"; dkim-atps=neutral Received: from mail-lf0-x23f.google.com (mail-lf0-x23f.google.com [IPv6:2a00:1450:4010:c07::23f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xp08Y3CK0z9s81 for ; Thu, 7 Sep 2017 22:27:40 +1000 (AEST) Received: by mail-lf0-x23f.google.com with SMTP id y82sf365450lfg.17 for ; Thu, 07 Sep 2017 05:27:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1504787257; cv=pass; d=google.com; s=arc-20160816; b=x06jSDIbli1iIzSYIJEa9bk+gP2g0Bhg21VJwvwpoQFDs0elvy+jPbOaerqV/Vy3Er MMV2SCuU9Tkem2o6NaMIqS6b5nI8nANzUWrhmVpGWfdva9IMKhK6xIbeSMi/v+bzv4tf OKVj/cWmO+tNsyrA2370YLn15ENkVmbyKapPX4aGcHtQJUqT4oICGzLoCYMU61N6esr1 /w5n/QTlJ/ZqKvFyD9dwt66e4/TkTXJUsYAepJ8OL/RO9NKM6Se2HrevsNk08eyjo1Si nXlnrnK8Uif11Ie5wMgJfCqt48geoW8Qc8SDeL++jhrWKQX8Xbqw0l226ehafqaa9VFy 5DpQ== 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=wx0EQ/ygpoWV+dn+ZBdRQHgmkDS+6a6DZEB1i66NPTqBU62PgBZoUxbaU09zp7acwZ qPurr68SKlCIg2OzGkLzxE/EYgFsY5nUsXsMXIneXdFizYMnwaZu1hc91WZqp9MlQokz ZVyTNEK+vKeXgYjtjnttaXeg0Ky63SIRFKBBRxmLa2gopt0XfaG9miLgqA2BNxKz1v7h UpuOEcJWEULCRDG7tCuSyUHGzn1NzU5Iymx1k3xIERjpQH2ezxtRuzX/1gMuVjvX53rS dxRsLx3FjK5xM1Vdz8RU7Y/pOe+5wPDB47+PiMvCafHIBx6yYg/sAU/ugi+cW8XnlVwt +K+g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 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=KBnidRP6l+cteim8tt8q51c4kf5qfOnHgQNfCKExWJCp1w2+HEu2P9ZZFcsv56ghlW 3MfKcXK+au7rvEkpRtQbuUj9RfyWy86MGpV5kfz52gjVQd+uwfumkyCCp8Pu2nEU2L/K bNwP+jbAjJJ4HfDYa5IVu/WdB9l/EKwrX6tby/3w2Yc8SYz4LckQ7MK2s+hf34I9ni4/ o+X5ICN6arU1Yo/OKD/pmkrrwfgNHuNrsSonB/hH0q3icTeRH3UpWs/4wqZnvejz6b5w Y+BmifOjZvUI9loX5yud9cVbLnkcF1RXoj3mlRncAnUBG9jkVbLg4QrM2o4Q8mAGGSAO lAuw== 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=hpr6sEiJgTIfcyWLtKHwZZVvAzG6praRE+0BAlI3gTYiteyV4DFeoV/j5yK3bg9Nbg DmNKsx6QcIe3dz3pCEU7ZepRIkY85IAWlc35lBY4PveFmXw1qe9DWgBw20knFUBEwB4D PZSQE5/auXRcJWwZmMo9d1BpXGOFLvYX3V22CAQsYRYuoDXZ8zgwXH230X3G9y7c1X9m VXD8mfGj5hyrnhR0DrphDTKg44jIElP6nhTADuQQMsuDgKYsS4+OUslBvIXkTKxNz1Aj nyofWStvq4kD0O3wPbqs+S8iiRJMe+rTT2Pvodw8YAZZ9tNbAZtnxLsccjn/WjkuHdmd q1zA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AHPjjUgQmG+0EmwKjhxzXIg828Z3a8ScQNqi4JSAVUE/GEgeTVthTQgA BPRUzeIMtSpNpA== X-Google-Smtp-Source: AOwi7QA/HDCJ/xuvzjp/D74TfUfuMxy+TptLN58LAWbVBV7zaeGTmXX6hwrN1qAj+oOAfIsRg0p0HQ== X-Received: by 10.25.145.27 with SMTP id t27mr3789lfd.22.1504787257603; Thu, 07 Sep 2017 05:27:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.46.81.25 with SMTP id f25ls52177ljb.29.gmail; Thu, 07 Sep 2017 05:27:37 -0700 (PDT) X-Received: by 10.46.85.140 with SMTP id g12mr208285lje.8.1504787257043; Thu, 07 Sep 2017 05:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504787256; cv=none; d=google.com; s=arc-20160816; b=04YeMD35NqaHDDDvD4/wcCajCq2CF5bGNPUerhA3O+wDLDc+EwYUrq7v9bUyjLh6nS 5czkvRx8bwJXS76Z+epmtXj42v7fmaf4Y3qgRsdDrytGewweGZyEY91wgUtGIbiwIORc 8supRD5fTsXDqIlSU4FJwIgRSKs3aXBs+96JHc9sfzsrp1YLuklSiH/RWG3gkZHwSub7 M0KgQWd5k3mf1/Unyel6bIr9CSgsXLtytNt2A5Gf3ycNLUfJfO0m37r282htuc31an0h PPEYy3HMldgTco9xzMaYmuefltaA1vNAKWt2LTxy2fgoVvytmQkTWdgZWWrSGt4qVzgM 8tfA== 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=xi1MybMZ2zMZdTcHBwg/MEqBKY7avMcQJePUqKmYqiVJg0Ohn7A/c+DgJ+YHXCrieu oG/O3DLuAE53tLRo+pUomNzSjE38eOjVMWUni+oRQaXgzPEDc2EUd+ZWylHdDaddOPRx ZqZTjHl+TpA5PoV6DssQTKWRKARgXRo0yKytKYVOJ1NXnkOEIOvI/u++Yc1/y3wLLFeW lZKYxyrccAtlF3MIz9bUTJV8VPURryAt9Q2b345R4ZHQeJfNNhYMVlxfGMu9lsR9BZLc PJnwxC9GZlVmAJ94nxQIfPoA9V/aM7X4/25qPxWsYpl7nHqgVSK3uj9GrD48iaz0l7oa gAEA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id p200si14716wmg.4.2017.09.07.05.27.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Sep 2017 05:27:36 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) client-ip=192.35.17.2; Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id v87CRaWt020276 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 7 Sep 2017 14:27:36 +0200 Received: from MD1KR9XC.ad001.siemens.net ([139.25.69.251]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id v87CRau7019931; Thu, 7 Sep 2017 14:27:36 +0200 From: Christian Storm To: swupdate@googlegroups.com Cc: Christian Storm Subject: [swupdate] [PATCH v2 1/6] socket split: make socket paths configurable Date: Thu, 7 Sep 2017 14:24:49 +0200 Message-Id: <20170907122454.24183-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.2 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