<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/limits, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-04-10T10:17:01Z</updated>
<entry>
<title>Add link to rctl(8).</title>
<updated>2011-04-10T10:17:01Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2011-04-10T10:17:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae1fdbee9e2ef97915ccbcadc8351a759a69f67e'/>
<id>urn:sha1:ae1fdbee9e2ef97915ccbcadc8351a759a69f67e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document -w for swapuse.</title>
<updated>2011-04-05T07:56:40Z</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@FreeBSD.org</email>
</author>
<published>2011-04-05T07:56:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=89b13f486a52f3bf0631ff736d310f8e58145454'/>
<id>urn:sha1:89b13f486a52f3bf0631ff736d310f8e58145454</id>
<content type='text'>
PR:		docs/156089
Submitted by:	Andrey Ignatov &lt;rdna att rdna.ru&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>Build usr.bin/ with WARNS=6 by default.</title>
<updated>2010-01-02T10:27:05Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:27:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7946da96b4498519f66f3f5fe72d1474bf13f7d'/>
<id>urn:sha1:b7946da96b4498519f66f3f5fe72d1474bf13f7d</id>
<content type='text'>
Also add some missing $FreeBSD$ to keep svn happy.
</content>
</entry>
<entry>
<title>Revert most part of 200420 as requested, as more review and polish is</title>
<updated>2009-12-13T03:14:06Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-12-13T03:14:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=821df508e882ca532bec415852399c6558f22f7a'/>
<id>urn:sha1:821df508e882ca532bec415852399c6558f22f7a</id>
<content type='text'>
needed.
</content>
</entry>
<entry>
<title>Remove unneeded header includes from usr.bin/ except contributed code.</title>
<updated>2009-12-11T23:35:38Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-12-11T23:35:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6f2d322192a3949db6e0f0b4bad4c763abc52bed'/>
<id>urn:sha1:6f2d322192a3949db6e0f0b4bad4c763abc52bed</id>
<content type='text'>
Tested with:	make universe
</content>
</entry>
<entry>
<title>Usermode portion of the support for swap allocation accounting:</title>
<updated>2009-06-23T20:57:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-06-23T20:57:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c9253e931d306584898f210227172785fe663d45'/>
<id>urn:sha1:c9253e931d306584898f210227172785fe663d45</id>
<content type='text'>
- update for getrlimit(2) manpage;
- support for setting RLIMIT_SWAP in login class;
- addition to the limits(1) and sh and csh limit-setting builtins;
- tuning(7) documentation on the sysctls controlling overcommit.

In collaboration with:	pho
Reviewed by:	alc
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Add support for RLIMIT_NPTS to limits(1).</title>
<updated>2008-09-02T19:13:24Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-09-02T19:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a583eb0809be87a80a78a970c20f024b78be8e60'/>
<id>urn:sha1:a583eb0809be87a80a78a970c20f024b78be8e60</id>
<content type='text'>
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 &lt;yuriy tsibizov gfk ru&gt;
</content>
</entry>
<entry>
<title>Significantly reduce the memory leak as noted in BUGS section for</title>
<updated>2007-07-04T00:00:41Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2007-07-04T00:00:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2966d28c322dcfa4b9db2558da0b91839e7798b9'/>
<id>urn:sha1:2966d28c322dcfa4b9db2558da0b91839e7798b9</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Back out all POSIXified *env() changes.</title>
<updated>2007-05-01T16:02:44Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2007-05-01T16:02:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba174a5e38b1ab764c4a36ef4dd83e80c4add148'/>
<id>urn:sha1:ba174a5e38b1ab764c4a36ef4dd83e80c4add148</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>limits calls setenv("name=value", "value", 1); which violates POSIX:</title>
<updated>2007-04-30T20:10:10Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2007-04-30T20:10:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=35e4f24d239d6367cd091b770691a821d59daae4'/>
<id>urn:sha1:35e4f24d239d6367cd091b770691a821d59daae4</id>
<content type='text'>
"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.
</content>
</entry>
</feed>
