Commit Graph

5 Commits

Author SHA1 Message Date
Todd C. Miller
ad4dd3b223 Fix AIX limit setting. getuserattr() returns values in disk blocks rather
than bytes.  The default hard stack size in newer AIX is RLIM_SAVED_MAX.
From Dale King.
2008-10-03 13:19:31 +00:00
Todd C. Miller
7ddbc66eb6 Fall back to default stanza if no user-specific limit is found. 2008-04-05 19:54:11 +00:00
Todd C. Miller
d7b4d7bc2a It turns out the logic for getting AIX limits is more convoluted
than I realized and differs depending on whether the soft and/or
hard limits are defined.
2008-03-26 17:11:53 +00:00
Todd C. Miller
59c1ac153c attempt to fix compilation errors on AIX 2008-03-06 18:18:17 +00:00
Todd C. Miller
897239afe9 Add aix_setlimits() to set resource limits on AIX using a combination
of getuserattr() and setrlimit().  Currently untested.
2008-03-06 17:19:57 +00:00