Skip to content

fcntl module update supports FreeBSD F_KINFO flag #90179

Open

Description

@devnexen
mannequin
BPO 46021
Nosy @tiran, @koobs, @devnexen
PRs
  • gh-90179: fcntl module update supporting FreeBSD's F_KINFO proposal. #30000
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-12-09.09:11:35.542>
    labels = []
    title = 'fcntl module update supports FreeBSD F_KINFO flag'
    updated_at = <Date 2021-12-09.10:14:42.766>
    user = 'https://github.com/devnexen'

    bugs.python.org fields:

    activity = <Date 2021-12-09.10:14:42.766>
    actor = 'devnexen'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['FreeBSD']
    creation = <Date 2021-12-09.09:11:35.542>
    creator = 'devnexen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46021
    keywords = []
    message_count = 7.0
    messages = ['408088', '408093', '408096', '408097', '408100', '408102', '408103']
    nosy_count = 3.0
    nosy_names = ['christian.heimes', 'koobs', 'devnexen']
    pr_nums = ['30000']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46021'
    versions = []

    Activity

    1. devnexen commented on Dec 9, 2021

      devnexenmannequin
      MannequinAuthor
      • Enabling new F_KINFO flag.
      • Returning a subset of practical data from it.
    2. tiran commented on Dec 9, 2021

      @tiran
      Member

      Please update the ticket with more information

      • What does the flag F_KINFO do?
      • Which platforms support the F_KINFO flag?
      • link to a man page or platform documentation

      A ticket should contain enough information so that a reviewer can understand the purpose of a feature request.

    3. devnexen commented on Dec 9, 2021

      devnexenmannequin
      MannequinAuthor
      • The F_KINFO flag returns the related kinfo_file from the file descriptor.
      • While F_KINFO is, at the moment, FreeBSD's specific however other BSD has kinfo_file data as well thus the possibility they support a similar feature (F_KINFO appears only around the 5th of December).
      • Does not appear yet on the man page most likely due to its very recent appareance.
    4. devnexen commented on Dec 9, 2021

      devnexenmannequin
      MannequinAuthor
    5. tiran commented on Dec 9, 2021

      @tiran
      Member

      I still have no clue what the flag is doing. Could you please describe the purpose and meaning of kinfo_file so that somebody without FreeBSD Kernel insight can understand it? Much appreciated.

      The feature is not available in FreeBSD 13.0. Is it scheduled for 14.0? We typically do not wrap new Kernel or OS features until they are available in stable OS releases.

    6. devnexen commented on Dec 9, 2021

      devnexenmannequin
      MannequinAuthor

      Ah right then no point then if there is no support for upcoming feature, indeed it s only FreeBSD 14 scheduled next year :-)

    7. devnexen commented on Dec 9, 2021

      devnexenmannequin
      MannequinAuthor
    8. transferred this issue fromon Apr 10, 2022
    9. emaste commented on Apr 19, 2022

      @emaste
      Contributor

      Ah right then no point then if there is no support for upcoming feature, indeed it s only FreeBSD 14 scheduled next year :-)

      It will be in the (soon to be released) 13.1

    10. erlend-aasland commented on Jan 21, 2024

      @erlend-aasland
      Contributor

      Superseded by #114321

    11. serhiy-storchaka commented on Jan 22, 2024

      @serhiy-storchaka
      Member

      Not completely. #114321 implements only the simplest part. The following issues can supersede this issue or make it easier.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions