Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFC r278803, r278905: | pfg | 2015-02-22 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | ulimit(3): Fix broken check. The existing implementation had a broken comparison that could overflow and return confusing values. Replace this with a check that avoids the overflow before it happens. Consistently return a maximum value also on the case of negative arguments since negative is considered an overflow and means infinity for our current setrlimit(). New revamped version is credited to Bruce Evans. CID: 1199295 | ||||
* | Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are | tjr | 2003-01-04 | 1 | -2/+2 |
| | | | | | the names required by 1003.1-2001. The old names are retained for source compatibility with FreeBSD 5.0 and will be removed before 6.0. | ||||
* | Remove unused variable: size. | tjr | 2003-01-04 | 1 | -1/+1 |
| | |||||
* | Implement POSIX.1-2001 (XSI)'s ulimit(3). | mike | 2002-08-08 | 1 | -0/+68 |
Submitted by: Kyle Martin <mkm@ieee.org> |