From nobody Tue Dec 2 13:59:04 2025 X-Original-To: freebsd-hackers@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 4dLMns5YXHz6KTNt for ; Tue, 02 Dec 2025 13:59:13 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4dLMns2yQMz3sMm; Tue, 02 Dec 2025 13:59:13 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 233F6D7891; Tue, 02 Dec 2025 13:59:05 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 5B2Dx4VL075037; Tue, 2 Dec 2025 13:59:04 GMT (envelope-from phk) Message-Id: <202512021359.5B2Dx4VL075037@critter.freebsd.dk> To: Moin Rahman cc: Samir , "freebsd-hackers@freebsd.org" Subject: Re: FreeBSD but without jail In-reply-to: <8C497C07-E01C-47E3-93A5-4CD44141E6C2@freebsd.org> From: "Poul-Henning Kamp" References: <8C497C07-E01C-47E3-93A5-4CD44141E6C2@freebsd.org> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <75035.1764683944.1@critter.freebsd.dk> Date: Tue, 02 Dec 2025 13:59:04 +0000 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dLMns2yQMz3sMm -------- Moin Rahman writes: > You can build your system with the following in your `src.conf` > WITHOUT_JAIL=yes That only prevents the userland programs notably jail(8) from being built. The kernel support for jails is tightly integrated, not controlled by an option. I dont think anybody has ever suggested, there even might be a measurable performance impact, so I'm a bit puzzled as to the goal might be here ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.