From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/15126 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Leah Neukirchen Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] define RLIMIT_RTTIME, bump RLIMIT_NLIMITS Date: Sat, 11 Jan 2020 20:16:59 +0100 Message-ID: <20200111191658.1507-2-leah@vuxu.org> References: <20200111184212.17854-1-leah@vuxu.org> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83210"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-15142-gllmg-musl=m.gmane-mx.org@lists.openwall.com Sat Jan 11 20:18:39 2020 Return-path: Envelope-to: gllmg-musl@m.gmane-mx.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iqMGr-000Ba9-El for gllmg-musl@m.gmane-mx.org; Sat, 11 Jan 2020 20:18:05 +0100 Original-Received: (qmail 26239 invoked by uid 550); 11 Jan 2020 19:17:58 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26090 invoked from network); 11 Jan 2020 19:17:57 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KXU+hW43Jpvg3JmUrbCDwm/tCHOc7eSmO/OAaSri/eQ=; b=Uon3sZf1eie89hTAWgHBng5V7LZFKxCbrwcjLAcLLXO1ApJDALZzIAApIu1kfWKFXW 8v0GOwZ0RQlykZlRcbN8S5L6bzhj5vlp0Yk81aJ/QTkaXAS4Exonc/7sq2oEjQ7xcsdG 2/qSjcTe5gflk1I3tku5N/Ziq32PmxPmOLU6ycnFptY/zwKOuM4YwejhaMjoNVIoFv9e PPpSulLGeIZQfBPFaKjZRkahEAii8JxAjJE9r8lPv+UXvU3XrZlehhZQ/rwjXjkEI6kO jrMsGiaJd34xIed2wyJhrVmcolumHVd1O3dk9e9RT3Yp/P17ASUHR80fCLmh1XcaSh8d BrbA== X-Gm-Message-State: APjAAAVvv7rYCe2zTQsKmkVm7zWlPx0dNq521E1vgH28DNA5O2QynCg2 1hU0aNpf1mch6hb4W9WW45Qu/uaOONM= X-Google-Smtp-Source: APXvYqw3MAbS9ai+lWerLiCNVG9Eupt8AcpUsvQapBx8s8mIeJNNuhN3Q5w5WNoykERlpg35OXpM9g== X-Received: by 2002:adf:d850:: with SMTP id k16mr9579304wrl.96.1578770265542; Sat, 11 Jan 2020 11:17:45 -0800 (PST) X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200111184212.17854-1-leah@vuxu.org> Xref: news.gmane.org gmane.linux.lib.musl.general:15126 Archived-At: This macro exists since Linux 2.6.25 and is defined in glibc since 2011. Signed-off-by: Leah Neukirchen --- include/sys/resource.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/sys/resource.h b/include/sys/resource.h index e0c86ae3..3068328d 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -90,7 +90,8 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); #define RLIMIT_MSGQUEUE 12 #define RLIMIT_NICE 13 #define RLIMIT_RTPRIO 14 -#define RLIMIT_NLIMITS 15 +#define RLIMIT_RTTIME 15 +#define RLIMIT_NLIMITS 16 #define RLIM_NLIMITS RLIMIT_NLIMITS -- 2.24.1