Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcntl module update supports FreeBSD F_KINFO flag #90179

Open
devnexen mannequin opened this issue Dec 9, 2021 · 10 comments
Open

fcntl module update supports FreeBSD F_KINFO flag #90179

devnexen mannequin opened this issue Dec 9, 2021 · 10 comments
Labels
extension-modules C modules in the Modules dir OS-freebsd

Comments

@devnexen
Copy link
Mannequin

devnexen mannequin commented Dec 9, 2021

BPO 46021
Nosy @tiran, @koobs, @devnexen
PRs
  • bpo-46021: 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 = []

    @devnexen
    Copy link
    Mannequin Author

    devnexen mannequin commented Dec 9, 2021

    • Enabling new F_KINFO flag.
    • Returning a subset of practical data from it.

    @tiran
    Copy link
    Member

    tiran commented Dec 9, 2021

    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.

    @devnexen
    Copy link
    Mannequin Author

    devnexen mannequin commented Dec 9, 2021

    • 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.

    @devnexen
    Copy link
    Mannequin Author

    devnexen mannequin commented Dec 9, 2021

    @tiran
    Copy link
    Member

    tiran commented Dec 9, 2021

    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.

    @devnexen
    Copy link
    Mannequin Author

    devnexen mannequin commented Dec 9, 2021

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

    @devnexen
    Copy link
    Mannequin Author

    devnexen mannequin commented Dec 9, 2021

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @emaste
    Copy link
    Contributor

    emaste commented Apr 19, 2022

    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

    @erlend-aasland
    Copy link
    Contributor

    Superseded by #114321

    @erlend-aasland erlend-aasland closed this as not planned Won't fix, can't repro, duplicate, stale Jan 21, 2024
    @serhiy-storchaka
    Copy link
    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
    Labels
    extension-modules C modules in the Modules dir OS-freebsd
    Projects
    None yet
    Development

    No branches or pull requests

    6 participants