From nobody Mon Dec 16 15:24:15 2024 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 4YBkJ34YRdz5hZ4q; Mon, 16 Dec 2024 15:24:19 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBkJ345wRz4Fl2; Mon, 16 Dec 2024 15:24:19 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734362659; 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=klYRsfzCUFZPhLRKfsIDTQ84+/jlZgvLxMMHPnF5dS0=; b=Wn6vFpJLFfOvv6hmu7oIxK5Cyyyb+c8wMk2gez7MHSxSscXOBby09Dr/JEQrc+v7hTbCXa yfJ19L9kAbUErkR/GvrV3wYxOFDlswPQ7it/JGyVr7m6swbunfOW+SI9JAmcvHnhKh2X2w +dpZBNU1/UbjIR/I64jtxO6ZPRW+RMyH8jLzdMyo1fWCZtWbmhchCx9kIKXhjS+tu3mqE5 I60ANE7mIrnxxPCaXUi1Shi/h/Ce7VUU+tylOkY7OgPHXyFAV49m5vIGraCDq3I3XHEnfm zAteEVNfW8YumwgN4j/5BiqsL0+Wetm20l5VYNnMERVC1CdRS2ykzhh8K1LLyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734362659; 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=klYRsfzCUFZPhLRKfsIDTQ84+/jlZgvLxMMHPnF5dS0=; b=xUfuSAbvLJsqQwMIX/5Kdu7fDWs3OvX8uxLbJAwmWeWrfNr4vqZuPTowTHyiA5b8CwDHAM GrhpTnwa+Q1OC2QuU4htMT6LwwDktV+OPgDeJBJfjdxdydBvHbK1BYzAJlHnITw88GsZV8 SQViXZZ3GKYIGwPgib3R1oMcNL1J+zrBf1UMdhuWEf04R+vej+t4IIhoiJ35jxofl25V3N kCOxccOZ3KkzAZu6L731i2D39XGCqwn8vYRPt/6r1lX/HcpV7Erzhl3mwoNqZidikSC6LC 7JWm0D4iRh1Y4NOEnnRrTKtLzbkMn5Im6f7eYF1RDVo29qqENxYo7gcipqfSwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734362659; a=rsa-sha256; cv=none; b=t6rXsUwFcNlFWfygu/rpjKbkLae8WDCh2MkqYdNoP+5caZv3cfwpf2O2a2NqbH/J5RCzt7 rwi7TC7bYkXRePTKePy7jZA3ZZ9x7Q9jJty3T4RLy74U9oclujl63Qfig2qfIXM6o1Yq5V ZjEFUplvn8G4z9jF0L95fIRhgpvxl7ej5O4bzD0eQmwZExM86ot7WMr+Th7g44aptaS9E8 bCjECMzAUTayRDS5GGIektVGx9oMq7ROsNFI+vjL0lcmQx3tFPhk7wEnEJ585wQhenaVMK yzzpuCNVNjae46lTTDHcvFGq5KWm88VAKx7WpiYxgr+CI0vOROzPM2vY8/WNOw== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::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) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YBkJ32qdNz1B8b; Mon, 16 Dec 2024 15:24:19 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id B9DDC198F93; Mon, 16 Dec 2024 16:24:15 +0100 (CET) Date: Mon, 16 Dec 2024 16:24:15 +0100 From: Baptiste Daroussin To: Olivier Certner Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: d2be7ed63aff - main - cred: proc_set_cred(), proc_unset_cred(): Update user's process count Message-ID: References: <202412161445.4BGEjYvf052320@gitrepo.freebsd.org> 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202412161445.4BGEjYvf052320@gitrepo.freebsd.org> On Mon 16 Dec 14:45, Olivier Certner wrote: > The branch main has been updated by olce: > > URL: https://cgit.FreeBSD.org/src/commit/?id=d2be7ed63affd8af5fe6203002b7cc3cbe7f7891 > > commit d2be7ed63affd8af5fe6203002b7cc3cbe7f7891 > Author: Olivier Certner > AuthorDate: 2024-08-02 15:57:51 +0000 > Commit: Olivier Certner > CommitDate: 2024-12-16 14:42:32 +0000 > > cred: proc_set_cred(), proc_unset_cred(): Update user's process count > [snip] > + > +void > +proc_set_cred(struct proc *p, struct ucred *newcred) > +{ > + bool success = _proc_set_cred(p, newcred, false); This breaks build for GERNERIC-NODEBUG --- kern_prot.o --- /home/pkgbuild/worktrees/main/sys/kern/kern_prot.c:2697:7: error: unused variable 'success' [-Werror,-Wunused-variable] 2697 | bool success = _proc_set_cred(p, newcred, false); | ^~~~~~~ > + > + MPASS(success); > +} > + Best regards, Bapt