diff options
| author | kre <kre@NetBSD.org> | 2021-09-15 18:30:57 +0000 |
|---|---|---|
| committer | kre <kre@NetBSD.org> | 2021-09-15 18:30:57 +0000 |
| commit | a0cb7535c6b2937ed8783997ec108c958a962194 (patch) | |
| tree | 01ef6cfa5ed6bc346830dd112362ff1526e53e7b /sys/dev/microcode | |
| parent | 852ae73880b36acee721fe7c96951474f609ead3 (diff) | |
Have the ulimit command watch for ulimit -n (alter number of available fds)
and keep the rest of the shell aware of any changes.
While here, modify 'ulimit -aSH' to print both the soft and hard limits
for the resources, rather than just (in this case, as H comes last) the
hard limit. In any other case when both S and H are present, and we're
examining a limit, use the soft limit (just as if neither were given).
No change for setting limits (both are set, unless exactly one of -H
or -S is given). However, we now check for overflow when converting
the value to be assigned, rather than just truncating the value however
it happens to work out...
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
