From nobody Mon Nov 06 15:21:52 2023 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 4SPFT82cBDz500PZ for ; Mon, 6 Nov 2023 15:22:20 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SPFT7516dz3Thb for ; Mon, 6 Nov 2023 15:22:19 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.221.174 as permitted sender) smtp.mailfrom=6yearold@gmail.com; dmarc=none Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-4ac42a20f35so471694e0c.2 for ; Mon, 06 Nov 2023 07:22:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699284138; x=1699888938; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/jQSveNcnSa+N+Rm79LoGBENRf4QDTuyrIkx5SK1lDo=; b=Kwsj+dbaVR7kVzyRpu2Xp+9yHB0d/nQn2acIs46RN4OpHGLJKezyyajo7iAc68ouJY gjZ1UF7fOixETL48jBU2gnuU/zsT9HfpD5mzUqNomqeofSFjJmpIwrnNopRNb6CJkIvI 7JFzH9CI/TTD0NW7qLWvzZqamJtuEhJ0qvIf7xqwrSs3eetIQeZWPjASotWCGQfCkz5O 4qC7dUOmzo0xPtBf+FNpxk9wU3AOxULcmuHpPeu7EJMd7vlEq9LYVi0pOks1TLwfG0am I5fmixCwGH6/7BNpNAwm1Nh6qd/ggR+3tg3VuPL5Q2CfQbkE6RwxcZsK5tKCZww72xU4 XdHQ== X-Gm-Message-State: AOJu0YxTgEdJ4hR/ZjTAyEvD9h11KepvQBPo3Vw4+xZliVJ31BG0rZq5 PNO1TOTL9iy3YzWc7GfIl35vmXsNTIaadw== X-Google-Smtp-Source: AGHT+IGpSdl7hNe7dSgKIS/Ef0Vqk1OykT0vjFU941X/lFOT2gC4OFfHBSzytie25EW/B9ODZzIb6Q== X-Received: by 2002:a1f:1e08:0:b0:495:bd61:a184 with SMTP id e8-20020a1f1e08000000b00495bd61a184mr19549862vke.2.1699284138540; Mon, 06 Nov 2023 07:22:18 -0800 (PST) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com. [209.85.217.48]) by smtp.gmail.com with ESMTPSA id q134-20020a1f2a8c000000b0048b0a60bee4sm1598861vkq.36.2023.11.06.07.22.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Nov 2023 07:22:18 -0800 (PST) Received: by mail-vs1-f48.google.com with SMTP id ada2fe7eead31-45d98cbe098so799809137.1 for ; Mon, 06 Nov 2023 07:22:18 -0800 (PST) X-Received: by 2002:a67:c11b:0:b0:45d:9ae0:5fe8 with SMTP id d27-20020a67c11b000000b0045d9ae05fe8mr4825383vsj.27.1699284138121; Mon, 06 Nov 2023 07:22:18 -0800 (PST) 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 References: In-Reply-To: From: Gleb Popov Date: Mon, 6 Nov 2023 18:21:52 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Stupid Linux-on-FreeBSD question To: George Mitchell Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-1.49 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.976]; NEURAL_HAM_SHORT(-0.90)[-0.901]; NEURAL_SPAM_MEDIUM(0.39)[0.389]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[209.85.221.174:from,209.85.217.48:received]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.221.174:from]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_ALL(0.00)[]; TAGGED_RCPT(0.00)[freebsd]; DMARC_NA(0.00)[freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com] X-Rspamd-Queue-Id: 4SPFT7516dz3Thb X-Spamd-Bar: - On Mon, Nov 6, 2023 at 5:35=E2=80=AFPM George Mitchell wrote: > > For over twenty years, I've been able to avoid Linux pollution of my > FreeBSD systems, but the recent availability of Widevine DRM support > in Chromium caught my attention, and it looks like resistance may > possibly be futile. But in attempting to compile ports like > www/foreign-cdm and emulators/linux_base-c7, I get the impression that > I should have set linux_enable in my /etc/rc.conf even to compile them, > let alone run them. Is that correct? > > (A little more context: Yes, I am trying to avoid having a dedicated > Linux USB drive to be able to stream Widevine content.) -- George > For most linux ports - no, Linux binaries are just copied into /compat/linux. But for foreign-cdm - yes, as at runs Linux gcc to compile a Linux binary during the build.