Bug 270798 - sysctl(3) missing KERN_PROC_FILEDESC MIB
Summary: sysctl(3) missing KERN_PROC_FILEDESC MIB
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Many People
Assignee: Bugmeister
URL:
Keywords:
: 270797 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-12 19:32 UTC by Adam Labus
Modified: 2025-11-16 01:07 UTC (History)
5 users (show)

See Also:


Attachments
Patch for sysctl(3) (376 bytes, patch)
2023-04-12 19:32 UTC, Adam Labus
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Labus 2023-04-12 19:32:17 UTC
Created attachment 241445 [details]
Patch for sysctl(3)

I found that the KERN_PROC_FILEDESC mib option was missing in sysctl(3) because the feature is mentioned in kinfo_getfile(3).
Comment 1 Adam Labus 2023-04-12 19:37:23 UTC
*** Bug 270797 has been marked as a duplicate of this bug. ***
Comment 2 WHR 2023-11-15 07:07:52 UTC
OK, you mean the man page, not the implementation.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-03-11 10:29:51 UTC
Submit a git formatted patch. And mainly for src tree it is better to submit a review in Phabricator(https://reviews.freebsd.org).
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2024-03-11 10:43:34 UTC
Can you try to provide a unified diff/patch that can be apply with

git apply /tmp/yourpatch

directly to /usr/src ? Please test this before submitting the diff.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2025-02-23 21:11:34 UTC
^Triage: from bugmeister: I am only guessing about the file this patch means
to apply to, since the filename is not specified:

  lib/libc/gen/sysctl.3

However, note that without a context diff, the diff will attempt to apply in
what appears to be the wrong place.

As other commenters have said, without a unidiff, there is no way to proceed here.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2025-11-16 01:06:09 UTC
^Triage: submitter feedback (> 6 months).