From nobody Mon Dec 20 06:50:50 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5B61618ECF1E; Mon, 20 Dec 2021 06:51:02 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JHVbp0Z2zz3Ffn; Mon, 20 Dec 2021 06:51:02 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id E2AD96118; Mon, 20 Dec 2021 06:51:01 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f170.google.com with SMTP id m25so8851752qtq.13; Sun, 19 Dec 2021 22:51:01 -0800 (PST) X-Gm-Message-State: AOAM5334T6/dxA0htcMospEvdF9QybmvycDxKk5HbpVJAKJg+25UcRYi mzXN7oE4sV7Aeg+WYJH+xARDKHMlUQ2oOfoBcws= X-Google-Smtp-Source: ABdhPJxRJwwAT8ARcubwQ433ZCxY4Xg84/8yeE9i3wIJ2RDYqRDJZfNyu7uZ1i0y7C/bfyqVUI2wYUUhwTngOLxg0Y4= X-Received: by 2002:a05:622a:4c:: with SMTP id y12mr11381620qtw.21.1639983061428; Sun, 19 Dec 2021 22:51:01 -0800 (PST) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 References: <202112200529.1BK5T0np047358@gitrepo.freebsd.org> In-Reply-To: <202112200529.1BK5T0np047358@gitrepo.freebsd.org> From: Kyle Evans Date: Mon, 20 Dec 2021 00:50:50 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 4f741801d860 - main - t_setrlimit: Adjust resource limit to 20M To: Wojciech Macek Cc: src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639983062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G9NJNtVVjc1b4KYb5vZq4vKZD1wz2Xvf9O51pAHS6ZE=; b=u1QQ+DWYq8bkbWJl81EQ6i99hs21DXG4/Jj95TAKz1o5X5qwJduw3qE9eCzbdJZGovAhAJ 441Jgc2UZ86RVHQT3XqlAX2fclRyHfnFRLit+oDR6OrfCjoRlkEFaRpb03pRDBZZt/RDfH gfADvjL6Y4c0qYv+oCjc8yibP7BFSp62A1d8LV1VHC16aiJjcT9RDKLvZf2WuQOCa5WP5H ikPVFkfW5XdzKyyF3ltRhk4djrMGNXzwjvbSL3EKSrvljzE6Prm6spm+gG1iYN0CEkM4fL w6Sy3AHjCHeixrD3aIh3E2eer/zavXvXCUg9eosXtDo75tXfp5Aq/q3oQBTm3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639983062; a=rsa-sha256; cv=none; b=S2i5yiMT7ZAjSu6ufSDVppbIZAxfPuAfjQl0ojyI/CfctTIwrLhp5QpKgNiPDf7lCU14Qq WfWiXHcA8qHOco0AC/cuZ7u1ozA9hwcueG4Hwr1CXJtm6WyIjW2KiiPqxgVpBks/We7Yjp qjsfQvOmsevXiZwniZVzhAL3dKBeTrdkkwcYd+nsPtglQLbkweXmivPrcLKuwkYt+Vj/Tn f+qUtGSoXafw3YJwcjgyE5IR25HqHwy1CmVqtShojbyVUhoWbwjErCPXbBBRRq/BxkU0j6 EBDbNXj75O7KAaI7rkoRa9wxHbBP44qfrjqhOwfK8usnJQFZDmcBfnjMP3UERA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Sun, Dec 19, 2021 at 11:29 PM Wojciech Macek wrote: > > The branch main has been updated by wma: > > URL: https://cgit.FreeBSD.org/src/commit/?id=4f741801d86089a1c5d631ba1e0f1421cdcf7a7e > > commit 4f741801d86089a1c5d631ba1e0f1421cdcf7a7e > Author: Dawid Gorecki > AuthorDate: 2021-12-20 05:27:12 +0000 > Commit: Wojciech Macek > CommitDate: 2021-12-20 05:28:20 +0000 > > t_setrlimit: Adjust resource limit to 20M > > With ASLR enabled by default, RLIMIT_STACK test fails due to the fact > that default stack gap can be as big as 15M. Because of that the > resource limit of 4M results in test program receiving SIGSEGV > immediately after exiting the setrlimit syscall. Since the idea of this > test is to check if rlim_cur does not extend past rlim_max, adjusting > the resource limit to 20M should not invalidate the test results. > I can't seem to find the PR at the moment, but isn't this exactly the kind of thing markj@ talked about trying to avoid elsewhere? It seems like this probably should've been involved in the discussion rather than hacked around independently. Thanks, Kyle Evans