From nobody Tue Jan 7 14:45:51 2025 X-Original-To: dev-commits-ports-all@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 4YSDPZ2yrzz5kfx2; Tue, 07 Jan 2025 14:45:54 +0000 (UTC) (envelope-from bapt@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSDPZ04fFz4LwS; Tue, 7 Jan 2025 14:45:54 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736261154; 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: in-reply-to:in-reply-to:references:references; bh=dfgHnw2TOjFO0P/TIY4vPBTup+SJjmOL+zsXjJykrGs=; b=j6QsEsRsifFpDVr++sojx7q+7+wHnD5oF+rdmjtaIpwDIBFlXDecHtoEzrfTYh2+U5pcGU 1ao7dCb4wTOiHePEedKi1KSgUddFX8S6oQwZG6cVpqnovF5cdYo6W2hJP23X0sssDjdR57 U3/T8zfDyQL+pLRwuUxLq29MIpEksJnHhm8MTslxMIeNAqkcFzu0CVs6tEFGiUq8eTvJFO jeYrHfuDfDdLCu2z+cPHMF6Qh4Lzh51Ohj8kx3XiPCMW8fofYf/E9npRnaNraal4EYkni6 fwgb5gfTc6JwF3EOVks1n1z9128OcL5Z3UieKK+r6Dr7e2TboFMk8xx3vSUBIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736261154; 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: in-reply-to:in-reply-to:references:references; bh=dfgHnw2TOjFO0P/TIY4vPBTup+SJjmOL+zsXjJykrGs=; b=NJWoXmuT5iA0RC68ipzzSdAKFFJDJWg8qUDjJSxjGu4slfh0I8CXaKUsVhGtoHDekc3PBI dJ2vBUS+NeeaMJZUVAagC+rdmNR65jltnsKPD/uCDAgvBuWtDQjS++mcBjFqP+/wTY6YZS JZilxq8g4tD+7NLYOc6w8daHYKHf/bsFXwfbrsgYbZLV7VYtk6R+9wRW9/T5NsC+zXOCcJ wnikOD84sMuhrriS7MsSEz7CkEerVMmcoH8kUBhRqVeWCT9ppty7FHW/lAtWxTVL1LuabH 7okDU0h2wHJdUnGazJBTSWw3Ra9RtjEyiqR8SBnMXyS+ob/um0QASBW7O1tZ/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736261154; a=rsa-sha256; cv=none; b=fSEuVF2dvMQmtzbAkaM7DvBNXq0J+P1ZKSdpSEBB+zajkz/6LLEnbFGcBNTpLqzfy9ORGX +cFMsCK2lREWQWkIPwCCueF6Yq7uhZG+I7oPRmatmewN2GTU9+J2R5Dgcj/FLrYbOp0j3S kCzNGcTz2/mlon6YyofD6cjcZIwRmM4QzXNHFhVx3IF8efM5AyVCsLw9AeuK/fhYd2+GU+ /bAOeeeSeqMABjxxP0Enm5pna0jUYXiQgpb/NPmK1SnVUDpI5j15kUmlItZ6ATn4TQ20TV 3SP/5o663n2KTzqFr8nR2Ko7TADQVb5WxDZQDRyjZuOobVn/FDyoxYKtJgxp9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YSDPY5hZZz1Bpt; Tue, 07 Jan 2025 14:45:53 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id AB1C21C6D03; Tue, 07 Jan 2025 15:45:51 +0100 (CET) Date: Tue, 7 Jan 2025 15:45:51 +0100 From: Baptiste Daroussin To: Alexander Leidinger Cc: Xavier Beaudouin , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 2cf6bc1add64 - main - java/openjdk*: Update pkg-message information about fdescfs and procfs Message-ID: <7xzcpi2yxlyvz34mok6knbnjmtskv3zbgcvdck2ooqexkakqi2@sg3hxhaabiqz> References: <202501061418.506EIOj7078214@gitrepo.freebsd.org> <1943c291180.2805.fa4b1493b064008fe79f0f905b8e5741@Leidinger.net> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon 06 Jan 17:30, Baptiste Daroussin wrote: > A quick grep in the source code seems to show /proc is only used for a message > that print how to debug: > > jio_snprintf(buf, sizeof(buf), "gdb /proc/%d/exe %d" > > The only usecase I can see for /dev/fd is for > Java_com_sun_management_internal_OperatingSystemImpl_getOpenFileDescriptorCount0 > > Which should not be hard to patch using sysctl(kern.proc.nfds) > > Best regards, > Bapt > tested on openjdk17 after applying the following patch: https://people.freebsd.org/~bapt/patch-src_jdk.management_unix_native_libmanagement__ext_OperatingSystemImpl.c I can't find a place which requires either /proc or /dev/fd left (maybe there is I have not find it yet) Bapt