Message ID | 20180208175536.9628-1-zajec5@gmail.com |
---|---|
State | Accepted |
Delegated to: | Rafał Miłecki |
Headers | show
Return-Path: <lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JvgzGG1/"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WAqx5ZGx"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zcm8Q0cHFz9s75 for <incoming@patchwork.ozlabs.org>; Fri, 9 Feb 2018 04:56:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wqfOoCk83aVdbfA9zHv6JUMhUBp1uCYWZ7JCwcZXCyY=; b=JvgzGG1/ahf0Ct ioIixs5JJ/ffjYFYq7gtSbJbNrq6qtxo+tzI9eUHFuJ2acyyn90NxYKL/OrniAl1YhfcGdT/ppD9m UVhLMEaUAj1FNcHYZQdzl1IcrLdNUy3r3tnQdLkuMD75XA83agc4BQrqaZP9t3ctBOkRiBXoAQCvT E3gj7QzWeLtu9oLBkp895NXmfhjp6HmrrU6rEmIFtiG9WTQHaehFcnK0r/KO7l8p/dpbDbulkCTsK rgOJXjr2sWSjE6wnoNTspXTKKp8Wy6qgYYccZKToLZfwiLPuR+SG9cQOIVpo3lX/yOG3qsvxd6JX1 qGhn9qmvLChXdjh/7uXQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejqQT-0003OV-8d; Thu, 08 Feb 2018 17:56:01 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejqQP-0003N6-Iz for lede-dev@lists.infradead.org; Thu, 08 Feb 2018 17:55:59 +0000 Received: by mail-lf0-x242.google.com with SMTP id t79so7625129lfe.3 for <lede-dev@lists.infradead.org>; Thu, 08 Feb 2018 09:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B+l4oBSiqtbwdxXsdH3/ViqxcnxhVIhslek4tPuDjc8=; b=WAqx5ZGxbglU7hr6cEAmbAyb3USSnK0sBjeEaAFkOinYrmGlEDvTPk8Kjm1DgyHWhw 5NgPSDPj8yeEEko2yldtLL3tPhPWq3BoZauEMsUAr8zg8uyeZRTTXommqQZ7sEirEQVk bKVevr9Aa4zBXwljoQ90cf991CmzxMtXPH+a8K0ZiuSs9GmT57CatSd3mOYyaP3d14O1 uOnliZ7ids1MNZlwGFfhYFhai5m1ElEWFxBzN41rc3hXijNni3YvfpXJx+iX28ZA3nxO GKzKyTvEsPLKi7Ym+0XKX89+CLjQ55gRhYQhXA5eV+oxrpl6qm4AzofH/lLzfD79jpU5 j0Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B+l4oBSiqtbwdxXsdH3/ViqxcnxhVIhslek4tPuDjc8=; b=GDbHJdjROZqZZURZJg2GuRz9J0w3rbgJUK+ym7gA5brOUDt60vyoAfuykfZhiIniPW VTvG5oZEjqkB1gvoFNoXsuLEM+akhg0QR3f9HtAqmS4tL7DNx963rsfWtiXTG03C/aq8 TdARmiNVkWwlnO3D0d6LFVne58LyhNkZKjufWPyysfs7DlwUC32beEKfk+4lYvkqSk/E yoa6M81wx3ryevn15NPTDkPdJVwZci8FVokl+5kjsD6kE6hDC+BuyaUG009FeWh9P8+B 7c4GFlnTMj/UmxuAqY2OEmS4HBHKNDvRpt/fheAGCBwbOvNsIpwc4zKw5bApsqilmYu1 sEFw== X-Gm-Message-State: APf1xPBBcHu29lPB90n1uD6dzcp65VtLY0T0yo08zyS0rJz4atzF2oxk pqgM/bWQRGZVPIQL6swjaSQ= X-Google-Smtp-Source: AH8x224GgRCn6Hdce91GNi6k9Bv+p5XddeVOuSIlLT+9CpKWNBRKopA9F+LlZF2IAy4zwDe4smXevw== X-Received: by 10.25.42.196 with SMTP id q65mr996635lfq.133.1518112545230; Thu, 08 Feb 2018 09:55:45 -0800 (PST) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id i14sm91516ljb.33.2018.02.08.09.55.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 09:55:44 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: John Crispin <john@phrozen.org>, lede-dev@lists.infradead.org Date: Thu, 8 Feb 2018 18:55:36 +0100 Message-Id: <20180208175536.9628-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (zajec5[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH mountd] autofs: don't check if /tmp/run/mountd/ mount point exists X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <lede-dev.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/lede-dev/> List-Post: <mailto:lede-dev@lists.infradead.org> List-Help: <mailto:lede-dev-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=subscribe> Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "Lede-dev" <lede-dev-bounces@lists.infradead.org> Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[LEDE-DEV,mountd] autofs: don't check if /tmp/run/mountd/ mount point exists
|
expand
|
diff --git a/autofs.c b/autofs.c index a898f49..fd37f1f 100644 --- a/autofs.c +++ b/autofs.c @@ -48,11 +48,6 @@ static int mount_autofs(void) int pipefd[2]; struct stat st; log_printf("trying to mount %s as the autofs root\n", "/tmp/run/mountd/"); - if(is_mounted(0, "/tmp/run/mountd/")) - { - log_printf("%s is already mounted\n", "/tmp/run/mountd/"); - return -1; - } fdout = fdin = -1; mkdir("/tmp/run/mountd/", 0555); if(pipe(pipefd) < 0)