1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-16 14:41:02 +02:00
Commit graph

37 commits

Author SHA1 Message Date
Jun-ichi Takimoto
273da6cc5f 45490 (+45495 and a test): refactor rlimits.c
Use a table of known resouces instead of generating rlimits.h by
rlimits.awk.
2020-03-06 20:12:06 +09:00
Jun-ichi Takimoto
b82c24801f 44710: support RLIMIT_UMTXP on FreeBSD 2019-08-28 10:02:29 +09:00
Barton E. Schaefer
1ea94513cc Dmitry Marakasov: 38162: accept G for gigabytes in limit command
from github pull request - some formatting edited
2016-03-26 09:45:47 -07:00
Jun-ichi Takimoto
ca3bc0d95d 37838: use UNUSED() consistently 2016-01-30 00:26:23 +09:00
Barton E. Schaefer
2d4743ce50 33493: use correct command name in error messages about "ulimit" failure; restore internal copy of limits if setrlimit() fails, so the error won't repeat 2014-10-22 08:42:37 -07:00
Peter Stephenson
e0dccff13e 32799: resource NTHR not well handled on NetBSD 2014-06-26 10:48:19 +01:00
Jun T
d082827c83 32616: bad printf arguments for limits 2014-05-18 18:23:16 +01:00
Stefan Neudorf
73746daf7f 31936: Rationalise limits for threads 2013-11-03 19:51:34 +00:00
Stefan Neudorf
93dec3a96a 31935: further updates to limits for BSD 2013-11-03 19:47:00 +00:00
Stefan Neudorf
790a4fee2b 31930 / 31934: New limits from BSD.
Avoid clash of uses for ulimit -k.
2013-10-31 20:25:13 +00:00
Peter Stephenson
e92a823a4b 30629 plus unposted formatting changes:
support socket buffer size limit properly in ulimit;
improve consistency of output and documentation and tweak formatting appropriately
2012-08-17 13:26:22 +00:00
Peter Stephenson
9fdcd824d8 30627: support RLIMIT_NTHR as on NetBSD 2012-08-17 11:12:34 +00:00
Peter Stephenson
fdb00982f5 Jun T: 29883: cast resource types to types they should be anyway 2011-10-31 09:48:58 +00:00
Peter Stephenson
c31caeb086 29490: add RLIMIT_RTTIME 2011-06-19 00:10:34 +00:00
Peter Stephenson
9c0a19669b Danek: 29254: fix some compiler warnings 2011-05-13 18:12:05 +00:00
Peter Stephenson
f80bc2b5f6 27566: add ulimit -c hard and immediate return on argument error 2010-01-05 16:29:35 +00:00
Peter Stephenson
de4dac8874 27565: sanity check numeric arguments to ulimit 2010-01-05 15:58:15 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Clint Adams
a259e097b5 unposted: spacing fix 2006-09-15 22:15:44 +00:00
Clint Adams
cca7eb1fd9 unposted: replace elided colon 2006-09-15 21:52:53 +00:00
Clint Adams
7a7dfd55a1 22718: use ulimit -e and -r for RLIMIT_NICE and RLIMIT_RTPRIO respectively. 2006-09-15 21:22:06 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Peter Stephenson
8776b52d7d Toby Peterson: 21083: RLIMIT_AS and RLIMIT_RSS are the same in Mac OX X
ut_name needs to be ut_user in struct utmpx
2005-04-04 09:58:44 +00:00
Peter Stephenson
f8d74c1aab 20728: add RLIMIT_SIGPENDING and RLIMIT_MSGQUEUE,
also use ulimit -x for RLIMIT_LOCK
2005-01-19 13:03:33 +00:00
Peter Stephenson
bf21478722 20118: improvements to limits builtins 2004-06-30 11:10:35 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
d84942a9b4 19408: fix argument handling for ulimit -aH 2004-02-08 21:05:49 +00:00
Peter Stephenson
c34176365e 18431: Another attempt to fix the problems with RLIMIT definitions 2003-04-03 09:55:40 +00:00
Clint Adams
b5b1099023 18207: add maxfilelocks to ulimit output. 2003-02-09 01:12:35 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Peter Stephenson
5d010ca81a 17285: David Wolfe <dwolfe@gforcetech.com>: finally fix QNX rlimits problem 2002-06-05 09:15:33 +00:00
Bart Schaefer
6a75b3c0c5 16197: limit' accepts unlimited'. 2001-11-01 15:41:40 +00:00
Peter Stephenson
bb5d460f51 16145: try to handle identical RLIMIT_RSS and RLIMIT_VMEM better. 2001-10-25 11:18:51 +00:00
Peter Stephenson
acd69a7ba3 Pavel Roskin <proski@gnu.org>: compilation for QNX 2001-10-22 17:18:29 +00:00
Bart Schaefer
3793c1c05b Report error on setting a limit to a string that os not a decimal number. 2001-10-22 15:44:19 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00