Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp43562ybt; Tue, 23 Jun 2020 14:52:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxALrzGuTz4u5wTnoijCBvevDEC6h1sKPPA45cDVcLzAhPJSnEg+ewSK616iZ2BrGHJUCI+ X-Received: by 2002:a17:906:3483:: with SMTP id g3mr21720656ejb.373.1592949156928; Tue, 23 Jun 2020 14:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592949156; cv=none; d=google.com; s=arc-20160816; b=xQBz5oF1f6Qi0aCfk9wUKgZ/hNbP+4vj0UlOAthg0VGpb1eRUPZyzbE91KOUSd2L0t 8OmUhJ4d0ysA/blV6626qa+tfDM5yIlWFtCwvfUgLgjdfwx6dJCVbB+1GzNErEWTkKNw 4W2QgoI7qd3KA3KnCNC27Dqh2R0d2DsB0mwMhCwyz5sPzwZBKZ6GnZuDxQx5+lA0XpJ7 3Urxx/wZHZrdQSTl6AfESxqckjFTB0Na5EEUc767Ki5hkhlisur1FVDribiBZu34FQsf se5xxUEmi2oGZTmM7i4qa/IcYoopzUr4FuSB9jcEMLKNuY8/4kL+3KGinKZ6kOj2axc0 j/3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Fp+7um21OlsXy9zXZGAOUkkLR0n0+yam4NVurFVFGio=; b=LA/Vm/PvQUy5fHzFnLd8SG7ea2W5qsJJBkq8vY1GS2vc7ZRnJpUQ8gTpfbr+P0byds 3JfwH633Y3Uj3UUmKSO/H4T7z+tSHFV6n7pcWCmbm9M2xvJ0lGziy7eh0i4b1v5rRKMa cl0wQXDs8Sk/lhtADDmzuopDjTo33mqBlhCpErlFw069ByNzdEn77BGTMfYKAl2DBq4x 1Hk1g/Rzvng1Dtpu7quRkqajoBOqlJUvRP7+NndLZqoLtxZ45rT+dNcfRYdxnUfSK/Fu OUQxge/ZB/3E//y5OvFnM5KgwPkvRzRszHxP3fckx693OI46ZVgdyLHqIjyCKhNdfnAC zrbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k23si7848909eds.14.2020.06.23.14.52.12; Tue, 23 Jun 2020 14:52:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387732AbgFWVv7 (ORCPT + 99 others); Tue, 23 Jun 2020 17:51:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387541AbgFWVv6 (ORCPT ); Tue, 23 Jun 2020 17:51:58 -0400 Received: from trent.utfs.org (trent.utfs.org [IPv6:2a03:3680:0:3::67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79E36C061573 for ; Tue, 23 Jun 2020 14:51:58 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by trent.utfs.org (Postfix) with ESMTPS id 4DCDB600BC; Tue, 23 Jun 2020 23:51:55 +0200 (CEST) Date: Tue, 23 Jun 2020 14:51:55 -0700 (PDT) From: Christian Kujau To: Alexey Dobriyan cc: Andrew Morton , Willy Tarreau , Dan Carpenter , Kees Kook , linux-kernel@vger.kernel.org Subject: Re: process '/usr/bin/rsync' started with executable stack In-Reply-To: <20200623212214.GA41702@localhost.localdomain> Message-ID: References: <20200623211218.GA40110@localhost.localdomain> <20200623212214.GA41702@localhost.localdomain> User-Agent: Alpine 2.22.1 (DEB 446 2020-06-13) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Jun 2020, Alexey Dobriyan wrote: > > > process '/usr/bin/rsync' started with executable stack > > > But I can't reproduce this message, > > This message is once-per-reboot. Interesting, thanks. Now I know why I cannot reproduce this. I still wonder what made rsync trigger this message today. The machine is running for some weeks, rsync is run a few times an hour the whole day, regularly and automatically, with always the same parameters. But oh, now I see, rsync had been upgraded (automatically) over night: > [ALPM] upgraded rsync (3.1.3-3 -> 3.2.0-1) And indeed, the _older_ version had NX enabled: $ wget https://archive.archlinux.org/packages/.all/rsync-3.1.3-3-x86_64.pkg.tar.zst $ zstd -dc rsync-3.1.3-3-x86_64.pkg.tar.zst | tar -xf - usr/bin/rsync $ checksec --format=json --extended --file=usr/bin/rsync | jq { "usr/bin/rsync": { "relro": "full", "canary": "yes", "nx": "yes", "pie": "yes", "clangcfi": "no", "safestack": "no", "rpath": "no", "runpath": "no", "symbols": "no", "fortify_source": "yes", "fortified": "10", "fortify-able": "19" } } So, while I still think a PID would have been nice, now I know that it's pr_warn_once and won't be printed again until after the next reboot. Going to ask the Arch folks why NX has been disabled... Thanks, Christian. -- BOFH excuse #211: Lightning strikes.