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

Expose FreeBSD-specific APIs in resource module #63542

Closed
koobs opened this issue Oct 22, 2013 · 8 comments
Closed

Expose FreeBSD-specific APIs in resource module #63542

koobs opened this issue Oct 22, 2013 · 8 comments
Assignees
Labels
easy extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@koobs
Copy link

koobs commented Oct 22, 2013

BPO 19343
Nosy @larryhastings, @tiran, @PCManticore, @koobs
Files
  • resource.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 = 'https://github.com/tiran'
    closed_at = <Date 2013-12-08.13:36:36.851>
    created_at = <Date 2013-10-22.09:27:18.893>
    labels = ['extension-modules', 'easy', 'type-feature']
    title = 'Expose FreeBSD-specific APIs in resource module'
    updated_at = <Date 2013-12-08.13:43:16.964>
    user = 'https://github.com/koobs'

    bugs.python.org fields:

    activity = <Date 2013-12-08.13:43:16.964>
    actor = 'christian.heimes'
    assignee = 'christian.heimes'
    closed = True
    closed_date = <Date 2013-12-08.13:36:36.851>
    closer = 'christian.heimes'
    components = ['Extension Modules']
    creation = <Date 2013-10-22.09:27:18.893>
    creator = 'koobs'
    dependencies = []
    files = ['32596']
    hgrepos = []
    issue_num = 19343
    keywords = ['patch', 'easy']
    message_count = 8.0
    messages = ['200903', '202745', '203158', '205282', '205558', '205559', '205561', '205562']
    nosy_count = 5.0
    nosy_names = ['larry', 'christian.heimes', 'Claudiu.Popa', 'python-dev', 'koobs']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19343'
    versions = ['Python 3.4']

    @koobs
    Copy link
    Author

    koobs commented Oct 22, 2013

    At Christians request:

    RLIMIT_SBSIZE
    The maximum size (in bytes) of socket buffer usage for
    this user. This limits the amount of network memory, and
    hence the amount of mbufs, that this user may hold at any
    time.

    RLIMIT_SWAP
    The maximum size (in bytes) of the swap space that may be
    reserved or used by all of this user id's processes.
    This limit is enforced only if bit 1 of the vm.overcommit
    sysctl is set. Please see tuning(7) for a complete
    description of this sysctl.

    RLIMIT_NPTS
    The maximum number of pseudo-terminals created by this
    user id.

    All of the above exists on both FreeBSD 9-stable (9.x) and 10-stable (10.x)

    @tiran tiran added easy extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Oct 22, 2013
    @PCManticore
    Copy link
    Mannequin

    PCManticore mannequin commented Nov 13, 2013

    Hello. Here's a preliminary patch.

    @tiran
    Copy link
    Member

    tiran commented Nov 17, 2013

    LGTM
    I'll submit the patch later.

    @tiran tiran self-assigned this Nov 17, 2013
    @PCManticore
    Copy link
    Mannequin

    PCManticore mannequin commented Dec 5, 2013

    Should this be tagged for Python 3.5?

    @larryhastings
    Copy link
    Contributor

    I can live with this in 3.4 if you check it in before beta 2.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Dec 8, 2013

    New changeset ad2cd599f1cf by Christian Heimes in branch 'default':
    Issue bpo-19343: Expose FreeBSD-specific APIs in resource module. Original patch by Koobs.
    http://hg.python.org/cpython/rev/ad2cd599f1cf

    @tiran
    Copy link
    Member

    tiran commented Dec 8, 2013

    Thanks Larry!

    @tiran tiran closed this as completed Dec 8, 2013
    @tiran
    Copy link
    Member

    tiran commented Dec 8, 2013

    Claudiu, I'm really sorry. :( The patch was originally developed by you, not by koobs. All credits to you!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    easy extension-modules C modules in the Modules dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants