| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the MPSAFE TTY import we support an additional rlimit, called
RLIMIT_NPTS. This limit allows you to cap the amount of pseudo-terminals
allocated by one user.
We forgot to add support for this limit to limits(1), which means it
crashed. Add the proper bits to make it work like it should.
Unfortunately not all shells actually implement the RLIMIT, so
unfortunately I suspect it to be broken with certain shells.
Submitted by: Yuriy Tsibizov <yuriy tsibizov gfk ru>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.
Convert all calls to POSIX from historic BSD API:
- unsetenv returns an int.
- putenv takes a char * instead of const char *.
- putenv no longer makes a copy of the input string.
- errno is set appropriately for POSIX. Exceptions involve bad environ
variable and internal initialization code. These both set errno to
EFAULT.
Several patches to base utilities to handle the POSIX changes from
Andrey Chernov's previous commit. A few I re-wrote to use setenv()
instead of putenv().
New regression module for tools/regression/environ to test these
functions. It also can be used to test the performance.
Bump __FreeBSD_version to 700050 due to API change.
PR: kern/99826
Approved by: wes
Approved by: re (kensmith)
|
|
|
|
|
|
|
|
|
| |
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
|
|
|
|
|
|
|
| |
"The setenv( ) function shall fail if:
[EINVAL] The name argument is a null pointer, points to an empty string,
or points to a string containing an '=' character."
The fix (like all others in this subject) is backward-compatible.
|
| |
|
|
|
|
| |
is the common unit for a kilobit).
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
| |
sbsize. Also, correct the format string in getopt(3) usage to reflect
that -b takes an argument, and correct another case of RLIMIT_SBSIZE
having been forgotten.
|
| |
|
|
|
|
| |
Submitted by: sheldonh
|
|
|
|
|
|
|
| |
* add missing Ar macro for one instance of limitflags
* fix indentation problem (not perfect, but then this is one _very_
awkward manpage mark up properly)
|
| |
|
|
|
|
|
|
|
| |
1) Add missing initialisers.
2) Avoid shadowing rcswhich.
3) Use intmax_t and %j for printing rather than quad_t and %q.
4) Don't modify a variable twice between sequence points.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Paul Herman <pherman@frenchfries.net>
|
|
|
|
| |
the usual style bugs for DPADD/LDADD).
|
|
|
|
|
|
| |
add missing .Xo/.Xc to the tags. This only worked due
to the off-by-one bug in the -hang lists, which I will
hopefully backport from the mdocNG shortly.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.
|
| |
|
| |
|
|
|
|
| |
PR: docs/11022
|
|
|
|
| |
PR: docs/6764
|
| |
|
| |
|
|
|
|
|
| |
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
|
|
|
|
|
|
| |
3 which are actually in the section 2.
Pointed out by: Brian Reichert <reichert@numachi.com>
PR: 6480
|
|
|
|
|
| |
PR: 5582
Submitted by: Craig Leres <leres@ee.lbl.gov>
|
| |
|
| |
|
|
|
|
|
| |
PR: 4101
Submitted by: Horikawa Kazuo <k-horik@mail.yk.rim.or.jp>
|
|
|
|
|
|
| |
Updated (incorrect) entry for bash [-v].
Remove unused support for long rlim_t.
Added "bash2" to bash style ulimit handling.
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|