Skip to content

posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long) #46289

@tiran

Description

@tiran
BPO 2005
Nosy @loewis, @sjoerdmullender, @ronaldoussoren, @pitrou, @vstinner, @larryhastings, @tiran, @devdanzin, @tjguk, @ned-deily, @tpn, @ezio-melotti, @bitdancer, @briancurtin, @sandrotosi, @akheron, @hynek, @serhiy-storchaka
Dependencies
  • bpo-1983: Return from fork() is pid_t, not int
  • bpo-4591: 32-bits unsigned user/group identifier
  • Files
  • issue2005_py3.patch: Patching uid/gid issues in posixmodule.c
  • posix_uid_gid_conv_2.patch
  • posix_uid_gid_conv_signed_long_long.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-10-20.16:08:01.747>
    created_at = <Date 2008-02-03.19:58:43.484>
    labels = ['extension-modules', 'type-bug']
    title = 'posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)'
    updated_at = <Date 2021-10-20.16:08:01.746>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2021-10-20.16:08:01.746>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-20.16:08:01.747>
    closer = 'christian.heimes'
    components = ['Extension Modules']
    creation = <Date 2008-02-03.19:58:43.484>
    creator = 'christian.heimes'
    dependencies = ['1983', '4591']
    files = ['27678', '27972', '29071']
    hgrepos = []
    issue_num = 2005
    keywords = ['patch']
    message_count = 25.0
    messages = ['62026', '87716', '116942', '117237', '117244', '173605', '173633', '173694', '173702', '173703', '174148', '174154', '174182', '174205', '174207', '175118', '175119', '175180', '175447', '175448', '175456', '175834', '175835', '182082', '404484']
    nosy_count = 19.0
    nosy_names = ['loewis', 'sjoerd', 'ronaldoussoren', 'pitrou', 'vstinner', 'larry', 'christian.heimes', 'ajaksu2', 'tim.golden', 'ned.deily', 'trent', 'ezio.melotti', 'r.david.murray', 'brian.curtin', 'sandro.tosi', 'petri.lehtinen', 'hynek', 'serhiy.storchaka', 'tzimmo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2005'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions