<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libutil/login_class.c, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-02-05T04:17:14Z</updated>
<entry>
<title>login.conf(5): split MAIL env var out into a "mail" capability</title>
<updated>2020-02-05T04:17:14Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-05T04:17:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=acf2957e49f798b82c130cbf6e4e5ef986911bba'/>
<id>urn:sha1:acf2957e49f798b82c130cbf6e4e5ef986911bba</id>
<content type='text'>
This allows it to be easily suppressed in, e.g., the "daemon" class where it
will not be properly expanded.

This is a part of D21481.

Submitted by:	Andrew Gierth &lt;andrew_tao173.riddles.org.uk&gt;
</content>
</entry>
<entry>
<title>libutil: remove SIGSYS handling from setusercontext</title>
<updated>2019-09-02T13:55:31Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2019-09-02T13:55:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ebea9e6d8f77c87a59383f58566b1c27fed232b3'/>
<id>urn:sha1:ebea9e6d8f77c87a59383f58566b1c27fed232b3</id>
<content type='text'>
It was a workaround for cases where the kernel lacks setloginclass(2),
added in the 9.x era.

Submitted by:	Pawel Biernacki
</content>
</entry>
<entry>
<title>Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add</title>
<updated>2016-03-12T14:54:34Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-03-12T14:54:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=250d9fd8aa9dc7be7fb62626f1c9ffc711d74e0c'/>
<id>urn:sha1:250d9fd8aa9dc7be7fb62626f1c9ffc711d74e0c</id>
<content type='text'>
login.conf(5) support.

Reviewed by:	jilles
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D5610
</content>
</entry>
<entry>
<title>Fix a clang 3.5 warning about abs(3) being given an argument of type</title>
<updated>2014-10-29T20:18:37Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-10-29T20:18:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b149798e50fac1113a785fa283dd7315c3937f2a'/>
<id>urn:sha1:b149798e50fac1113a785fa283dd7315c3937f2a</id>
<content type='text'>
quad_t in setusercontext().  While here, sanitize the clamping of the
priority value, and use the correct type for the return value of
login_getcapnum().

Reviewed by:	kib
MFC after:	3 days
</content>
</entry>
<entry>
<title>Add a resource limit for the total number of kqueues available to the</title>
<updated>2013-10-21T16:46:12Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2013-10-21T16:46:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=85a0ddfd0b269f9527883973092c457f04c1af19'/>
<id>urn:sha1:85a0ddfd0b269f9527883973092c457f04c1af19</id>
<content type='text'>
user.  Kqueue now saves the ucred of the allocating thread, to
correctly decrement the counter on close.

Under some specific and not real-world use scenario for kqueue, it is
possible for the kqueues to consume memory proportional to the square
of the number of the filedescriptors available to the process.  Limit
allows administrator to prevent the abuse.

This is kernel-mode side of the change, with the user-mode enabling
commit following.

Reported and tested by:	pho
Discussed with:	jmg
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix NULL ptr dereference in setusercontext if pwd is null,</title>
<updated>2012-02-09T21:06:47Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-02-09T21:06:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0bdc3ecf11021e29596957343ea097ab8210296d'/>
<id>urn:sha1:0bdc3ecf11021e29596957343ea097ab8210296d</id>
<content type='text'>
LOGIN_SETPRIORITY is set, and setting the priority (rtprio or
setpriority) fails.

PR:		kern/164238
Submitted by:	Alexander Wittig &lt;alexander@wittig.name&gt;
Reviewed by:	des
Approved by:	cperciva
MFC after:	1 month
</content>
</entry>
<entry>
<title>Add two new system calls, setloginclass(2) and getloginclass(2).  This makes</title>
<updated>2011-03-05T12:40:35Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2011-03-05T12:40:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2bfc50bc4fbc3ad7e8bdfeb6b55d72ea55c4f18b'/>
<id>urn:sha1:2bfc50bc4fbc3ad7e8bdfeb6b55d72ea55c4f18b</id>
<content type='text'>
it possible for the kernel to track login class the process is assigned to,
which is required for RCTL.  This change also make setusercontext(3) call
setloginclass(2) and makes it possible to retrieve current login class using
id(1).

Reviewed by:	kib (as part of a larger patch)
</content>
</entry>
<entry>
<title>In setusercontext(), do not apply user settings unless running as the</title>
<updated>2010-08-16T11:32:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2010-08-16T11:32:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=35305a8dc114c2be95dfa0d14557034c3341462a'/>
<id>urn:sha1:35305a8dc114c2be95dfa0d14557034c3341462a</id>
<content type='text'>
user in question (usually but not necessarily because we were called
with LOGIN_SETUSER).  This plugs a hole where users could raise their
resource limits and expand their CPU mask.

MFC after:	3 weeks
</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-test2/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>Avoid assigning a const char * to a char *.</title>
<updated>2008-11-04T13:49:53Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-11-04T13:49:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b8a5cd86e3503c4c15601f88cc075cc111fd9e15'/>
<id>urn:sha1:b8a5cd86e3503c4c15601f88cc075cc111fd9e15</id>
<content type='text'>
MFC after:	3 weeks
</content>
</entry>
</feed>
