From nobody Sat Feb 03 19:58:32 2024 X-Original-To: jail@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 4TS3Nm6931z58JpT for ; Sat, 3 Feb 2024 19:58:32 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TS3Nm53txz44tJ for ; Sat, 3 Feb 2024 19:58:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706990312; 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=LZbcqeWjy9GKHYzlmTNGZJZ7TFUBBAa4sNCZ+MN93do=; b=ehggMDx69zshaPoQTZLBilDuu2kaUjSDyU/6FlN6XpVA3871PKtMGvn1o2Cbgswc2IRtPg 6eNldASBOHpnCVETZVI1B9MU6aknqhjkKSXY9bpAZZwXRqZZua/u7q6Yt9Jr2lci8+s36t LJ6CSAqs1tHw2dVAzEBPwhsBfpTdvgEFt1rJeL0f6EXVyVA6SwoYV4nCuqAVWF2usGhdt1 gqoyJoiXD0+lMXukzNB9ZErLLpXrodeBKw0GSOR7MjcweqlPFtxE2Jt30nWZ+JJZu/J1Db 8KyC1y/OS+v8FerYIgvMKwVYT+UHvwyFlrbjdJXs0TWa+C3Wxuf5HK1BkOI85g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706990312; a=rsa-sha256; cv=none; b=f2ERAOa8offrhX38bC1nDlWPLeZU7UHrWmmSh8/ULIZ6eG7Sv9I/YXpRTVduLEnQZBaSTa x8uPF4QO2uv4oVyGfkZa/g/ug1mkXgLMCkLuPtjptopNbKwh//926i+LMlHBFHllBAGbw0 jlE9ZfKn2Bf3yG5tk7YGfDtVxrLN2DVfesOH2N7Tgt51kAn0BjYRS6Q1ZtqDmXAFdgFyFP qVFZlP1zO6xi2CI68xbT5fBSOc6LiN3MCPGyOnTGhPi3OSdH8p8jkEWmnQ1AaRQ+Wq933R wbwFUPD9Gaxlas5n6mc8aHgOs80s970uFohc+2hQms5K1tuel+S6TdyY7gfZrQ== 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 4TS3Nm474xzRL7 for ; Sat, 3 Feb 2024 19:58:32 +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 413JwWHS042105 for ; Sat, 3 Feb 2024 19:58:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 413JwWhw042104 for jail@FreeBSD.org; Sat, 3 Feb 2024 19:58:32 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: jail@FreeBSD.org Subject: [Bug 276809] SEGFAULTs using libjail Date: Sat, 03 Feb 2024 19:58:32 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd-bugs@aliases.systohc.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276809 --- Comment #2 from Fabiano Sidler --- Ah, of course I'm an idiot! How can I expect any param to have a value in s= uch a "list all possible param NAMES" call? The C program works now as expected, but I still get the SEGFAULT in Python after the first parameter (zfs.mount_snapshot). What is there still a probl= em? --- listjailparams.c.old 2024-02-03 20:07:04.525535000 +0100 +++ listjailparams.c 2024-02-03 19:55:56.447438000 +0100 @@ -8,7 +8,7 @@ printf("number of params: %d\n", nparams); for (int i=3D0; i