Skip to content

os.set_inheritable() fails for O_PATH file descriptors on Linux #86946

Description

@cptpcrd
mannequin
BPO 42780
Nosy @vstinner, @benjaminp, @miss-islington, @cptpcrd
PRs
  • bpo-42780: fix set_inheritable() for O_PATH file descriptors on Linux #24172
  • [3.9] bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172) #24269
  • [3.8] bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172) #24270
  • [3.8] bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172) #24277
  • [3.9] bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172) #24278
  • Files
  • set-inheritable-o-path.patch
  • set-inheritable-test.patch
  • 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 = <Date 2021-01-20.14:13:31.465>
    created_at = <Date 2020-12-29.17:18:38.607>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'os.set_inheritable() fails for O_PATH file descriptors on Linux'
    updated_at = <Date 2021-01-22.00:58:54.375>
    user = 'https://github.com/cptpcrd'

    bugs.python.org fields:

    activity = <Date 2021-01-22.00:58:54.375>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-01-20.14:13:31.465>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2020-12-29.17:18:38.607>
    creator = 'cptpcrd'
    dependencies = []
    files = ['49706', '49721']
    hgrepos = []
    issue_num = 42780
    keywords = ['patch']
    message_count = 12.0
    messages = ['384016', '384029', '384035', '384044', '384396', '385339', '385340', '385405', '385406', '385407', '385414', '385462']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'benjamin.peterson', 'miss-islington', 'cptpcrd']
    pr_nums = ['24172', '24269', '24270', '24277', '24278']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42780'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions