From nobody Sat Sep 14 10:10:14 2024 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 4X5Rkf1vMGz5WWXZ for ; Sat, 14 Sep 2024 10:10:18 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X5Rkd1gf6z42kY for ; Sat, 14 Sep 2024 10:10:17 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=D5acv4tr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2a00:1450:4864:20::430 as permitted sender) smtp.mailfrom=paulf2718@gmail.com Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-374ca7a10d4so1950668f8f.3 for ; Sat, 14 Sep 2024 03:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726308616; x=1726913416; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=c/zwPv+SybjYFFJfPLjGtTcA0kLfZK3TRPOYExbOS3Y=; b=D5acv4trp/1JKIVAcw2HdlakFsDbITtMn/F5CHUZIoHs1mudV6B8G/S3z9CA6Qz9IV t221tEvKUBZMOhTecfTeg0D7j9JXQYbkDE3FHPb9ZCbWW1togJf2QAuh2Df1FLaTRhiy Wty1KmaQOTvhL8IGpftg855kmNuMVs5OAexzCXOT78oFaSCNmUFosH+IPLPlNumV/DWv ZD61b1jdVRlW9RrzUvf4uDzEdtg3vGKZ0eMtVjYJJN1wU7LJLawakEedndcOKt2edBbQ lm2EEfoN5WwT51lkq23nrLqsSheErob6DfF/SX5LFGVJ0sdvO1IfezXCtbYZPT924ehu 55Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726308616; x=1726913416; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=c/zwPv+SybjYFFJfPLjGtTcA0kLfZK3TRPOYExbOS3Y=; b=itV99bRRAvJ7p1VPkkOfM2glIbGYu1qio89Qg4OffyItxO7XtfcApq7AT57PZMHKfh vcl/+UUTGRsQ3W+TOVRj6gZ94CvnYoEq+DvEyO+rBqxby/aVe/wWsVXamXFKycOdsaKm S3HIJEW/jbxTA2YsXSdanebqQRyj/fnc3SvLnToxO1lgB5igGoJzwziebnnjx7pSOlen UNVyP95btAdgEax4APNrmaloD/AK1LqVxJsb5bIojWbuOdOU9MMa1Ggdagx6Drw+bl9o i4Oqc+LHZA0lBuiFUoOW//XBFQMw83Lw0L60MT0WSm+kVt+DLJqJ9lF8Nv9t5rbSFkPZ mPEw== X-Gm-Message-State: AOJu0YyuDTplGXrvNfxM21X560IA2dg3adYDMC7/0CwpWpo7Ti8nWZQ1 dgMT24G196iMqFZoMC+eMozB6iQ6pAb/eoOS+3mRjjvLYqtZAHf5BJwmGQ== X-Google-Smtp-Source: AGHT+IF37Qrh9iAHKIol+mI1m/sfrpZHZ0DtjAp/EE5qwWj1iTwwSlnJfff/l65ZYQJlt9G5a9/qaA== X-Received: by 2002:adf:9798:0:b0:374:c1cc:2eb7 with SMTP id ffacd0b85a97d-378c2d04ebemr5457500f8f.35.1726308615329; Sat, 14 Sep 2024 03:10:15 -0700 (PDT) Received: from ?IPV6:2a01:cb15:801f:7500:1aa9:5ff:fe16:2efb? ([2a01:cb15:801f:7500:1aa9:5ff:fe16:2efb]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73e80dbsm1349539f8f.33.2024.09.14.03.10.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Sep 2024 03:10:14 -0700 (PDT) Message-ID: Date: Sat, 14 Sep 2024 10:10:14 +0000 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 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Hackers From: Paul Floyd Subject: ioctls that return file descriptors Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::430:from] X-Rspamd-Queue-Id: 4X5Rkd1gf6z42kY Hi Does anyone know of any FreeBSD ioctls that return file descriptors? An example from Linux is DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD. A+ Paul