Skip to content

apple: Add RLIMIT_RSS as alias of RLIMIT_AS #272

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

Merged
merged 1 commit into from
Apr 30, 2016

Conversation

kamalmarhubi
Copy link
Contributor

@kamalmarhubi kamalmarhubi commented Apr 30, 2016

This is defined in <sys/resource.h> as

#define RLIMIT_RSS  RLIMIT_AS   /* source compatibility alias */

See http://opensource.apple.com//source/xnu/xnu-1456.1.26/bsd/sys/resource.h

@rust-highfive
Copy link

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

This is defined in <sys/resource.h> as

    #define	RLIMIT_RSS	RLIMIT_AS	/* source compatibility alias */

See http://opensource.apple.com//source/xnu/xnu-1456.1.26/bsd/sys/resource.h
@alexcrichton
Copy link
Member

@bors: r+ 6b980b1

@bors
Copy link
Contributor

bors commented Apr 30, 2016

⌛ Testing commit 6b980b1 with merge e2af623...

bors added a commit that referenced this pull request Apr 30, 2016
apple: Add RLIMIT_RSS as alias of RLIMIT_AS

This is defined in <sys/resource.h> as

    #define	RLIMIT_RSS	RLIMIT_AS	/* source compatibility alias */

See http://opensource.apple.com//source/xnu/xnu-1456.1.26/bsd/sys/resource.h
@bors
Copy link
Contributor

bors commented Apr 30, 2016

☀️ Test successful - status-appveyor, travis

@bors bors merged commit 6b980b1 into rust-lang:master Apr 30, 2016
Susurrus pushed a commit to Susurrus/libc that referenced this pull request Mar 26, 2017
select(2) fixes

Part of rust-lang#270, fixed according to @kamalmarhubi's comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants