<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libutil/login_auth.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>2016-05-18T15:25:45Z</updated>
<entry>
<title>libutil: minor spelling fixes.</title>
<updated>2016-05-18T15:25:45Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-18T15:25:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=872a3a62ae33498a454fa2f161769ff1731ca64a'/>
<id>urn:sha1:872a3a62ae33498a454fa2f161769ff1731ca64a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libutil: Use O_CLOEXEC for internal file descriptors from open().</title>
<updated>2013-08-28T21:10:37Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-28T21:10:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d1d4d95209e4ba5da75c16a5653bc46fca6418f8'/>
<id>urn:sha1:d1d4d95209e4ba5da75c16a5653bc46fca6418f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up. Sort headers.</title>
<updated>2003-06-14T18:42:37Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2003-06-14T18:42:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0ebec5d3c836a1a8ba2d3b4b06c57c5ecb104485'/>
<id>urn:sha1:0ebec5d3c836a1a8ba2d3b4b06c57c5ecb104485</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Const poisoning.</title>
<updated>2002-04-08T11:04:56Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-04-08T11:04:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b00ba4ccbbc47007464062814d062702e3123276'/>
<id>urn:sha1:b00ba4ccbbc47007464062814d062702e3123276</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add __FBSDID()s to libutil</title>
<updated>2001-09-30T22:35:07Z</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2001-09-30T22:35:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8719c58fefefd5ceebb076be7e40b2a2be317c36'/>
<id>urn:sha1:8719c58fefefd5ceebb076be7e40b2a2be317c36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Axe LOGIN_CAP_AUTH.</title>
<updated>1999-08-13T16:51:40Z</updated>
<author>
<name>Sheldon Hearn</name>
<email>sheldonh@FreeBSD.org</email>
</author>
<published>1999-08-13T16:51:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7312edcec32a0c8c63c42f9aa349e38e44e0a212'/>
<id>urn:sha1:7312edcec32a0c8c63c42f9aa349e38e44e0a212</id>
<content type='text'>
PR:	10115
Reported by:	Gene Skonicki &lt;gene@cif.rochester.edu&gt;
Requested by:	jdp
</content>
</entry>
<entry>
<title>Replace memory leaking instances of realloc with non-leaking reallocf.</title>
<updated>1998-09-16T04:17:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1998-09-16T04:17:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e8420087b0ae4a2d0611cd2f6413d150cfc83554'/>
<id>urn:sha1:e8420087b0ae4a2d0611cd2f6413d150cfc83554</id>
<content type='text'>
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
</content>
</entry>
<entry>
<title>sleep() after sending 'nologin' file to ensure output is drained before</title>
<updated>1997-07-19T04:47:05Z</updated>
<author>
<name>David Nugent</name>
<email>davidn@FreeBSD.org</email>
</author>
<published>1997-07-19T04:47:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=78e4c0247997cb2080fff68e3ddc16e06221a20a'/>
<id>urn:sha1:78e4c0247997cb2080fff68e3ddc16e06221a20a</id>
<content type='text'>
disconnect.
</content>
</entry>
<entry>
<title>Summary of login.conf support changes:</title>
<updated>1997-05-10T18:55:38Z</updated>
<author>
<name>David Nugent</name>
<email>davidn@FreeBSD.org</email>
</author>
<published>1997-05-10T18:55:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=56c0434453eef215dd1bff2f1b5796f5f7c95dfa'/>
<id>urn:sha1:56c0434453eef215dd1bff2f1b5796f5f7c95dfa</id>
<content type='text'>
o Incorporated BSDI code and enhancements, better logging for error
  checking (which has been shown to be a problem, and is therefore
  justified, imho); also some minor things we were missing, including
  better quad_t math, which checks for under/overflows.

o setusercontext() now allows user resource limit overrides, but
  does this AFTER dropping root privs, to restrict the user to
  droping hard limits and set soft limits within the kernel's
  allowed user limits.

o umask() only set once, and only if requested.

o add _secure_path(), and use in login.conf to guard against
  symlinks etc. and non-root owned or non-user owned files being
  used. Derived from BSDI contributed code.

o revamped authentication code to BSDI's latest api, which
  includes deleting authenticate() and adding auth_check()
  and a few other functions. This is still marked as depecated
  in BSDI, but is included for completeness. No other source
  in the tree uses this anyway, so it is now bracketed with
  #ifdef LOGIN_CAP_AUTH which is by default not defined. Only
  auth_checknologin() and auth_cat() are actually used in
  module login_auth.c.

o AUTH_NONE definition removed (collided with other includes
  in the tree). [bde]

o BSDI's login_getclass() now accepts a char *classname
  parameter rather than struct passwd *pwd. We now do likewise,
  but added login_getpwclass() for (sort of) backwards
  compatiblity, namely because we handle root as a special
  case for the default class. This will require quite a few
  changes elsewhere in the source tree.

o We no longer pretend to support rlim_t as a long type.

o Revised code formatting to be more bsd-ish style.
</content>
</entry>
</feed>
