From nobody Mon May 5 12:28:48 2025 X-Original-To: bugs@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 4Zrgmw25Pmz5vRB1 for ; Mon, 05 May 2025 12:28:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zrgmv6ynJz3Q6H for ; Mon, 05 May 2025 12:28:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746448128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ivU+Cf6AsmlVpX8/BL4fzu5K98UMtGcg+F28y8OoXA0=; b=E2GHmSgG6iJPe3WzbcDLyBiqRSX5ZSxwSWyMcAyEmNmQw8wqE2KsTnfRfYMW4EQfns3gW9 XT6V8ptI+/o/UZzvXjhty7xNtVH9yRwAosUilkrqKtndrujqIQq6IQV56MhypSzkSBt+vc 1fgO6FBYjs4aoa23BxwhngaDVff/n/P7EdHPqg45H6gtM+2YXThsR45xor4CxY+aWt3rN9 oqHFJhLTFaJQ7XCWtTSSOrFuP/5o/ccoSreK6SQwMQPAsZrkj92rAp2PyXdxkQyXl+00lK 2/5IxlDej9Gc40wyXkIJFPS9frZeknJFicVd6Yx4W1p8+hPRo9YQcQARgaDuRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746448128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ivU+Cf6AsmlVpX8/BL4fzu5K98UMtGcg+F28y8OoXA0=; b=mXOkWwZe6RrS1JLVF+kSbq560wCYXiqxSX8fbBO/i4lRr4Ms5rAvmRwpeZ8jakk0gdGthz 7oO7Fitw+YbGB/bp7gY8Vdyo2o/cgHHM/IeemYy6bs9Qa5e25NY7jtcC6/yS9oEcygqMrU 0PYces4RXFitYvOCGB2vsJOBcdyUUIr9HwLhk7ivEfcHPsN5uluLBVYv4l0lWCpyKW+GmZ 9z3li2Gxg0/aKF1vYQyCvstxJiY5qysA2LcWn084q5Kw+31Mt/iFebdxZRpZRH4xesI4Wa nRelDzmVo5IayuYxlof5hANtALh93dzkTpFhZ/nTJXDefiPEGF7odG/0Fya7Dw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746448128; a=rsa-sha256; cv=none; b=BOOune2Q10qXhvBzeViJ3LaFz73PWGzlzVWG7L7D5KuZwkZ9eoJZ5H76lES3mjHX+mTw7d uMTi1EMVXrhnCP7xt2Xl+sYutIapC8c2VEAt3PltIlEzO6Ze/gcVgkih+ANy06fIGlyPDm fElVMU4zffVJdl8SnjUkSTI2ah7Wno1K2txmwV2ubkDh07RI0RkBawrLf53oTaBVEMuWPL s+WlDpZwuvi7IkVOwUQvycGKd57jcQldKIqGrELqCM7OHudQduws1z6s9L7F6KlV1Fryyv LSG4pM7XIk/Shbq0hztVnq38FAFvXIS5Ob+wg2lk0rl8SD9dCjsWOXmwVW4tng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Zrgmv6Hrxz1Cmm for ; Mon, 05 May 2025 12:28:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 545CSlPK046025 for ; Mon, 5 May 2025 12:28:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 545CSlnG046024 for bugs@FreeBSD.org; Mon, 5 May 2025 12:28:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 286599] ps(1) with -J broken sometime between b095a41a3a2a & 4fa275a5f357 Date: Mon, 05 May 2025 12:28:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olce@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olce@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution assigned_to cc bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286599 Olivier Certner changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Assignee|bugs@FreeBSD.org |olce@FreeBSD.org CC| |olce@FreeBSD.org Status|New |Closed --- Comment #1 from Olivier Certner --- Hey Dave, There is indeed an on-purpose change in behavior, both to become standard compliant and also for consistency. See commit message of https://cgit.freebsd.org/src/commit/?id=3D93a94ce731a89b and also the updat= ed manual page. In a nutshell, once a process is selected by any option, it w= ill be listed regardless of the other options (except for -X/-x, which work as a (non-)filter; in more formal words, the processes selected by each option f= orm a set, and all these sets are unioned/ORed to obtain the final process list= ). If you want to list processes only from a specific jail, then you simply do= n't need '-a'. Just remove it from your command-line and you should get the expected result. '-J' is not a filter (and AFAICT nothing hints it was intended to be one, both in the code and the documentation). Thanks and regards. --=20 You are receiving this mail because: You are the assignee for the bug.=