From nobody Mon Mar 24 10:53:47 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 4ZLqhK5v2lz5rlwl for ; Mon, 24 Mar 2025 10:55:13 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from weser.webweaving.org (weser.webweaving.org [148.251.234.232]) (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 ECDSA (secp384r1) client-digest SHA384) (Client CN "weser.webweaving.org", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZLqhH4BtTz3mZr for ; Mon, 24 Mar 2025 10:55:11 +0000 (UTC) (envelope-from dirkx@webweaving.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=webweaving.org header.s=shared header.b="eq/ORogG"; dmarc=pass (policy=none) header.from=webweaving.org; spf=pass (mx1.freebsd.org: domain of dirkx@webweaving.org designates 148.251.234.232 as permitted sender) smtp.mailfrom=dirkx@webweaving.org Received: from smtpclient.apple (84-26-64-194.cable.dynamic.v4.ziggo.nl [84.26.64.194]) (authenticated bits=0) by weser.webweaving.org (8.18.1/8.18.1) with ESMTPSA id 52OArmDR032745 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 24 Mar 2025 11:53:48 +0100 (CET) (envelope-from dirkx@webweaving.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=webweaving.org; s=shared; t=1742813628; bh=kgrbDtp6pIc2qenhPO0+t755DSexhp7Kr2Dmxtx0v20=; h=From:Subject:Date:To; b=eq/ORogGDoySHX1/IuvPfRpg5aU9tTHuztEIBIvlAaS68YSAmWZI9b2Ez2+wgvd8k 5JXaapgNm43UaRUe0jX0yPNL4eKikppBrx8eo10c3jbXYzsAl6d1NckjTXC6++fpYd 87mXOsaRTwb0C35rJuSZDUU6VD3dk8och7C+XwXU= X-Authentication-Warning: weser.webweaving.org: Host 84-26-64-194.cable.dynamic.v4.ziggo.nl [84.26.64.194] claimed to be smtpclient.apple From: Dirk-Willem van Gulik Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: panic: general protection fault -- ZFS scrub/checkum related Message-Id: <6A36752E-E5EB-43C8-B113-AF9240AA8F47@webweaving.org> Date: Mon, 24 Mar 2025 11:53:47 +0100 To: FreeBSD Hackers X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (weser.webweaving.org [148.251.234.232]); Mon, 24 Mar 2025 11:53:48 +0100 (CET) X-Spamd-Result: default: False [2.29 / 15.00]; NEURAL_SPAM_MEDIUM(0.99)[0.987]; NEURAL_SPAM_SHORT(0.96)[0.958]; NEURAL_SPAM_LONG(0.64)[0.640]; DMARC_POLICY_ALLOW(-0.50)[webweaving.org,none]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.20)[]; R_DKIM_ALLOW(-0.20)[webweaving.org:s=shared]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[webweaving.org:+] X-Rspamd-Queue-Id: 4ZLqhH4BtTz3mZr X-Spamd-Bar: ++ On stock FreeBSD 13.4-RELEASE-p1 GENERIC amd64 -- after a dead disk = replacement in a raidz3-0 pool; after a successful re-silvering; = subsequent scrubs show one of the non-replaced disks racking up checksum = errors quite rapidly - and (each time sofar, not caught it in the actual = act yet) at around 30% and around 299 checksum errors; crash with below = kernel panic. Does this ring a bell with anyone ? Dw # tar zxf kernel-dbg.txz -C / # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.0 ... substantially indentical to below # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.1 ... substantially indentical to below # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.2 ... substantially indentical to below # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.3 GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD] .. Unread portion of the kernel message buffer: .... <7>sonewconn: pcb 0xfffff800623027c0 (148.251.234.232:993 (proto 6)): = Listen queue overflow: 49 already in queue awaiting acceptance (4 = occurrences) <118>2025-03-24T10:58:12.552431+01:00 weser.webweaving.org bandwidthd = 1338 - - IP_NUM is too low, dropping ip.... Fatal trap 9: general protection fault while in kernel mode cpuid =3D 0; apic id =3D 00 instruction pointer =3D 0x20:0xffffffff80cf2535 stack pointer =3D 0x28:0xfffffe0261056e88 frame pointer =3D 0x28:0xfffffe0261056eb0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 43896 (ps) trap number =3D 9 panic: general protection fault cpuid =3D 0 time =3D 1742810293 KDB: stack backtrace: #0 0xffffffff80c3dd05 at kdb_backtrace+0x65 #1 0xffffffff80bf1882 at vpanic+0x152 #2 0xffffffff80bf1723 at panic+0x43 #3 0xffffffff810ae069 at trap_fatal+0x389 #4 0xffffffff81085098 at calltrap+0x8 #5 0xffffffff80bd5e9c at fill_kinfo_proc+0x72c #6 0xffffffff80bd6484 at kern_proc_out+0x34 #7 0xffffffff80bd8d46 at sysctl_out_proc+0x66 #8 0xffffffff80bd6d21 at proc_iterate+0x111 #9 0xffffffff80bd8cb2 at sysctl_kern_proc+0xf2 #10 0xffffffff80c022d1 at sysctl_root_handler_locked+0x91 #11 0xffffffff80c016e4 at sysctl_root+0x244 #12 0xffffffff80c01d5e at userland_sysctl+0x15e #13 0xffffffff80c01bc0 at sys___sysctl+0x60 #14 0xffffffff810ae933 at amd64_syscall+0x103 #15 0xffffffff810859ab at fast_syscall_common+0xf8 Uptime: 14h20m32s Dumping 9139 out of 32415 = MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:53 warning: 53 /usr/src/sys/amd64/include/pcpu_aux.h: No such file or = directory (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:53 #1 doadump (textdump=3D) at = /usr/src/sys/kern/kern_shutdown.c:394 #2 0xffffffff80bf144e in kern_reboot (howto=3D260) at = /usr/src/sys/kern/kern_shutdown.c:482 #3 0xffffffff80bf18ef in vpanic (fmt=3D0xffffffff8120c09e "%s", = ap=3Dap@entry=3D0xfffffe0261056d30) at = /usr/src/sys/kern/kern_shutdown.c:921 #4 0xffffffff80bf1723 in panic (fmt=3D) at = /usr/src/sys/kern/kern_shutdown.c:845 #5 0xffffffff810ae069 in trap_fatal (frame=3D0xfffffe0261056dc0, eva=3D0)= at /usr/src/sys/amd64/amd64/trap.c:940 #6 #7 strlcpy (dst=3D, src=3D, = dsize=3Ddsize@entry=3D9) at /usr/src/sys/libkern/strlcpy.c:37 #8 0xffffffff80bd6024 in fill_kinfo_thread (td=3D0xfffff8066b02c740, = kp=3Dkp@entry=3D0xfffffe0261057220, preferthread=3Dpreferthread@entry=3D0)= at /usr/src/sys/kern/kern_proc.c:1262 #9 0xffffffff80bd5e9c in fill_kinfo_proc (p=3Dp@entry=3D0xfffffe014390757= 0, kp=3Dkp@entry=3D0xfffffe0261057220) at = /usr/src/sys/kern/kern_proc.c:1368 #10 0xffffffff80bd6484 in kern_proc_out (p=3D0xfffffe02610573bb, = p@entry=3D0xfffffe0143907570, sb=3Dsb@entry=3D0xfffffe02610576a0, = flags=3D8, flags@entry=3D1) at /usr/src/sys/kern/kern_proc.c:1551 #11 0xffffffff80bd8d46 in sysctl_out_proc (p=3D0xfffffe0143907570, = req=3D0xfffffe0261057cc8, flags=3D1) at = /usr/src/sys/kern/kern_proc.c:1594 #12 0xffffffff80bd6d21 in proc_iterate (cb=3D0xffffffff80bd8e30 = , cbarg=3Dcbarg@entry=3D0xfffffe0261057ba8) at = /usr/src/sys/kern/kern_proc.c:1617 #13 0xffffffff80bd8cb2 in sysctl_kern_proc (oidp=3D, = arg1=3D0xfffffe0261057d8c, arg2=3D, = req=3D0xfffffe0261057cc8) at /usr/src/sys/kern/kern_proc.c:1790 #14 0xffffffff80c022d1 in sysctl_root_handler_locked = (oid=3Doid@entry=3D0xffffffff81ccd0a0 , = arg1=3Darg1@entry=3D0xfffffe0261057d8c, arg2=3Darg2@entry=3D0, = req=3D0xfffffe0261057cc8, tracker=3Dtracker@entry=3D0xfffffe0261057c4= 8) at /usr/src/sys/kern/kern_sysctl.c:183 #15 0xffffffff80c016e4 in sysctl_root (oidp=3D, = arg1=3D0xfffffe0261057d8c, arg1@entry=3D0xfffffe0261057d80, arg2=3D0, = arg2@entry=3D3, req=3Dreq@entry=3D0xfffffe0261057cc8) at /usr/src/sys/kern/kern_sysctl.c:2302 #16 0xffffffff80c01d5e in userland_sysctl = (td=3Dtd@entry=3D0xfffff80433510740, name=3Dname@entry=3D0xfffffe0261057d8= 0, namelen=3D, old=3D, oldlenp=3D, inkernel=3Dinkernel@entry=3D0, new=3D0x0, newlen=3D0, = retval=3D0xfffffe0261057de8, flags=3D0) at = /usr/src/sys/kern/kern_sysctl.c:2459 #17 0xffffffff80c01bc0 in sys___sysctl (td=3D0xfffff80433510740, = uap=3D0xfffff80433510b28) at /usr/src/sys/kern/kern_sysctl.c:2332 #18 0xffffffff810ae933 in syscallenter (td=3D0xfffff80433510740) at = /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:188 #19 amd64_syscall (td=3D0xfffff80433510740, traced=3D0) at = /usr/src/sys/amd64/amd64/trap.c:1181 #20 #21 0x0000274db155238a in ?? () Backtrace stopped: Cannot access memory at address 0x274dadb15168 (kgdb) quit From nobody Tue Mar 25 05:04:23 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 4ZMHsD4Jq6z5s15J for ; Tue, 25 Mar 2025 05:04:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 4ZMHsC0FpKz3HGH; Tue, 25 Mar 2025 05:04:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 52P54Nji016692; Tue, 25 Mar 2025 07:04:26 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 52P54Nji016692 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 52P54NvA016691; Tue, 25 Mar 2025 07:04:23 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Mar 2025 07:04:23 +0200 From: Konstantin Belousov To: Gleb Popov Cc: freebsd-hackers Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? Message-ID: References: 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [2.00 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_SPAM_MEDIUM(0.99)[0.995]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; ARC_NA(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[] X-Rspamd-Queue-Id: 4ZMHsC0FpKz3HGH X-Spamd-Bar: + On Wed, Mar 19, 2025 at 06:56:49PM +0300, Gleb Popov wrote: > On Tue, Mar 11, 2025 at 6:08 PM Konstantin Belousov wrote: > > > > We can provide the FreeBSD procdesc from unix socket for the peer. > > But you need to evaluate is the result actually useful, taking into > > account the different semantic. > > I closely studied the pidfd usage across dbus and xdg-desktop-portal, > here's a breakdown: > > At the lower level dbus just uses SO_PEERPIDFD in only one place to > obtain a client's pidfd: > https://gitlab.freedesktop.org/dbus/dbus/-/blob/cddd0a7c94d985587bc0da642841726adf7842ad/dbus/dbus-sysdeps-unix.c#L2343 > > It also calls pidfd_open(getpid()) in the other place, but the pidfd > obtained this way doesn't seem to be used anywhere, so we most likely > won't need to support this. > > Then at the upper level xdg-desktop-portal obtains the pidfd via dbus > API and dup()es it: > > https://github.com/flatpak/xdg-desktop-portal/blob/119aad03548f85ed249b7f21cd551f77bc74e4dd/src/xdp-app-info.c#L856 > > It then may perform following operations on the pidfd: > - map pidfd to PID > https://github.com/flatpak/xdg-desktop-portal/blob/119aad03548f85ed249b7f21cd551f77bc74e4dd/src/xdp-utils.c#L775 > It parses /proc/self/fdinfo/XXXX to get this data, and we can probably > go with pdgetpid() here. > - map pidfd to a Linux namespace by reading /proc/XXXX/ns/pid: > https://github.com/flatpak/xdg-desktop-portal/blob/119aad03548f85ed249b7f21cd551f77bc74e4dd/src/xdp-utils.c#L911 > We can approximate this operation by mapping to JID. The namespace is > then used to map namespaced pids, but this is irrelevant for us, I > suppose. > - close() Can this be summarized as just a use of pidfd to - get the pid of the peer - ensure the peer liveness? I do not see much need of pidfd for this functionality. > > > Also, the waitpid(2) issue might become more serious. > > Yes, this is what confused me the first time I heard about procdesc. > How come that creating a procdesc fd makes waiting on a PID with > waitpid(2) impossible? pidfd takes ownership of the parent/child relation. Wait() family of the functions clean after zombies, but this functionality is subsumed by the procdesc, so it is 'kind of' contradicts each other. Also, as I can guess, wait() contradicts the capsicum idea of representing all access rights as file descriptors, since the special relation with the child presented yet another special process right. From nobody Tue Mar 25 05:27:14 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 4ZMJMy5pJHz5s2Pq for ; Tue, 25 Mar 2025 05:27:42 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 4ZMJMy2SBJz3XgR for ; Tue, 25 Mar 2025 05:27:42 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-6feaa0319d8so38075447b3.2 for ; Mon, 24 Mar 2025 22:27:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742880461; x=1743485261; 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=9cO7gTYPVRJkl+KS/Va7GOJKvYcly5h1AH3xUIt4IDE=; b=Ves/ktrmTz/oVdRmj6ujsIfTg1Mo/ttESNXz7iHBUlm2TYFllV/fQuv7oddBUdZPSd gqytr+zj5gKCOcEwHhWVnq8dXehLkoxnNYE7p1aTd/f/AUYGDakbaRiMJVKr57qu5cPa LYooutqvAZxoSZ8wvM6L1vkFaKkapkkhc6AJqqVFcOQ4NvgBC1RolgYK0/+liyFbrYuM g8QBeFOPR4UIMF32jA6M8zTD9zgwexo43UKUEVjWUzksZC1OFsfQKKlkgtdIE9YjrDH4 agQpR6Hl4dj8PqtnYUM2mrmh/rcKofeMArM/A2Tgqy5jR8hPmUGfE1JI6ZNAV7HSw6qG 8GrQ== X-Gm-Message-State: AOJu0YwWIXArqsJLJFSLTasgo/ANP55aK/PqYWeHWxlzePJ3TK2vdS9Q Y9Wm0nSiyW7kDaE+YdxmW9bpzjaB5ZXhHxnD92yMn6uuiUuBXHvMFfYylQjb X-Gm-Gg: ASbGncuSUMDq7tf43e5914cnpQ22hO2gmJ1TwvaLhpu9lAuWcCdMg/b5y6JGGf+deir HyoSEtzr7ewpYx+zuqexywlP0zd74W03bqVDT6gTZRr/LwH7CyyNwVwzIWCkDKyzFUWtfiFf7BH YLtz3C6Ug9S+cbgJxOJHVVmR0weMsIThFf1uuuHYYjVVjNyg6h/28Q2TIzA1HmemWZNSUnRKVDk EthrCtoBkZicPCiOLYVl0CtnBB3jvI5mDqKsrm92pJbB28mKCEgrRZiWytfwEa877jU95CJWTP1 VJvZlWdi54hvOIeNxu+i2A1QT2xctONr9SWS9/oWzC+3AFA6uwZ2BcXPE6NZ9QEiQTKqMbMexu4 6st3yppEo X-Google-Smtp-Source: AGHT+IEQrtH6enpsWxfLDN6M9vFikqMx32zpCjz9kpMvK04rnXN1WMaltQ5ixl+BghOUpv/Nd8JL4g== X-Received: by 2002:a05:690c:600a:b0:6ef:8e4c:65ea with SMTP id 00721157ae682-700babed3ccmr200391987b3.5.1742880460986; Mon, 24 Mar 2025 22:27:40 -0700 (PDT) Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com. [209.85.219.182]) by smtp.gmail.com with ESMTPSA id 00721157ae682-700ba793325sm18843757b3.56.2025.03.24.22.27.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Mar 2025 22:27:40 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-e53c9035003so4227095276.2 for ; Mon, 24 Mar 2025 22:27:40 -0700 (PDT) X-Received: by 2002:a05:6902:1183:b0:e60:acd0:fe34 with SMTP id 3f1490d57ef6-e66a4db6bbemr20286013276.24.1742880460527; Mon, 24 Mar 2025 22:27:40 -0700 (PDT) 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: Tue, 25 Mar 2025 08:27:14 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: AQ5f1Jq5W9en2AhoOfqZKVrnAT_rSHpW3nlczMhy8AQNo8CGAaUyhJRKF8s0-RU Message-ID: Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? To: Konstantin Belousov Cc: freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZMJMy2SBJz3XgR X-Spamd-Bar: ---- On Tue, Mar 25, 2025 at 8:04=E2=80=AFAM Konstantin Belousov wrote: > > Can this be summarized as just a use of pidfd to > - get the pid of the peer > - ensure the peer liveness? > > I do not see much need of pidfd for this functionality. What's the alternative? Tapping into a socket with getsockopt(LOCAL_PEERCRED) to obtain a PID via xucred is not an option because a client is not required to maintain an established connection to a D-Bus socket. The high level code expects a descriptor with some properties, so we either provide it or have to patch large parts of the code using it. Emulating pidfd somehow is also fine to me, but I have no idea how to do that. libinotify-kqueue example shows that emulating a descriptor with certain properties is quite a non-trivial task. > pidfd takes ownership of the parent/child relation. Wait() family of the > functions clean after zombies, but this functionality is subsumed by > the procdesc, so it is 'kind of' contradicts each other. Also, as I > can guess, wait() contradicts the capsicum idea of representing all > access rights as file descriptors, since the special relation with the > child presented yet another special process right. Yes, this is a problem, and I have no experience to have an opinion there. From nobody Tue Mar 25 09:49:26 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 4ZMQBD3Dv4z5sHcl for ; Tue, 25 Mar 2025 09:49:40 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZMQBD1hb3z469f; Tue, 25 Mar 2025 09:49:40 +0000 (UTC) (envelope-from theraven@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742896180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VBgiV4OYooxkx0C/fmvfrnNBca6EaA6ccV3a9CfU3zI=; b=aeYo652ottLnWaNRusvUEeSCtiZTd2DioQG77/pOCKIzOMxV1aO2q0EPEW2xeD5j7fvLn0 5Hr0JDNuzk1fjE0NQ6HFoeQ1oQv/D/y6WvFrboiXT4VzrzmK0etH454vSfdRMtoByPW1fX RifosaRl13MI9Fla42pjJR8QGols9gor6BUQPw5AN0F+ZC+13uAE6sev06ZIvDqhfcR1zR sk+puIds1dVpFgdKttgYfuFByITUSccmoY2RpTW9cYE2oP6T+d9zB5PwlFmlqMpv8n23T+ tCZjxS3RAIpSxAu2ovPQ7BTrdGb0Tnq/Ankl/tEnZJfnkXBXsnm0M04TLPho+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742896180; a=rsa-sha256; cv=none; b=qm6wwbdKzUp1OYioI7nZjNfsRBtFzvUL34J7OYDCUyOhdn09mNVr2sWXBCPF7mp3+k3N1m LtkznenA231eGeZB0URXrMXA7goHkeK1c7zNtn93UYyEu5Ie8rzc5z/4al8crfyUB+xHDp YsE7exEMF7kS4svVSe0/2nGNS94QaYX/v6I7vzTB9G+TwSl+QBdASir13Dy9nbPRpZLAAC TzZuvp1tCfDTZK2UIGkPlIsFX7EVt4PhS1e9UIA/q3yB1k8uYYeAT1dFF6PpqXXdH612zU bWJwWOe0ol03HEn9X7oJzsQ2N5QG9UtzhRw9yOhQHB9Rew6/er5lMt1qfyo9dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742896180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VBgiV4OYooxkx0C/fmvfrnNBca6EaA6ccV3a9CfU3zI=; b=uOsCK2ZI3XGE0+ILkd4N+jpCsF1aN3+R960vyDLUOb4QFcBnOQob510l+enqLc6t3NXjdU hm83Vdh4R2KJCVoFrDGowAezV8QFne8SL1cWweJosKirz+yFCtVLr8eHtnh5VKTShuPPWS DkViuDQwJMloBmfSOwTDvtmT+IsNizpEilYi+iyYg8mIkJyMSDNwCpuWRmHtcKRH+ihJxm NJtBrNQnIBhmY1HsYgukZmBiJsNX8VtQcfesDAwB5lc/vHNmHMatTzEpSFQ7KlrWejYfUV nNEMNArQZBxvEfOaauqaMp2ICj/mmZ4Al47uvXQ/QroRMEVrnw0YnzsGhBFOtQ== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (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) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZMQBD0xdszsQw; Tue, 25 Mar 2025 09:49:40 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtpclient.apple (host109-151-111-3.range109-151.btcentralplus.com [109.151.111.3]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 64FB8520; Tue, 25 Mar 2025 09:49:39 +0000 (GMT) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? From: David Chisnall In-Reply-To: Date: Tue, 25 Mar 2025 09:49:26 +0000 Cc: Konstantin Belousov , freebsd-hackers Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Gleb Popov X-Mailer: Apple Mail (2.3776.700.51.11.1) On 25 Mar 2025, at 05:27, Gleb Popov wrote: >=20 > On Tue, Mar 25, 2025 at 8:04=E2=80=AFAM Konstantin Belousov = wrote: >>=20 >> Can this be summarized as just a use of pidfd to >> - get the pid of the peer >> - ensure the peer liveness? >>=20 >> I do not see much need of pidfd for this functionality. >=20 > What's the alternative? Tapping into a socket with > getsockopt(LOCAL_PEERCRED) to obtain a PID via xucred is not an option > because a client is not required to maintain an established connection > to a D-Bus socket. >=20 > The high level code expects a descriptor with some properties, so we > either provide it or have to patch large parts of the code using it. > Emulating pidfd somehow is also fine to me, but I have no idea how to > do that. libinotify-kqueue example shows that emulating a descriptor > with certain properties is quite a non-trivial task. It=E2=80=99s worth noting that DBUS is not the only thing that wants a = race-free way of naming a process. Debuggers also have this problem. = On XNU, the debugger uses the Mach task port, which is not completely = like a process descriptor. When the target process exits, the task port = will report errors. This eliminates the races that are intrinsic to the = ptrace APIs. Extending process descriptors to subsume ptrace behaviour = (and adding thread descriptors that avoid the same races on threads) and = avoid these races has been on my wishlist for a long time. Doing this = would require some Capsicum permissions on process descriptors (not = every holder of a process descriptor should be able to ptrace it). =20 It would probably be good to collect the desired behaviours for process = descriptors and do a proper implementation of the desired feature set. = Currently, process descriptors serve precisely one need: Capsicum = processes can use them to wait for process termination without needing = access to the global PID namespace. David From nobody Tue Mar 25 10:53:21 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 4ZMRc00CDPz5sLh5 for ; Tue, 25 Mar 2025 10:53:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 4ZMRbz3Zzgz4JmW; Tue, 25 Mar 2025 10:53:35 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 52PArLjn029565; Tue, 25 Mar 2025 12:53:24 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 52PArLjn029565 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 52PArLNv029564; Tue, 25 Mar 2025 12:53:21 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Mar 2025 12:53:21 +0200 From: Konstantin Belousov To: David Chisnall Cc: Gleb Popov , freebsd-hackers Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? Message-ID: References: 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4ZMRbz3Zzgz4JmW X-Spamd-Bar: ---- On Tue, Mar 25, 2025 at 09:49:26AM +0000, David Chisnall wrote: > On 25 Mar 2025, at 05:27, Gleb Popov wrote: > > > > On Tue, Mar 25, 2025 at 8:04 AM Konstantin Belousov wrote: > >> > >> Can this be summarized as just a use of pidfd to > >> - get the pid of the peer > >> - ensure the peer liveness? > >> > >> I do not see much need of pidfd for this functionality. > > > > What's the alternative? Tapping into a socket with > > getsockopt(LOCAL_PEERCRED) to obtain a PID via xucred is not an option > > because a client is not required to maintain an established connection > > to a D-Bus socket. > > > > The high level code expects a descriptor with some properties, so we > > either provide it or have to patch large parts of the code using it. > > Emulating pidfd somehow is also fine to me, but I have no idea how to > > do that. libinotify-kqueue example shows that emulating a descriptor > > with certain properties is quite a non-trivial task. > > It’s worth noting that DBUS is not the only thing that wants a race-free way of naming a process. Debuggers also have this problem. On XNU, the debugger uses the Mach task port, which is not completely like a process descriptor. When the target process exits, the task port will report errors. This eliminates the races that are intrinsic to the ptrace APIs. Extending process descriptors to subsume ptrace behaviour (and adding thread descriptors that avoid the same races on threads) and avoid these races has been on my wishlist for a long time. Doing this would require some Capsicum permissions on process descriptors (not every holder of a process descriptor should be able to ptrace it). > There is no races with ptrace(2). Attached debuggee pid is not worse than a handle, it cannot go away. > It would probably be good to collect the desired behaviours for process descriptors and do a proper implementation of the desired feature set. Currently, process descriptors serve precisely one need: Capsicum processes can use them to wait for process termination without needing access to the global PID namespace. > > David > From nobody Tue Mar 25 12:27:37 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 4ZMThW6Sc0z5rDH3 for ; Tue, 25 Mar 2025 12:27:39 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZMThW3gnjz3DBx; Tue, 25 Mar 2025 12:27:39 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742905659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gMTQ0+NImdGy5jmFY2rFZS6J/1rOUQfbMwfl3rGunOA=; b=ygkDRqe/rMUypZJ30KN6nrQxuoeegTD4P3G1mDjmW9RUpOAyckaawANGHtPB/TNbEe99x5 cAnIDcLrgTvA13CCrMhbbLVJha1Tz9GYqVtuMegP1EX6az6E+DBfNappBa/9Y2Ci6zjWof 5/6u84CbJ2Ehy46OuU0qwQZ8MjN1/fmuWsAM+6dKUjOHKtveWbe+OTD0qCjKAU3paTKK7S dsU0hAiX5Ct8UcWjPcnnA9svUd/QONsugMBurL+O/aTyWAKMlXPSPR1FkgHMmp6kg/a9XK thyEkyEfxTRk+htsu0+w/8+YY6Qjw/5QZJL9YWYnpIB5SmTCVIBMjKsloAmb5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742905659; a=rsa-sha256; cv=none; b=JMX7OkwnDPFzrDrKzGvJAEe4ZE97XMligA9jGYYw3w7+WQZhP7vpqJO4oJBi6yWOXBfCpp 9v10ciyfwrP8N/hb0FvYHKJ+W5NeUjcMYqgr6NZrcVHY9GpC//7L6mF6OCIIHrHMPpTFL6 WwVkNMXnUIoQtAUFB7oPqu1Q8Eb8kCyOrtCv8uO3zFxJDQDJkIi6ew1y/dvBn1BNPeH3yc MP4YQcIr6BlCmDH8Ks3IqDlCrVmHHJmwi5T4s3+Juw7QzIIW8dGD67z3CppKplQ53dxnk2 IRkL3iVrbOOnoqcfNS4w6NVqW7oBQcICKqZ4FEshc9UI8RLU9awIo3NIkqGlvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742905659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gMTQ0+NImdGy5jmFY2rFZS6J/1rOUQfbMwfl3rGunOA=; b=JCiJ1A+mbo+1ZamKuTsdykC3tS3hblLnSE1wZKtUhSz+v01UEVLkj8+2SVtBU+d8zTP5C8 8nOLUe5yaDOVyVV9Q7EpyBNiNdr5+CBrxBuu8yHLRsj4tWIYPFrtGx3pOOkV6erDlj8N01 Y+YxCm7ZlGXEhTtQ5TRLdP6tPSVovAcnTrkKex4zabKB1jdvpO3eOKZAGkeJSM+VPkM6AJ T10gLutt2ipU2Wv2j65vJw/XLdCbVrOcI5odFuttUBeWAaAVKaSc6z8eA+JPWOs+p6bEwH aUs4RZ4Vb7IwzF7tfoaVcp7Ulm+reqZhKuuvIcLq9hHu/WlLABmVpu6NVjmmsQ== Received: from [IPV6:2001:470:39df:1:f67b:9ff:fe9c:6c5b] (unknown [IPv6:2001:470:39df:1:f67b:9ff:fe9c:6c5b]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZMThW0sxBzxLs; Tue, 25 Mar 2025 12:27:39 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <8df1b4f6-9b1e-424e-b603-f0d170e0ba35@FreeBSD.org> Date: Tue, 25 Mar 2025 07:27:37 -0500 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 Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? To: David Chisnall , Gleb Popov Cc: Konstantin Belousov , freebsd-hackers References: Content-Language: en-US From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/25/25 04:49, David Chisnall wrote: > On 25 Mar 2025, at 05:27, Gleb Popov wrote: >> >> On Tue, Mar 25, 2025 at 8:04 AM Konstantin Belousov wrote: >>> >>> Can this be summarized as just a use of pidfd to >>> - get the pid of the peer >>> - ensure the peer liveness? >>> >>> I do not see much need of pidfd for this functionality. >> >> What's the alternative? Tapping into a socket with >> getsockopt(LOCAL_PEERCRED) to obtain a PID via xucred is not an option >> because a client is not required to maintain an established connection >> to a D-Bus socket. >> >> The high level code expects a descriptor with some properties, so we >> either provide it or have to patch large parts of the code using it. >> Emulating pidfd somehow is also fine to me, but I have no idea how to >> do that. libinotify-kqueue example shows that emulating a descriptor >> with certain properties is quite a non-trivial task. > > It’s worth noting that DBUS is not the only thing that wants a race-free way of naming a process. Debuggers also have this problem. On XNU, the debugger uses the Mach task port, which is not completely like a process descriptor. When the target process exits, the task port will report errors. This eliminates the races that are intrinsic to the ptrace APIs. Extending process descriptors to subsume ptrace behaviour (and adding thread descriptors that avoid the same races on threads) and avoid these races has been on my wishlist for a long time. Doing this would require some Capsicum permissions on process descriptors (not every holder of a process descriptor should be able to ptrace it). > FWIW, I've tossed around similar ideas with csjp@ while thinking about lsan in a capsicumized world. For lsan, we need to fork then ptrace the parent to pause all threads and then capture the current state to analyze. It'd be useful to be able to generate a procdesc (or something similar) for the 'current process' and implement a ptracepfd(2) that can use it if the nonexistent CAP_PTRACE rights(4) hasn't been stripped. We'd then use it as a way for the parent to be able to grant a sandboxed child the authority to ptrace it in a way that doesn't violate the spirit of capsicum. > It would probably be good to collect the desired behaviours for process descriptors and do a proper implementation of the desired feature set. Currently, process descriptors serve precisely one need: Capsicum processes can use them to wait for process termination without needing access to the global PID namespace. > > David > > From nobody Tue Mar 25 16:09:59 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 4ZMZfL5T4Yz5rShd for ; Tue, 25 Mar 2025 16:11:06 +0000 (UTC) (envelope-from vini.ipsmaker@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 4ZMZfL3Mw2z3WxT; Tue, 25 Mar 2025 16:11:06 +0000 (UTC) (envelope-from vini.ipsmaker@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-30c461a45f8so57487881fa.1; Tue, 25 Mar 2025 09:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742919063; x=1743523863; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iO8S+/lr3SJXbVNONnjAEw/WDGkhoTMi1qmchjtijzI=; b=Xlw5TKnOdbQgEsWbUp5kqbsJq0Tu5W6Q6qKGDLnqDU5et+XEVnNq7kTOq7WwwRXIW9 INNEHB8iqDCXGJ2Eikwk5YanFcNVt/Nr1C3DFXph4kg6rNbXLRslxsih2L6EfIcwxC41 PMW47sjf6406MsdzkLE2SLPVvquRQkQlCxR7i3/c8UFiPE2V197tdI5f27SyY9YTtmB/ yUawNx8Td19CQJ5f4mQLH/P5uFRhOuvom4HMmlEVHipJaYa7RgQRMTY2YxZUFDU+QXaT m1DfIkkimAZCOtUFn01MQlI8IYdbaUItbbBLalSrXWFHWDs4Q+djyiy0mGP6zrHlf5e7 crdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742919063; x=1743523863; 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=iO8S+/lr3SJXbVNONnjAEw/WDGkhoTMi1qmchjtijzI=; b=omwsJ463Sc9FjRqNgC7M4OjLYJweIsoxrINZ6LW5+a3nPd9YQNLXdX0MsFlLKY7XFE 0IXBUmm8rjC6BUoZZQWrN27FXE5/2RGW3/yY8AVAr9kaKH+HuAUT9Y9OV89kp1ub4gRU Qwx9wCe1c1ukU4oiP3Zz/jTrGwYNI9YlnehHa3UzNPFQhuNbvN5HRJdJEfXpfaCy0ayr tREQ+UIYxoa0V2osCvW/MMrjO1jbwuHi3m68lV05ynk8FMZ4TTsvo45BGtKh8dO2QMwH BEGUxQOANaCYAVBnugvD2ogv5X9XAMCTIxZeq7oERTuGH6CzMx7XlDJF8UY3MFW52MV6 c2pw== X-Forwarded-Encrypted: i=1; AJvYcCUAnfrZ55PAbISP/omSYJhndLfy2URNqXgy4glcPP/BBgrMEdSI13iCtEKkko2c7U8XkvPEfMHKIozH8HcEI0E=@freebsd.org X-Gm-Message-State: AOJu0YwLEuVyZ0N+S/sLgmf9rnCIyWxDyXBAAccftcVNU8n3lh4laMfL oN8P8tY5UWye3wc1jOnt3gtuP2h+Taa/ntFaE/XZwZjurLsw6HrKBGhGRbwoq9Qr9zGNVUYfiGC UXjvH+Lg7+okmj1Dydf1vXPx8+MCTWw/Q X-Gm-Gg: ASbGncudGBOh6YEiwcDRY2UZqFDFtLUu2M7aGpvpvVBa76qZwKzLkdAusFXUwx0l+NO jTHBnkZmBAeuJTBRMkMuhBI5PceQSGz7z+baZ4ylQQXCwvChsF6IB379R4obfZW5HU5UHob4p8x yRptYzQevinwJ7GMR32vzK5dSUbGvhKZw0II7JmyN2KuhFSKywrwZvFlTswRxJ X-Google-Smtp-Source: AGHT+IFQQlQpu6jCxb747S6Ji3ggNPOtOyM15YF+285oeT9KuphzuSGBzj8haS2dseVPpvyj78cQpJi8UfUx0F8Ithg= X-Received: by 2002:a2e:8ecd:0:b0:30b:ee67:2ba5 with SMTP id 38308e7fff4ca-30d7e2278e4mr50039131fa.13.1742919062896; Tue, 25 Mar 2025 09:11:02 -0700 (PDT) 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: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Tue, 25 Mar 2025 13:09:59 -0300 X-Gm-Features: AQ5f1JpqCTCJNpgehmwh7jNwm23DbjxLCRnIqKZC5WhReQammOGC2LwlbQsbh94 Message-ID: Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? To: David Chisnall Cc: Gleb Popov , Konstantin Belousov , freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4ZMZfL3Mw2z3WxT X-Spamd-Bar: ---- Em ter., 25 de mar. de 2025 =C3=A0s 06:50, David Chisnall escreveu: > It would probably be good to collect the desired behaviours for process d= escriptors and do a proper implementation of the desired feature set. It looks like a step into the right direction. > Currently, process descriptors serve precisely one need: Capsicum process= es can use them to wait for process termination without needing access to t= he global PID namespace. I have a multithreaded application that needs to create processes that don't call exec() after fork(). For this application, I fork() near main() (while the process is single-threaded) and use this extra helper child single-threaded process to do the next fork() calls. The child uses pdfork() and passes the file descriptor to the parent. This is not a capsicum need, and solves my problem. I do something similar with Linux, but it's a mess (I lose the ability to wait() on the pidfd given it's not a direct child). I wish Linux had just copied FreeBSD's procdesc semantics. Linux pidfd is such a mess to work with. Linux userspace isn't much better, using pidfd to take a pid to read /proc. --=20 Vin=C3=ADcius dos Santos Oliveira From nobody Thu Mar 27 00:09:31 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 4ZNPD72tlxz5rQCQ for ; Thu, 27 Mar 2025 00:09:43 +0000 (UTC) (envelope-from luke@foolishgames.com) Received: from stargazer.midnightbsd.org (stargazer.midnightbsd.org [IPv6:2603:3015:425f:100::1]) (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 (2048 bits) client-digest SHA256) (Client CN "stargazer.midnightbsd.org", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZNPD52gxZz4Qhq for ; Thu, 27 Mar 2025 00:09:41 +0000 (UTC) (envelope-from luke@foolishgames.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=foolishgames.com header.s=default header.b=Ubfc7tnJ; dmarc=none; spf=pass (mx1.freebsd.org: domain of luke@foolishgames.com designates 2603:3015:425f:100::1 as permitted sender) smtp.mailfrom=luke@foolishgames.com Received: from [192.168.1.162] (70-91-226-205-BusName-Michigan.hfc.comcastbusiness.net [70.91.226.205] (may be forged)) (authenticated bits=0) by stargazer.midnightbsd.org (8.18.1/8.18.1) with ESMTPSA id 52R09WiL083858 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 26 Mar 2025 20:09:33 -0400 (EDT) (envelope-from luke@foolishgames.com) DKIM-Filter: OpenDKIM Filter v2.10.3 stargazer.midnightbsd.org 52R09WiL083858 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foolishgames.com; s=default; t=1743034173; bh=+fpsirhlZvFw0guAZjBJtyVklYru0uSgZBD5BrKmMvY=; h=Date:To:From:Subject:From; b=Ubfc7tnJRnbNMPAfrNj62vumXQUdHX2gjeZX9dMnEFIjgiw1Cm3c+xPHGDW+rAKhg q/gNcLDO3KbKBGLe6kX1FVquUQcWi+kouvrMpPtfJYILF67MvhDRmA+zt5dhDDqZ1S nEJQOJxRexmwttfYzt7gJJvLyKh/EEdrE2ifEaJE= X-Authentication-Warning: stargazer.midnightbsd.org: Host 70-91-226-205-BusName-Michigan.hfc.comcastbusiness.net [70.91.226.205] (may be forged) claimed to be [192.168.1.162] Message-ID: <9b3e88a6-3502-4b5e-ad5d-fddbf763b5c4@foolishgames.com> Date: Wed, 26 Mar 2025 20:09:31 -0400 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@freebsd.org From: Lucas Holt Subject: PURL URIs and SBOM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 1.4.2 at stargazer.midnightbsd.org X-Virus-Status: Clean X-Spamd-Result: default: False [-0.70 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.986]; NEURAL_SPAM_LONG(0.74)[0.740]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+a]; R_DKIM_ALLOW(-0.20)[foolishgames.com:s=default]; NEURAL_HAM_MEDIUM(-0.16)[-0.159]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:7922, ipnet:2603:3000::/24, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[foolishgames.com]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[foolishgames.com:+] X-Rspamd-Queue-Id: 4ZNPD52gxZz4Qhq X-Spamd-Bar: / I know there's a project to work on SBOMs for the FreeBSD project, and perhaps things are far ahead there. I recently started working on submitting a patch to a smaller SBOM generator to support FreeBSD with the plan to eventually add MidnightBSD also. I ran into a snap when generating them.  There is a lot of validation on SBOM tools and the PURL spec also has validation. So they need to be submitted. This brought up the need for a standard PURL pattern for BSDs. I'm not sure if it makes sense to be based on being a BSD or what primary package manager we all use. I submitted a PR for a MidnightBSD PURL value and someone had mentioned the idea of doing something like pkg:bsd/freebsd/pkgname@version?arch=i386&distro=freebsd/14.2 or something similar. I was thinking of doing something based on the package manager though like pkg:mport/midnightbsd/pkgname@version?arch=amd64&osrel=3.2 (these are generated by mport purl already) but then it gets weird for freebsd pkg:pkg/freebsd/pkgname@version?arch=amd64&osrel=14.2 ... The PR is at https://github.com/package-url/purl-spec/issues/431 I'd appreciate input on this. Thanks, -- Lucas Holt Luke@FoolishGames.com ________________________________________________________ MidnightBSD.org (Free OS) JustJournal.com (Free blogging) From nobody Thu Mar 27 02:19:34 2025 X-Original-To: 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 4ZNS693xk2z5rZZ1 for ; Thu, 27 Mar 2025 02:19:45 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 4ZNS683cNhz3JDk for ; Thu, 27 Mar 2025 02:19:44 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=iu4q5nHY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhuk.im@gmail.com designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=rozhuk.im@gmail.com Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5e677f59438so652565a12.2 for ; Wed, 26 Mar 2025 19:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743041981; x=1743646781; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:date:from:from:to:cc:subject:date :message-id:reply-to; bh=l3GKu86NW5wF0jQoW9WZmGKrLAL3A9uidz80bpdvhCU=; b=iu4q5nHYS0Mk37Xiy/XTeaJzD5FMxvnPxChF6fjYxfga+wFMuXdhC7J+qwLR129yTf HBasrKY3D3zKAmctKhGQy5Ok3Xz8ziRJYhl0DU0q1taDVl7WEtYJPBZ/7GvL7oxuBu4K cyrF9cQAYxxMHIJoMQ22e619TzbTzvlmDrW5ZtSQhHN2DXNNYnDhfWLtUl1iGmSWSSF4 SDj8GkFF8f9tdgvIG2Q+H1Yod+TXYHLb2bJOmALcuBDldP2cz22Sk7tBqACjNZ2M8oH1 HnMO1/NmeC0U0OkftXufovA5aq058ZJvOj1Gwi7mwzngtPB72yYk96ESK19gQu0TDikJ /DUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743041981; x=1743646781; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l3GKu86NW5wF0jQoW9WZmGKrLAL3A9uidz80bpdvhCU=; b=S9HVvpc97STmqNZISh9VUQgGWlonIB22LLLC61CWdFUgzMdSby46I4Z6aohjy3AyVu 8dPf+g8hQTmIQQ4n5sQFN9HCEZsdaKtGLGPeIz5XPfJkj5rlAhwqS/hPbwySu4dyfVOf I/uFnOuu/zDjta8gubKFZk5DI59Uewq9LFsg4yMolsAJwCHEF3iq/ZVWmvHUSJJzkiWV zNMSK1vJ0f44ZdmDAv4+f+XiDo/tQnTJat/iBg3K0s1wrCfqsy5sW2orh32KxkLrcZDN rJCBFfZELpy42302zHrUO2GeR/ObRVSeTNCuiG3bWCGY78Slv+5put+JNldvANarDKe2 PHoQ== X-Gm-Message-State: AOJu0Yy6/KyI5h/awXrOQcrkh/d85vQ+zfPLaFQJmQHcjS6qTjSlo4EB SxvSqmQNcH776BwsZ8r6d6MTU9LWDvq5O8f1j9T2M1HVxhEAyFOk X-Gm-Gg: ASbGncsU8jMAfugWMKhpRov7UzB9jS88SrAPhVU05vBiYPvX+eSAC+rQ9KQz8gPJDu3 isdC5/L8JNIaOyv5wBiLDxrOKIP6DMu3OCzryibCIXs0jDBO9tp97+5lCmECih6FbD+03JotX7L e7mOBlPTGx1yuVo9KplRURBYPdMekLm1AIPCchgP/N6UPfxOwLAa3GDpMvMCWRbdirJfzrOHdYd dhNAEHv6MuEt20orYMHXTVupJ9yME98+lLV2TTp5On/S1DFNULDho15TEQncg/XyZmyrQ1TiT7I ddjXUiDCoJOmvxh03WZCYzgMhpSXj2uzJCm6gCHR1HPelKg= X-Google-Smtp-Source: AGHT+IHmEq2nC17ZoGaJMeJdecIALXGxdY+9kwo6ME2tCY978KsMKzW1vdIWrK4sYMFxSo8XU16kPQ== X-Received: by 2002:a05:6402:84e:b0:5e8:bf18:587 with SMTP id 4fb4d7f45d1cf-5ed8e5a5ddfmr1567674a12.16.1743041981104; Wed, 26 Mar 2025 19:19:41 -0700 (PDT) Received: from rimwks.local ([2001:470:1f1b:4dc:b5f5:a6b6:a0a:c49a]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ebcd0df994sm10106372a12.70.2025.03.26.19.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Mar 2025 19:19:40 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Thu, 27 Mar 2025 04:19:34 +0200 To: Prabhat Mathur Cc: hackers@freebsd.org Subject: Re: Interest in GSoC 2025 =?UTF-8?B?4oCT?= VLAN Filtering Software Bridge Project Message-ID: <20250327041934.0960b111@rimwks.local> In-Reply-To: References: X-Mailer: Claws Mail 4.3.0 (GTK 3.24.48; amd64-portbld-freebsd14.1) 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=UTF-8 Content-Transfer-Encoding: base64 X-Spamd-Result: default: False [0.70 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.40)[-0.396]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_BASE64_TEXT(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_TWO(0.00)[2]; TAGGED_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52c:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZNS683cNhz3JDk X-Spamd-Bar: / T24gU2F0LCAyMiBNYXIgMjAyNSAyMjo0MTozMiArMDUzMA0KUHJhYmhhdCBNYXRodXIgPHByYWJo YXRtYXRodXI5OTI3QGdtYWlsLmNvbT4gd3JvdGU6DQoNCj4gSSBhbSBQcmFiaGF0IEt1bWFyLCBh biB1bmRlcmdyYWR1YXRlIHN0dWRlbnQgYXQgTU5OSVQgQWxsYWhhYmFkLA0KPiBtYWpvcmluZyBp biBFbGVjdHJvbmljcyBhbmQgQ29tbXVuaWNhdGlvbiBFbmdpbmVlcmluZy4gSSBhbQ0KPiBpbnRl cmVzdGVkIGluIHBhcnRpY2lwYXRpbmcgaW4gR29vZ2xlIFN1bW1lciBvZiBDb2RlIDIwMjUgd2l0 aA0KPiBGcmVlQlNEIGFuZCB3b3VsZCBsaWtlIHRvIHdvcmsgb24gdGhlIFZMQU4gRmlsdGVyaW5n IFNvZnR3YXJlIEJyaWRnZQ0KPiBwcm9qZWN0LiBJIGhhdmUgYW4gaW50ZXJtZWRpYXRlIHVuZGVy c3RhbmRpbmcgb2YgQyBwcm9ncmFtbWluZywNCj4gbmV0d29ya2luZywgZGF0YSBzdHJ1Y3R1cmVz LCBhbmQgYWxnb3JpdGhtcywgYW5kIEkgYW0gZWFnZXIgdG8NCj4gY29udHJpYnV0ZSB0byBGcmVl QlNELg0KPiANCj4gQmVmb3JlIHN1Ym1pdHRpbmcgbXkgcHJvcG9zYWwsIEkgd291bGQgYXBwcmVj aWF0ZSBndWlkYW5jZSBvbjoNCj4gDQo+ICAgIC0gVGhlIGN1cnJlbnQgc3RhdGUgb2YgVkxBTiBm aWx0ZXJpbmcgaW4gRnJlZUJTROKAmXMgYnJpZGdlDQo+IGltcGxlbWVudGF0aW9uLg0KPiAgICAt IEFueSBzcGVjaWZpYyBwZXJmb3JtYW5jZSBvciBmdW5jdGlvbmFsaXR5IGltcHJvdmVtZW50cyBl eHBlY3RlZA0KPiBmcm9tIHRoaXMgcHJvamVjdC4NCj4gICAgLSBFeGlzdGluZyByZXNvdXJjZXMg b3IgcmVmZXJlbmNlcyB0aGF0IHdvdWxkIGhlbHAgbWUgdW5kZXJzdGFuZA0KPiAgICBGcmVlQlNE 4oCZcyBuZXR3b3JraW5nIHN0YWNrIGJldHRlci4NCj4gDQo+IEkgd291bGQgYmUgZ3JhdGVmdWwg Zm9yIGFueSBpbnNpZ2h0cyBvciBzdWdnZXN0aW9ucyBmcm9tIHRoZQ0KPiBjb21tdW5pdHkuIElm IGEgbWVudG9yIGlzIGF2YWlsYWJsZSBmb3IgdGhpcyBwcm9qZWN0LCBJIHdvdWxkIGxvdmUgdG8N Cj4gY29ubmVjdCBhbmQgZGlzY3VzcyB0aGUgc2NvcGUgZnVydGhlci4NCg0KbmV0Z2hyYXBoIGNh biBiZSB1c2VkIHRvIGRvIGFueSBmaWx0ZXJpbmcuDQpodHRwczovL3Jldmlld3MuZnJlZWJzZC5v cmcvRDMwMTc1DQpodHRwOi8vbmV0bGFiLmRoaXMub3JnL3dpa2kvc29mdHdhcmU6ZnJlZWJzZDpp Z21wcHJveHlfb25fbmV0Z3JhcGgNCg== From nobody Thu Mar 27 02:48:43 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 4ZNSln2XD3z5rc8k for ; Thu, 27 Mar 2025 02:48:53 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 4ZNSll6nk5z3lJl for ; Thu, 27 Mar 2025 02:48:51 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=BKjzqdfV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhuk.im@gmail.com designates 2a00:1450:4864:20::234 as permitted sender) smtp.mailfrom=rozhuk.im@gmail.com Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-30c0517142bso5686741fa.1 for ; Wed, 26 Mar 2025 19:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743043730; x=1743648530; darn=freebsd.org; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :date:from:from:to:cc:subject:date:message-id:reply-to; bh=u8CnYbIF/MI2zX7jW9RkZyAcfBmNEVVUKgSXivO3HiE=; b=BKjzqdfVBYoOFT/vph5B1evpJPr8BMhHQE74V4fb6p2iAiZkuQ9JNzV4idEefv/2Hj tR+tWsKKwl/bi55BoIouHz37yCow7tis29l4AZ//iCzZgz3hQlViEUq+VovlZtHH+Hw4 t/P+2/mRu6a/LmEZezHCBRys5BI5nJTliDN3ToU9TNGjTQzqY8YTkFXSYP+En5kPQzpY c/rEkV/0LaxOGBAo5SaTUHpMJK5zeZktXoAsWbj1hhIg4ELflwFGsvlHY3PlHDszupVk HN1gy4Q3fHPS1NGasz7PttsK3743LpLNoau7MvvzVaeEgZHBUyE9/Njm+r5mXv9Lr+Qd 7jCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743043730; x=1743648530; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u8CnYbIF/MI2zX7jW9RkZyAcfBmNEVVUKgSXivO3HiE=; b=CeE13nFO0bl13qtLEFjpM9mg7589i0mJaTU7ZnK3Rp2OpQgq2vpQFjGJlIOj+H2H/B CDvK/pvySK+SAKyFk7n1ZuCsuBMh5QcEaeAq5YoLOnB2i4Bk2it+PrXMo5IIIcK8quu2 ffB6Bah2i2wmCsbOCUwgpoMSeSOaxvekpS4f0mGPIsDXult7t7pxLMEhLANsjk13b+es FtQsXR0HhcMfnv5Ge2RMov2HMSGC9smp4xscfQevMnRm0dtbIPjTHvyyVTz9c1duamMs PclZzJWwsmXAF30Un8Cb4C66HZgKjCYemZ+4S4E/wReAaqc6tJStrGN3Cwax4vo2X43a TTsg== X-Gm-Message-State: AOJu0YwhhjThJBpcNJc67Kv67tKpwhzVhoDPQT9yl5lEFsOpaJad116s DPso6HPu0tdaSwjSDY5JJEFxT0KIlxQ2VBLeS0mpzrmkCiOv+ZTAG5BayVYb X-Gm-Gg: ASbGnctTTWGnRZicb8xVSQPOYlsT39mici5g01X2UtJuWJY1rypTjlgGog6rUP4rKg5 Hinu3yLhLOglaaM5hnC41WbWJl1QLsm7f8HnS402I3ixZiVEIfPLig2ZJl6TZr9Iw7hMfAlkEHl v9Vzok0/Xx4DvPsbf0RrdSv08GSwBa9g6K979XP+etI56vQr0VLNaJ9oKJr0017Ezv98w0v1vOC 0Ygi1WbYoTz4syMrvmKQkUhPGZ9uXmMnvX1cUh1mnsIwOLcOzLoxQYYKV2yq6xViJBrZDrmBnX2 DZd2BayX8p9f8wPoUoyPwRmdKsd+4mAfBGJEf5b+4l5WTBc= X-Google-Smtp-Source: AGHT+IHGKVufG0FzyeYOvdcbjCnvM5uBldXN/dO1B6rB5szMSCzCx+ylq9QPtXC/yvglKBC3lyliJw== X-Received: by 2002:a05:651c:2211:b0:30d:c534:692 with SMTP id 38308e7fff4ca-30dc5f23e56mr7569231fa.29.1743043729681; Wed, 26 Mar 2025 19:48:49 -0700 (PDT) Received: from rimwks.local ([2001:470:1f1b:4dc:b5f5:a6b6:a0a:c49a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30d7d913196sm22775081fa.109.2025.03.26.19.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Mar 2025 19:48:49 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Thu, 27 Mar 2025 04:48:43 +0200 To: freebsd-hackers Cc: Rozhuk Ivan Subject: amdgpu_job_timedout & MPV Message-ID: <20250327044843.6061bd54@rimwks.local> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.48; amd64-portbld-freebsd14.1) 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-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.22 / 15.00]; NEURAL_SPAM_LONG(0.97)[0.966]; NEURAL_SPAM_MEDIUM(0.91)[0.915]; NEURAL_HAM_SHORT(-0.66)[-0.665]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::234:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZNSll6nk5z3lJl X-Spamd-Bar: / Hi! After update MPV to 0.40 I got errors while MPV play/stop videos: ... Mar 26 03:14:02 rimwks kernel: [1568] [drm ERROR :amdgpu_job_timedout] ring gfx_0.0.0 timeout, signaled seq=297951, emitted seq=297953 Mar 26 03:14:02 rimwks kernel: [1568] [drm ERROR :amdgpu_job_timedout] Process information: process pid 102145 thread pid 102145 ... and xorg hang/crash. To fix issue I add to mpv.conf gpu-context=x11egl Before update it has use by default x11egl and after switch to x11vk whitch trigger issues with my GPU/setup. Hope this will be useful for other users. From nobody Thu Mar 27 14:24:47 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 4ZNmBw6wgCz5rRLp for ; Thu, 27 Mar 2025 14:24:56 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.infocus-llc.com (mail.infocus-llc.com [199.15.120.13]) (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 4ZNmBt6xb4z3lgP for ; Thu, 27 Mar 2025 14:24:54 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fullermd@over-yonder.net designates 199.15.120.13 as permitted sender) smtp.mailfrom=fullermd@over-yonder.net Received: from draco.over-yonder.net (c-174-180-135-60.hsd1.ms.comcast.net [174.180.135.60]) (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 mail.tarragon.infocus-llc.com (Postfix) with ESMTPSA id 4ZNmBl5mWWzHtx; Thu, 27 Mar 2025 09:24:47 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 4ZNmBl1lBgzP8x; Thu, 27 Mar 2025 09:24:47 -0500 (CDT) Date: Thu, 27 Mar 2025 09:24:47 -0500 From: "Matthew D. Fuller" To: Rozhuk Ivan Cc: freebsd-hackers Subject: Re: amdgpu_job_timedout & MPV Message-ID: References: <20250327044843.6061bd54@rimwks.local> 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-Disposition: inline In-Reply-To: <20250327044843.6061bd54@rimwks.local> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/2.2.14 (2025-02-20) X-Spamd-Result: default: False [0.66 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_SPAM_LONG(0.98)[0.985]; NEURAL_SPAM_MEDIUM(0.97)[0.972]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TAGGED_RCPT(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; ASN(0.00)[asn:33069, ipnet:199.15.120.0/22, country:US]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[over-yonder.net]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZNmBt6xb4z3lgP X-Spamd-Bar: / On Thu, Mar 27, 2025 at 04:48:43AM +0200 I heard the voice of Rozhuk Ivan, and lo! it spake thus: > Hi! > > > After update MPV to 0.40 I got errors while MPV play/stop videos: > ... > Mar 26 03:14:02 rimwks kernel: [1568] [drm ERROR :amdgpu_job_timedout] ring gfx_0.0.0 timeout, signaled seq=297951, emitted seq=297953 > Mar 26 03:14:02 rimwks kernel: [1568] [drm ERROR :amdgpu_job_timedout] Process information: process pid 102145 thread pid 102145 FWIW, I saw the same issue several times (though I just pulled back to 0.39 as a cheap fix). Starts off with kernel: [drm ERROR :gfx_v10_0_priv_reg_irq] Illegal register access in command stream then tries to reset the GPU, but apparently doesn't manage to pull it off. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From nobody Fri Mar 28 00:56:35 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 4ZP37j31Bjz5sCjf for ; Fri, 28 Mar 2025 01:38:09 +0000 (UTC) (envelope-from piya@pjg1.site) Received: from out16-55.antispamcloud.com (out16-55.antispamcloud.com [185.201.18.55]) (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 (2048 bits) client-digest SHA256) (Client CN "*.antispamcloud.com", Issuer "DigiCert Global G2 TLS RSA SHA256 2020 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZP37g5rdSz3qwj for ; Fri, 28 Mar 2025 01:38:07 +0000 (UTC) (envelope-from piya@pjg1.site) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pjg1.site header.s=default header.b=P0RVWQvF; dmarc=pass (policy=quarantine) header.from=pjg1.site; spf=pass (mx1.freebsd.org: domain of piya@pjg1.site designates 185.201.18.55 as permitted sender) smtp.mailfrom=piya@pjg1.site Received: from p4302.bom1.stableserver.net ([190.92.174.194]) by mx309.antispamcloud.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1txy1q-00BDFb-Mx for freebsd-hackers@FreeBSD.org; Fri, 28 Mar 2025 01:57:07 +0100 DKIM-Signature: v=1; c=relaxed/relaxed; h=from:content-type:content-transfer-encoding:mime-version:subject:message-id:date:to; d=pjg1.site; s=default; a=rsa-sha256; bh=5TJj+Yfgm7HUVLyMp3muvxfrvufPrIGvS0KdzvOQv2Q=; b=P0RVWQvFOP0kc8WHhvT+H6ZhNU1o20Py5rXNMSUkieYX2AjjRu//DciCs4xb41YNb QrnwHHaO6L00RBZVfOj3sBIxujmkVg4315/5d5xzk7v4Lu27GWldJd2R1+WuQdezobI euyO1uXFkjLJXqL6QYNdi2r+djGrTicrC6g3+pU=; Received: from smtpclient.apple ([86.99.44.154]) by p4302.bom1.stableserver.net with MailEnable ESMTPSA (version=TLS1_2 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384); Fri, 28 Mar 2025 00:56:55 +0000 From: Piya Gehi Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Interest in building tools for GSoC 2025 Message-Id: Date: Fri, 28 Mar 2025 04:56:35 +0400 To: "freebsd-hackers@freebsd.org" X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Originating-IP: 190.92.174.194 X-Spampanel-Domain: p4302.bom1.stableserver.net X-Spampanel-Username: 190.92.174.194 X-Spampanel-Outgoing-Class: unsure X-Spampanel-Outgoing-Evidence: Combined (0.36) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT83Bt2TZdl2EUc/vHvcEJQqPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xKK73cMoE5HaELnE6ll/oW08fdXNicT1QUARDlz1ifT6vp k7Vp2UXVHEQMIct0liKXEaagPEupO/fpQe8sFnHeswKQDamPN66SYe4XX4xmgOHEYN20/Q4FyJlp ecyD5jx36TtY1n03Y7H14DhGJmEuY3wB+WJJeJpViW/1hgrAQgi4MF+ifOFuCOkzx3dyV1l9mR4P rajEX4fABjwX+ctYIRFsicyJMEhQFtD8PLoinjFCU0tibMaZMfiByLA2q5th8eXuGDB+WvlcaPhs +IMOep61KNolF2DlH2a2LdpMMmtrv2iUsvl2CC901V0YBrviEnzvvDcGs5qmm9XDE2pdZWZmIMWJ G2DzNierwWd45v2o1X92Cn4UU9JJ17dQkS7izDj4VfLGYhV5rU4pWppWERZjMvwfvbhZOry+t8BT U2HW3msdVeGbL5g0CGvMsWhjewJ1p2KNOGtnsuIcf3b/prnOfejoy0ryl/SE9sCR4JkwTwd6I5MF c+Z5FxsZqYBzHDeqqFz43py4SDhdaHkWiFuW9EXGtBuTgAvctMmby8zwSH52aDwN3+zuW4zo8L6q Xv7MSvNBT8/7Qow407xoYu8C5mJ57ZG9g9QfbBpIFzT52T5FyGHzT2UqlVpCXLTRtFuayQSHKxuV s+RmqoRqqe0qvr5yub6t9+RpDpmA6MOkrh8r9Z/TJb0QNc+hTgdi4ZRgfGRSidwrpGvyI+om3yVA kqJMXGMZ5q3RC4mcsZ0nNqyLs8h4YSeT2ElRNpZPylMaECyCsgZ3OGCCMm48F/7nr+CzZY2sHX80 Bp8bs7IKl5j44sawg9Yzp1SyLp43ClTXlSfQV8rvfnHgqk4U9GzfERsxzAdhk5AyKFWHg7lcPuUn w9AA4JtADjUgyyHyI0CgGXyP43F+qNYPSuWcZRWsGw8ac2InzcAP/gmxwH5jjSz1baP4ubmM5tdf uanEWPLVEodzWD+37HuMOgBcqeG2NN76KKbjz+Fy3nC3pZeYIInbZjvs8SpqqUGmvww= X-Report-Abuse-To: spam@quarantine16.antispamcloud.com X-Complaints-To: abuse@master.antispamcloud.com X-Spamd-Result: default: False [1.46 / 15.00]; RBL_SENDERSCORE_REPUT_0(4.00)[185.201.18.55:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.98)[-0.981]; NEURAL_HAM_SHORT(-0.96)[-0.959]; MV_CASE(0.50)[]; BAD_REP_POLICIES(0.10)[]; RWL_MAILSPIKE_GOOD(-0.10)[185.201.18.55:from]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,body]; RCVD_TLS_LAST(0.00)[]; SUSPICIOUS_AUTH_ORIGIN(0.00)[]; R_DKIM_ALLOW(0.00)[pjg1.site:s=default]; TO_DN_EQ_ADDR_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[pjg1.site,quarantine]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; HAS_XOIP(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[pjg1.site:+]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; R_SPF_ALLOW(0.00)[+ip4:185.201.16.0/22]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:16633, ipnet:185.201.18.0/24, country:US]; RCVD_IN_DNSWL_NONE(0.00)[185.201.18.55:from] X-Rspamd-Queue-Id: 4ZP37g5rdSz3qwj X-Spamd-Bar: + Hello, I am a recent graduate looking to make my first major open-source contribution via GSoC 2025. My C experience includes writing an = optimizing compiler for a toy language for my undergraduate thesis, and basic implementations of network protocols like DNS and TCP to understand how = they work. I found two projects from the Tools section of the GSoC ideas list that = I'm interested in: - WiFi management UI - Power profiling tool My choice is leaning more towards the WiFi management tool, but I'd like = to get some details before making a final choice. The following information = would be helpful: - Have there been any attempts at implementing these in the past? - Pointers to parts of the code relevant to the projects Regards, Piya= From nobody Fri Mar 28 12:16:52 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 4ZPKKG1QQBz5rlbP for ; Fri, 28 Mar 2025 12:17:22 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (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 4ZPKKF43HMz3nMF for ; Fri, 28 Mar 2025 12:17:21 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.128.172 as permitted sender) smtp.mailfrom=6yearold@gmail.com Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-6fedefb1c9cso17558177b3.0 for ; Fri, 28 Mar 2025 05:17:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743164239; x=1743769039; h=content-transfer-encoding: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=yeLdIg+PLh9VYxfBQ0CF7sbUdWwkJ1dM6NIrB3cyMVs=; b=QBJ9HJTuESAikfpvybFGTxys2vRqYJLv7INpqa6CSpDphNitguTZtZQtva0Od2u3WN eG+EsNTLXQpv5mwi2F8+bi4uPJv5BcJdTXnH6Dl/nT1E2qnMB0eRYRfxBLtPFoDYNsev vGFSbLxSBsWzjVgAZY092lLi0+UFtKtDsebjq72O+lqofN9Q5eyXjROLOFB3Yg1sM71M 6krA2tXTZASZwg17OsvDOSFJ0eUiuUHI6/Y773NqzV4px99G/kwGKl3C3aqdgPJGlYMU rI7UFPRWExt2fKxMrktEhsSIdTITEF6JkX7h9gWjJxo/jBBM3RVCoo2qi2romNTUupq3 yDNA== X-Gm-Message-State: AOJu0YwEMUf9Ff9BNtXgm98xCqufCtBXmjH2m55kMRuVjlukHJyqEsSE jbBxdpf8sMLMTOYt/kmXA20Ns7a2RdIGKjjiiY960JaYfUdPXUAnru5mOwSX X-Gm-Gg: ASbGnctU7Dn7r50vDeUbm8hdkEy2VJBDpBzn73HiVv5tVqLwx7eCkXRC1gB2Iw5lC2q zi5dkinR4/khhWNNwx5CxiCXlhO4Axyvz6/+1QxIa+Y5zOG4tnEBvfS+46WyRVjQqItWQJxcACE rlURtsVK7FpoEHWo5j+nhPvFVRhELJjgxV1TXNver/6ys6BdUoiWHvxDcqKaJ9Rb92cG7ubHXFg xyvuby+kZn4vCmRwvcTjJ/009L9Tvoq368++Dn9n22SOE6dT/iBwmnxgYmHqAlhYdAUABztrkox 1dnzYrOR/1NrmDTEVHtmDaH03A3invC/UWkKeuejtzKmxpIVoja03pv+cQnH2msaVB2qWw8OXpt ppAuUAnpWbc5wvSKE+MU= X-Google-Smtp-Source: AGHT+IEZmM2Eyb4UDmDoQ2VN2lMEXn8uodTRymuiQT8ijS3Z3kq7UfqKyZ50fDuGSpvPQIcqDfqFiQ== X-Received: by 2002:a05:690c:488a:b0:6f9:441e:6cf0 with SMTP id 00721157ae682-70224f21132mr93771977b3.5.1743164239252; Fri, 28 Mar 2025 05:17:19 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id 00721157ae682-7023a989d27sm6487797b3.86.2025.03.28.05.17.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Mar 2025 05:17:19 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-e643f234e08so1686258276.0 for ; Fri, 28 Mar 2025 05:17:18 -0700 (PDT) X-Received: by 2002:a05:6902:1685:b0:e5d:cb26:cdaf with SMTP id 3f1490d57ef6-e69437aa881mr9738327276.42.1743164238727; Fri, 28 Mar 2025 05:17:18 -0700 (PDT) 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: Fri, 28 Mar 2025 15:16:52 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: AQ5f1JrbVK0McKSazMuLLqYkhjSbt4PXPavpNqdEODCvHuLyWVJphXxSOTyRvbQ Message-ID: Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? To: freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [2.09 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; NEURAL_SPAM_MEDIUM(0.98)[0.979]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; RBL_SENDERSCORE_REPUT_8(0.00)[209.85.128.172:from]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.172:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.172:from,209.85.219.181:received]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZPKKF43HMz3nMF X-Spamd-Bar: ++ On Tue, Mar 25, 2025 at 8:27=E2=80=AFAM Gleb Popov wro= te: > > The high level code expects a descriptor with some properties, so we > either provide it or have to patch large parts of the code using it. > Emulating pidfd somehow is also fine to me, but I have no idea how to > do that. libinotify-kqueue example shows that emulating a descriptor > with certain properties is quite a non-trivial task. A bit orthogonal to the Capsicum discussion, I wonder if the following idea makes sense: We do have FUSE as a framework to implement filesystems from the userspace, same goes for CUSE that allows for programming character devices. Maybe having some sort of FDUSE providing a way to create "custom" descriptors and define their behaviour from userspace would be useful? From nobody Fri Mar 28 13:28: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 4ZPLv20Qr2z5rrMV for ; Fri, 28 Mar 2025 13:28:14 +0000 (UTC) (envelope-from vadimnuclight@gmail.com) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 4ZPLv15ZLKz3QHs; Fri, 28 Mar 2025 13:28:13 +0000 (UTC) (envelope-from vadimnuclight@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-549b116321aso2622571e87.3; Fri, 28 Mar 2025 06:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743168491; x=1743773291; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=K+mE4nTFhXcy7UY3JsCX36r8vq9LpAYqc8g8RYuVofA=; b=dNispq3H4OdRAm+NiA0dr57sFCtmx8tUGDJX7JzKbfVD42nA/bmHTZohgQCKVxRGxG fv+qobBDHzmqhk/2Z5+YrCtkXfXGjvnw/7YTLj+kt3TyJ/YuQKaFU9eor7XG0CRm1oc+ YM6i4TLhHDRwcDRPe2dZTsdEDLFdcp8UIY2la07UeThmMtzWrKG/xZwM3yX0XS3JUENJ jib+NQwhyKWppGSCFEhJ4n4D2Yoyr6rA7HmrGb/3m+8JXkisggfHc0WI1ow5nURvPaY6 7CGAPDS9DSOaVxYBOX993kaJSzV3VyiEQoal9bwj/NX0rVxpSzYPqQxAZJWnKgF7E8Av d9Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743168491; x=1743773291; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K+mE4nTFhXcy7UY3JsCX36r8vq9LpAYqc8g8RYuVofA=; b=cCq0nRQBCeM4fMb0YTLQsRjq8KPNzupQNx+HXpVW0nUlERPy7DqntI2d+eGqg64Fw5 h7Y7xW/O9Bf75A/41sMKU0QK0KBjLDJfnnPHV0Iz5vIPvi5wvZ59miaKukIFAVfavuCR AoTEoFeEnB+iSsCIGquS3pgcOxegYS8Gt2Pi3GcP1GQtoTCsnV8NmOttBMztGj7IFr3f i/5yqUnQKXTaBKksy8xYLE02VgHVTTE/Cuk1brKz8QG1/UdqVZ2H6WUeR8MZr3L1nOAz 89xRfviErTJBTLU0N/FXb1VMOAw8F25b+tLNJKOcdJAki4orTuYQF0WLO27ZVHqx24ud zKEg== X-Gm-Message-State: AOJu0Yyp/QbQr00YrZekds9n0x+p/POb/Z5j/jXoD7kS9PR5oYLXbQo6 2WPCNEvMabUeZP6QYpE/hmAOww0zXVYbauC72/dDpCMNllEZNgcHyXEPFA== X-Gm-Gg: ASbGncszQK77/7sdxRlJ2aJ0lXVMcHPe+bSS+9PIxH2LwgpdAnDn9G0/13RFOt3SuWi fUUnHeSJWr1pEzHdXTCaLdChOafOM9hYmQz6QX27x97mMoVV6QDkpskadHaDNaVSWj3fqRIW/a2 Vwff8gQLyEv3KPe6PkDFtMx8T/PalBY2OSgmC6K6Ym/HJXan4HwYPeZ2F3KFp+m+O6pxmtGZR61 Bbs1NtWwD+1Ifx+G3mlgAhK9VQw5/ZUqq7cBaZokR5HrU/3cPgjayUAzYSruIg78aTwMl4/QhZt gRHFVPc4xqvnMKmLy98ya8ViLxMQJgvzuGnSoreMaa8EgCJwZo7lyjLNDrU96M0nhSnGX9h5CrR 4UkwOMDbCGgQ= X-Google-Smtp-Source: AGHT+IEndDpSlpmb/qZFCXPKGcVYRRQ+xBTuq0PXroLL7P/Oub0+vSEfj8823G7oXGrshOaWgvOt9w== X-Received: by 2002:a05:6512:10cd:b0:54a:cc25:dbe9 with SMTP id 2adb3069b0e04-54b011e06b0mr3178540e87.26.1743168491190; Fri, 28 Mar 2025 06:28:11 -0700 (PDT) Received: from nuclight.lan (broadband-37-110-95-35.ip.moscow.rt.ru. [37.110.95.35]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54b094bb3c3sm312005e87.2.2025.03.28.06.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Mar 2025 06:28:11 -0700 (PDT) Date: Fri, 28 Mar 2025 16:28:04 +0300 From: Vadim Goncharov To: Gleb Popov Cc: freebsd-hackers Subject: Re: Would we want pidfd_open(2) & SO_PEERPIDFD? Message-ID: <20250328162804.19125ac1@nuclight.lan> In-Reply-To: References: X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.4) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4ZPLv15ZLKz3QHs X-Spamd-Bar: ---- On Fri, 28 Mar 2025 15:16:52 +0300 Gleb Popov wrote: > On Tue, Mar 25, 2025 at 8:27=E2=80=AFAM Gleb Popov w= rote: > > > > The high level code expects a descriptor with some properties, so we > > either provide it or have to patch large parts of the code using it. > > Emulating pidfd somehow is also fine to me, but I have no idea how to > > do that. libinotify-kqueue example shows that emulating a descriptor > > with certain properties is quite a non-trivial task. =20 >=20 > A bit orthogonal to the Capsicum discussion, I wonder if the following > idea makes sense: >=20 > We do have FUSE as a framework to implement filesystems from the > userspace, same goes for CUSE that allows for programming character > devices. Maybe having some sort of FDUSE providing a way to create > "custom" descriptors and define their behaviour from userspace would > be useful? And how do you imagine such an API ? --=20 WBR, @nuclight From nobody Fri Mar 28 14:00:30 2025 X-Original-To: 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 4ZPMcN73TTz5rtTJ for ; Fri, 28 Mar 2025 14:00:36 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 4ZPMcM21ndz3dtC for ; Fri, 28 Mar 2025 14:00:35 +0000 (UTC) (envelope-from jrm@ftfl.ca) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of jrm@ftfl.ca designates 209.85.160.172 as permitted sender) smtp.mailfrom=jrm@ftfl.ca Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-47677b77725so23389981cf.3 for ; Fri, 28 Mar 2025 07:00:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743170433; x=1743775233; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=x/WRIvRLTcoUTwlq50TMFy+agVi/Sx8K9HGSMth6gf0=; b=QBaCz6j1J1bnpQlS47qMGw076z1KJB1W7ffYlPwFU25eAB9Rfv9Bv26WYMxFqoKW/L 6Cm8cZ8YRYqe5l4opNC/3tWjcuKqO729eRetPyYzcyhloOyFTtZ0Kw0mqdKlvzaPgrmJ UfC5Pv9QpoqMDbL+4R1Pek+W1unY4ocTTOBoN43T9HbLwtLm4OEbjQ0n8Z8aWNc4GT5w +7+6TrMSJ+JHu9K6rinUtiPiwzYTHZm3gYlaSKamEIrLd4wVmgN40h+zIVkqbWMJaKa4 AZxBxFxGVQTk75Bznqy1b3jJE85pI1XXTxakIS+kuiV8hl+M2mLYagx9SPzJIj8jPYBa 6HSg== X-Gm-Message-State: AOJu0Yznno8x0Hc2aOfMjIKL14dChvyh2Qr3E60lZ5IfnYX90IMdbKWg FgZ5RLmTyV/LYF6OzJIUz8kDXng37cX1ewDZfe0cT03J39yINalg1PJoT6YVp/5+hVfEYuQO7as = X-Gm-Gg: ASbGncuXUiTc/ziLWgfJn6CxcFURhaVCuVhJK6eYGAE+T0qB7zIJqJNBA7kaV0DKZIf 44UtdtgMa9z5WI83Knj2O40zifiGJ3s5nhggOsdHNqJCYRouYbrhT7XK5rzIdFC2lH3urylgqS0 n56+ErAQL2tpuQwWiY7GRnyrD+xsRH/F8lUOuGC24Wd1yJQ1QziLfBLi2/hJ3afOs5tMEC5lqSf HnzG6CxpKSzASGtv8YNvvR6XLNV4/AK7M1xTmpQXEvT0OoUVJ4blUls+lbZK04NOLa4t1O3nB25 03wU0s4V8AUfTBvq/6whZ9msx8kvYoHZmQBFLQP2Pz2yHXyKASaPvT1zpDpIHkw+QjQPPltRJbr OSnY/bajsqlLVFPWDBRG/iX2VgBFhImODEsFqMEQOTjWgnY7aUxwdSlmJMpKX4ho= X-Google-Smtp-Source: AGHT+IHmbNO6vY1DxuXNzkwYXbFcF/zD2ZPTd6y3ay7xmb9xiZHc6F8E7glTiGbYp/5qkNGd1FsEYQ== X-Received: by 2002:a05:622a:5a94:b0:476:98d6:141c with SMTP id d75a77b69052e-4776e0c6d6dmr157945631cf.18.1743170431554; Fri, 28 Mar 2025 07:00:31 -0700 (PDT) Received: from asn.ftfl.ca.ftfl.ca (drmons0544w-142-167-136-121.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.167.136.121]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-47782a49c11sm11179511cf.22.2025.03.28.07.00.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Mar 2025 07:00:31 -0700 (PDT) From: Joseph Mingrone To: Prabhat Mathur Cc: hackers@freebsd.org Subject: Re: Interest in GSoC 2025 =?utf-8?Q?=E2=80=93?= VLAN Filtering Software Bridge Project In-Reply-To: References: Date: Fri, 28 Mar 2025 11:00:30 -0300 Message-ID: <86tt7dl0g1.fsf@asn.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 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=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [0.94 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.998]; FORGED_SENDER(0.30)[jrm@FreeBSD.org,jrm@ftfl.ca]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_MEDIUM(-0.19)[-0.192]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.04)[0.038]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[jrm]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[jrm@FreeBSD.org,jrm@ftfl.ca]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; RBL_SENDERSCORE_REPUT_8(0.00)[209.85.160.172:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.160.172:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.172:from] X-Rspamd-Queue-Id: 4ZPMcM21ndz3dtC X-Spamd-Bar: / On Sat, 2025-03-22 at 22:41, Prabhat Mathur w= rote: > Dear FreeBSD Developers, > I am Prabhat Kumar, an undergraduate student at MNNIT Allahabad, majoring > in Electronics and Communication Engineering. I am interested in > participating in Google Summer of Code 2025 with FreeBSD and would like to > work on the VLAN Filtering Software Bridge project. I have an intermediate > understanding of C programming, networking, data structures, and > algorithms, and I am eager to contribute to FreeBSD. > Before submitting my proposal, I would appreciate guidance on: > - The current state of VLAN filtering in FreeBSD=E2=80=99s bridge impl= ementation. > - Any specific performance or functionality improvements expected from > this project. > - Existing resources or references that would help me understand > FreeBSD=E2=80=99s networking stack better. > I would be grateful for any insights or suggestions from the community. If > a mentor is available for this project, I would love to connect and discu= ss > the scope further. > Thank you for your time and consideration. I'm looking forward to hearing > back from you! > Best regards, > Prabhat Kumar > prabhatmathur9927@gmail.com > Linkedin: https://www.linkedin.com/in/prabhat-kumar-912837313/ Hi Prabhat, Unfortunately, there are two issues with this project. First, it's likely too much work for a single GSoC term. We had hoped the original author would break it down into two or more projects, but that didn't happen. Second, we've been unable to find a mentor. Unless we can find a potential mentor in the next day or so who is willing to put in the time to re-scope the project, it's best to choose a different project. Kind regards, Joe From nobody Fri Mar 28 23:19:09 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 4ZPc0z08mqz5rbX6 for ; Fri, 28 Mar 2025 23:19:15 +0000 (UTC) (envelope-from obiwac@gmail.com) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 4ZPc0y2ncTz3VNd; Fri, 28 Mar 2025 23:19:14 +0000 (UTC) (envelope-from obiwac@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-224341bbc1dso53662555ad.3; Fri, 28 Mar 2025 16:19:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743203952; x=1743808752; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YEmqIzfgpQRDUhi95VWQG5zyHBogakkkyGujbN5JPzY=; b=mTR44UzU8S2JOv2obgzdhkFSm5mK2X69wdK6dFJixIsnHchWlzNJ3nl3iJHUitAeLR 2eUQcduBymxcmRVJb7Yq5YBMVS57fb8tRHZEEBKRArr5AJrpKcv1KlcceeC3lQs4dq+r UiJK3MmFS7VSXdAC5S0pJqpS1xdHBxazScMDonPsGKaptQHhib8JZrgLV8XT69XltpHE nGI/wRySq/Le8IHQa23uwVgnyDzq493i+giMaoR3hD/SdLEGCk2dSYEiNLODla1BSHAQ HbG8HYmkE/eJIlAZTd0ZWPpISxiejxnjM7Bhj/VtZjDMCVzo/j4ep6qE5kBZuF7y/XDx IznQ== X-Forwarded-Encrypted: i=1; AJvYcCVB52rtQo1huiYloD9fu8STY5lOaimjjqE1nnmz1DNOZLczIni0AoGNb/KniTPv6/VdZfAN@freebsd.org X-Gm-Message-State: AOJu0Yy4kmt5OUhuzzuS/Bu1MPtwaa1RYV3aU2iMxSs1zUPmV3HzINZG /j6My+qXEgQXQFb2TJXkgoqmX0WAATwexb+UcFRP/63dPyv9jDhcZnOapA+lWdXk2A== X-Gm-Gg: ASbGncsGF/2083swcZauGkOjksw4hMJlVeRBWHGm9eWkeyS4e/hJ3PpNbtY8dO3LueJ xlEyN+m9AhdNxS2FAbMZDFtqaQ9anXc9IGaGsCxJaf9AG4+42t4GIc4YG3s2XUl0a8xW4fiSp4G yDhWqNfmF1Cg/zki7RBmTb+E3BKcAzde/Bmf/wPIXIBjpodAYW8TN15BqUFJ5QWVi1w+v5hs+dl stQC3/i4vgVcLfd9z0bWQTyGQBNWgw+ruOTB8jCrXJmCFWO0U07BYiWF+lrayks+om58rx0/HwL ZdW4pfyDn7ZqpcLunosORkwmm/bYzTIgT1eB4Mi6+/OITBPpqQw1Hy+tddoIAz/kQlj00ws4nzk pkZjWjNUqWMjRSes8ss0= X-Google-Smtp-Source: AGHT+IHicEMuK08boJY4IniqJ7jP1d9Kp70kGaH6kzRdi/N9h6gkt3MpqDE3wX/i+7I+nyHfT7AscA== X-Received: by 2002:a17:902:f68b:b0:227:e980:919d with SMTP id d9443c01a7336-2292f9f9af1mr12098575ad.47.1743203951881; Fri, 28 Mar 2025 16:19:11 -0700 (PDT) Received: from [192.168.1.43] (syn-024-165-017-024.res.spectrum.com. [24.165.17.24]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2291f1f969fsm24170945ad.221.2025.03.28.16.19.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Mar 2025 16:19:11 -0700 (PDT) Message-ID: <615cf3b6-d46d-4cee-8879-30d4c796ec29@freebsd.org> Date: Fri, 28 Mar 2025 13:19:09 -1000 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 From: Aymeric Wibo Subject: Re: Interest in building tools for GSoC 2025 To: freebsd-hackers@freebsd.org, piya@pjg1.site, getz@freebsd.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZPc0y2ncTz3VNd X-Spamd-Bar: ---- Hi Piya! Thanks for your interest. > - Have there been any attempts at implementing these in the past? > - Pointers to parts of the code relevant to the projects For the WiFi tool, there's already an ncurses TUI in base ('bsdconfig wifi'). The way I saw this though was mostly writing a CLI tool equivalent to nmcli on Linux, i.e. something that can easily be scripted around and for which commands can easily be included in guides. I'll let Getz comment on this more though. There are a couple GUI tools which also offer WiFi network management, notably the net-mgmt/wifimgr port or GhostBSD's Networkmgr. For the power reporting project, there's the powermon port which I haven't been able to test yet because I don't have a compatible device (Intel-only, I'm assuming it uses RAPL in which case it can probably easily be made to work on AMD too), but it seems to already cover the basic features powertop does. What would be nice is a more comprehensive framework for power usage reporting over time, similar to PCP on Linux. Doesn't need to be as complex and advanced as PCP, but at least a daemon able to track a process' and the system's power consumption over time would be nice. You can check out pmda-denki to see how they retrieve this information. In any case, a tool in base would be desirable. Kind regards, Aymeric From nobody Sat Mar 29 12:21:23 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 4ZPxMm2Y10z5rM3b for ; Sat, 29 Mar 2025 12:21:40 +0000 (UTC) (envelope-from gray@nxg.name) Received: from mx1.mythic-beasts.com (mx1.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZPxMj4yCLz3NWy for ; Sat, 29 Mar 2025 12:21:37 +0000 (UTC) (envelope-from gray@nxg.name) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nxg.name header.s=mythic-beasts-k1 header.b=xmSLVIga; dmarc=none; spf=pass (mx1.freebsd.org: domain of gray@nxg.name designates 2a00:1098:0:86:1000:0:2:1 as permitted sender) smtp.mailfrom=gray@nxg.name DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nxg.name; s=mythic-beasts-k1; h=Date:Subject:To:From; bh=eUoRfs2I9Q46Ej60PIs4vI8v20xMO/6JeUbfTXw0ggw=; b=xmSLVIga+TQjhI44Z3+X4blT6d 5fuus08lfFKf53jrYqoiUmYIQK/G6jbCVob2oKPFXrdZZnVHtPokzGk3wTj+HUp7YuZCKTxfJRarV erA3XNdyqfV6FQz6r6rQZnhXyKwPA7zxPuuioUCSmgrkQ6Q2Vt+lC/lhzbdlCngMR/sczALh/UqeI uT5Nq9yXjt+x5/Kk/YtJ+88ClQBqv7vBZYdZbmFFndId8cQD9gcZTlmFyIKR5TcspZqGEOgP2cxmo XaupkUpLfr2hWH+jNtJjDHcJQVzCNaMlVwJlGSQT5CLhsFshqOqlGOPQU7ZVjybPVWoDob4X5iuQr x2BUXdmQ==; Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tyVBu-000ZO3-Uw; Sat, 29 Mar 2025 12:21:35 +0000 From: Norman Gray To: Lucas Holt Cc: freebsd-hackers@freebsd.org Subject: Re: PURL URIs and SBOM Date: Sat, 29 Mar 2025 12:21:23 +0000 X-Mailer: MailMate (1.14r5964) Message-ID: <35FE4EB4-D44F-46D4-8E11-EAEDE196C32E@nxg.name> In-Reply-To: <9b3e88a6-3502-4b5e-ad5d-fddbf763b5c4@foolishgames.com> References: <9b3e88a6-3502-4b5e-ad5d-fddbf763b5c4@foolishgames.com> 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 Content-Transfer-Encoding: quoted-printable X-BlackCat-Spam-Score: 24 X-Spam-Status: No, score=2.4 X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_SHORT(-0.98)[-0.983]; NEURAL_HAM_LONG(-0.96)[-0.959]; NEURAL_HAM_MEDIUM(-0.64)[-0.645]; R_MISSING_CHARSET(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:86:1000:0:2:1:from]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098:0:86:1000:0:2:0/112]; R_DKIM_ALLOW(-0.20)[nxg.name:s=mythic-beasts-k1]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[nxg.name]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[nxg.name:+] X-Rspamd-Queue-Id: 4ZPxMj4yCLz3NWy X-Spamd-Bar: --- Lucas, hello. On 27 Mar 2025, at 0:09, Lucas Holt wrote: > This brought up the need for a standard PURL pattern for BSDs. I'm not = sure if it makes sense to be based on being a BSD or what primary package= manager we all use. Hmm: that's a slightly unfortunate name. For me, a 'PURL' immediately re= fers to the very long-established Persistent URL framework and set of ser= vices [1]. Not your problem, of course, and I don't have anything useful to say abou= t the problem you report, beyond remarking that I was scratching my head = trying to make sense of it, because of the collision. Best wishes, Norman [1] https://en.wikipedia.org/wiki/Persistent_uniform_resource_locator -- = Norman Gray : https://nxg.me.uk From nobody Sun Mar 30 20:16:24 2025 X-Original-To: freebsd-hackers+confsub-2d474b39373b403c@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 4ZQlsL6msBz5s1gD; Sun, 30 Mar 2025 20:16:38 +0000 (UTC) (envelope-from prabhatmathur9927@gmail.com) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (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 4ZQlsK5jd1z3GR0; Sun, 30 Mar 2025 20:16:37 +0000 (UTC) (envelope-from prabhatmathur9927@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Yk00vvTT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of prabhatmathur9927@gmail.com designates 2607:f8b0:4864:20::92a as permitted sender) smtp.mailfrom=prabhatmathur9927@gmail.com Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-86fbb48fc7fso1350711241.2; Sun, 30 Mar 2025 13:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743365797; x=1743970597; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=0cwpJlPqKZqeoWSXZd1JZoxngi9VJqFvDv3NxoCKwiU=; b=Yk00vvTTtniJ6AMpciPVG+ae/Mte/j46Xtlfe1YFIduXOyG75LtoSlAUUruZR2thMO 0CT47h4FKjacWJPZvXW8YQYAScqCQxba7IwlGCis3bFYU5otcHKVpe3YS8huFVE/dYyx P2GvWqcctcq9qYRAJ37W4VbnDN9Kn8PbHR/rfT2oFU+3k7kJQoMVhkIPc9++EBsczEcS OLHBqBN6V9VTwgSFAPC0/6bklP44tZZReyxSf1yTFRzg3w9Lqq+P2CHA1H4lUARxJpC9 DgbEVBtnkydugiBg2PtQVPEkxSq4PhXMFBkTQ/KQJwJ8vimN2yYhCPn0+a8YdMap9Cj3 bvpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743365797; x=1743970597; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0cwpJlPqKZqeoWSXZd1JZoxngi9VJqFvDv3NxoCKwiU=; b=KuS6fSLXsoPCEKcbZyvI5KsLdUKIacmyIVSHws99qT22/E+WNCNX3HYa6O+qv3EKOL /ic0u+1QVsVEP61qi5aV+xFXuD/2/hRzEXzvTAIWR8lQDp8VILw//0kCvp/1ytTIeHI8 aJp12UyHhlNSJVneeENVsGC57u0skhMtKkUPTesX/xucLracHdvDF9IxwO1FTlzmItZ1 b1KUSKFiPUjIb5dRIon/CN40WW97Ddy2avc6O+ameXuPwfzNoL4avZ+r/IPjMzVZJUFY Hhu1CSSDHwnp++kY8aIYPIutjYylpZA7/x5onSlvtbb24dR+O5T3ArkqJRW32Wukn+1o hvvg== X-Forwarded-Encrypted: i=1; AJvYcCW+fMtGn8lvuRsN3CD5JkdvK6dA0q2vJXqFWVn57wQGFe5E7r2a1q19LeVDuYmPm8it/1rtjxk5YPRMX2UGxmk=@freebsd.org X-Gm-Message-State: AOJu0Yxnq8G1/sMIhWCSJE++ZVzvlT6CinjOfG6dH02cR8tp59SlVAAm 21AMFNhoYb4WXdzGjmP9q5dQvXE4BuSGrgfDJoU0IzAAZNx205/dMIBIihvBTmIzZmVMI7zRh6w nl/R9yQ1SqUs2Y0tNpR1T+b7IAIk86yC8D3IZiw== X-Gm-Gg: ASbGncvA2IcrDtx5qs2Lr7MmS6Kq2+6ARdyj2eAekTggolpajRWVmtFcfPhMtHLavEb jTenBe5EljlBd7hfEgvQqHCfSo5klWbbsN6hDuxblwPP9J87sSUWlhuUtLur7XcPSVgY5rQrjp9 yDg8GU0/uKuTsKkErhZxRpF85XorjNj5/i14j1IWPIXCSWXp+pmMhtzTmwbcVYg3NFpJAXdTI= X-Google-Smtp-Source: AGHT+IFBALefRFH7bmmkdVL8tRdg0Frz/LXI2ojmse2Op9rT3e6Xiru/YeT2ECGfYuhygmZlEP521p5vcM0MyALTUg8= X-Received: by 2002:a05:6102:41aa:b0:4c1:9159:859c with SMTP id ada2fe7eead31-4c6d38970c3mr3921817137.15.1743365796757; Sun, 30 Mar 2025 13:16:36 -0700 (PDT) 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 From: Prabhat Mathur Date: Mon, 31 Mar 2025 01:46:24 +0530 X-Gm-Features: AQ5f1Jon1eQ2Jbg7W4Xb7bWLKWQw9cBx-9KOsNd5loJQ18GlHIxR5aPec7bd1yg Message-ID: Subject: Introducing myself to the community To: hackers@freebsd.org, freebsd-hackers+confsub-2d474b39373b403c@freebsd.org Content-Type: multipart/alternative; boundary="00000000000007887a063194fb9d" X-Spamd-Result: default: False [1.27 / 15.00]; INTRODUCTION(2.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.947]; NEURAL_HAM_SHORT(-0.71)[-0.710]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_LONG(0.03)[0.033]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TAGGED_RCPT(0.00)[confsub-2d474b39373b403c]; MLMMJ_DEST(0.00)[hackers@freebsd.org,freebsd-hackers@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::92a:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZQlsK5jd1z3GR0 X-Spamd-Bar: + --00000000000007887a063194fb9d Content-Type: text/plain; charset="UTF-8" Dear FreeBSD Community, I hope this message finds you well. My name is Prabhat Kumar, and I am an undergraduate student in Electronics and Communication Engineering at MNNIT Allahabad. I am excited to join this community and contribute to the FreeBSD Project. My interests lie in operating systems, networking, and system programming. I have experience in C and Python programming and have worked on projects involving network protocols and concurrent programming. I am particularly interested in the "Improve Netgraph Concurrency" project and am eager to learn more about FreeBSD's architecture and contribute to its development. I look forward to collaborating with you all and learning from the collective expertise within this community. Please let me know how I can get started and contribute effectively. Best regards, Prabhat Kumar --00000000000007887a063194fb9d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dear FreeBSD Community,

I hope this message finds you well. My name is Prabhat = Kumar, and I am an undergraduate student in Electronics and Communication E= ngineering at MNNIT Allahabad. I am excited to join this community and cont= ribute to the FreeBSD Project.

My interests lie in operating systems, networking, and = system programming. I have experience in C and Python programming and have = worked on projects involving network protocols and concurrent programming. = I am particularly interested in the "Improve Netgraph Concurrency"= ; project and am eager to learn more about FreeBSD's architecture and c= ontribute to its development.

I look forward to collaborating with you all and learni= ng from the collective expertise within this community. Please let me know = how I can get started and contribute effectively.

Best regards,

Prabhat Kumar

--00000000000007887a063194fb9d-- From nobody Sun Mar 30 20:16:24 2025 X-Original-To: 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 4ZQlsL6msBz5s1gD; Sun, 30 Mar 2025 20:16:38 +0000 (UTC) (envelope-from prabhatmathur9927@gmail.com) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (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 4ZQlsK5jd1z3GR0; Sun, 30 Mar 2025 20:16:37 +0000 (UTC) (envelope-from prabhatmathur9927@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Yk00vvTT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of prabhatmathur9927@gmail.com designates 2607:f8b0:4864:20::92a as permitted sender) smtp.mailfrom=prabhatmathur9927@gmail.com Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-86fbb48fc7fso1350711241.2; Sun, 30 Mar 2025 13:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743365797; x=1743970597; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=0cwpJlPqKZqeoWSXZd1JZoxngi9VJqFvDv3NxoCKwiU=; b=Yk00vvTTtniJ6AMpciPVG+ae/Mte/j46Xtlfe1YFIduXOyG75LtoSlAUUruZR2thMO 0CT47h4FKjacWJPZvXW8YQYAScqCQxba7IwlGCis3bFYU5otcHKVpe3YS8huFVE/dYyx P2GvWqcctcq9qYRAJ37W4VbnDN9Kn8PbHR/rfT2oFU+3k7kJQoMVhkIPc9++EBsczEcS OLHBqBN6V9VTwgSFAPC0/6bklP44tZZReyxSf1yTFRzg3w9Lqq+P2CHA1H4lUARxJpC9 DgbEVBtnkydugiBg2PtQVPEkxSq4PhXMFBkTQ/KQJwJ8vimN2yYhCPn0+a8YdMap9Cj3 bvpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743365797; x=1743970597; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0cwpJlPqKZqeoWSXZd1JZoxngi9VJqFvDv3NxoCKwiU=; b=KuS6fSLXsoPCEKcbZyvI5KsLdUKIacmyIVSHws99qT22/E+WNCNX3HYa6O+qv3EKOL /ic0u+1QVsVEP61qi5aV+xFXuD/2/hRzEXzvTAIWR8lQDp8VILw//0kCvp/1ytTIeHI8 aJp12UyHhlNSJVneeENVsGC57u0skhMtKkUPTesX/xucLracHdvDF9IxwO1FTlzmItZ1 b1KUSKFiPUjIb5dRIon/CN40WW97Ddy2avc6O+ameXuPwfzNoL4avZ+r/IPjMzVZJUFY Hhu1CSSDHwnp++kY8aIYPIutjYylpZA7/x5onSlvtbb24dR+O5T3ArkqJRW32Wukn+1o hvvg== X-Forwarded-Encrypted: i=1; AJvYcCW+fMtGn8lvuRsN3CD5JkdvK6dA0q2vJXqFWVn57wQGFe5E7r2a1q19LeVDuYmPm8it/1rtjxk5YPRMX2UGxmk=@freebsd.org X-Gm-Message-State: AOJu0Yxnq8G1/sMIhWCSJE++ZVzvlT6CinjOfG6dH02cR8tp59SlVAAm 21AMFNhoYb4WXdzGjmP9q5dQvXE4BuSGrgfDJoU0IzAAZNx205/dMIBIihvBTmIzZmVMI7zRh6w nl/R9yQ1SqUs2Y0tNpR1T+b7IAIk86yC8D3IZiw== X-Gm-Gg: ASbGncvA2IcrDtx5qs2Lr7MmS6Kq2+6ARdyj2eAekTggolpajRWVmtFcfPhMtHLavEb jTenBe5EljlBd7hfEgvQqHCfSo5klWbbsN6hDuxblwPP9J87sSUWlhuUtLur7XcPSVgY5rQrjp9 yDg8GU0/uKuTsKkErhZxRpF85XorjNj5/i14j1IWPIXCSWXp+pmMhtzTmwbcVYg3NFpJAXdTI= X-Google-Smtp-Source: AGHT+IFBALefRFH7bmmkdVL8tRdg0Frz/LXI2ojmse2Op9rT3e6Xiru/YeT2ECGfYuhygmZlEP521p5vcM0MyALTUg8= X-Received: by 2002:a05:6102:41aa:b0:4c1:9159:859c with SMTP id ada2fe7eead31-4c6d38970c3mr3921817137.15.1743365796757; Sun, 30 Mar 2025 13:16:36 -0700 (PDT) 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 From: Prabhat Mathur Date: Mon, 31 Mar 2025 01:46:24 +0530 X-Gm-Features: AQ5f1Jon1eQ2Jbg7W4Xb7bWLKWQw9cBx-9KOsNd5loJQ18GlHIxR5aPec7bd1yg Message-ID: Subject: Introducing myself to the community To: hackers@freebsd.org, freebsd-hackers+confsub-2d474b39373b403c@freebsd.org Content-Type: multipart/alternative; boundary="00000000000007887a063194fb9d" X-Spamd-Result: default: False [1.27 / 15.00]; INTRODUCTION(2.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.947]; NEURAL_HAM_SHORT(-0.71)[-0.710]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_LONG(0.03)[0.033]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TAGGED_RCPT(0.00)[confsub-2d474b39373b403c]; MLMMJ_DEST(0.00)[hackers@freebsd.org,freebsd-hackers@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::92a:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZQlsK5jd1z3GR0 X-Spamd-Bar: + --00000000000007887a063194fb9d Content-Type: text/plain; charset="UTF-8" Dear FreeBSD Community, I hope this message finds you well. My name is Prabhat Kumar, and I am an undergraduate student in Electronics and Communication Engineering at MNNIT Allahabad. I am excited to join this community and contribute to the FreeBSD Project. My interests lie in operating systems, networking, and system programming. I have experience in C and Python programming and have worked on projects involving network protocols and concurrent programming. I am particularly interested in the "Improve Netgraph Concurrency" project and am eager to learn more about FreeBSD's architecture and contribute to its development. I look forward to collaborating with you all and learning from the collective expertise within this community. Please let me know how I can get started and contribute effectively. Best regards, Prabhat Kumar --00000000000007887a063194fb9d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dear FreeBSD Community,

I hope this message finds you well. My name is Prabhat = Kumar, and I am an undergraduate student in Electronics and Communication E= ngineering at MNNIT Allahabad. I am excited to join this community and cont= ribute to the FreeBSD Project.

My interests lie in operating systems, networking, and = system programming. I have experience in C and Python programming and have = worked on projects involving network protocols and concurrent programming. = I am particularly interested in the "Improve Netgraph Concurrency"= ; project and am eager to learn more about FreeBSD's architecture and c= ontribute to its development.

I look forward to collaborating with you all and learni= ng from the collective expertise within this community. Please let me know = how I can get started and contribute effectively.

Best regards,

Prabhat Kumar

--00000000000007887a063194fb9d--