summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_cap.c
Commit message (Collapse)AuthorAgeFilesLines
* Add "break" inadvertently removed in previous update.davidn1997-06-131-1/+3
| | | | | PR: 3820 Submitted by: Joseph Stein <joes@spiritone.com>
* MF2.2: bugfix in arrayize().davidn1997-05-111-2/+2
|
* Summary of login.conf support changes:davidn1997-05-101-311/+517
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* "infinity" check was missed from login_getcapsize(), add itache1997-02-271-1/+7
| | | | One manifestation of this bug: all networking users have coredumpsize=0
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Fix free()ing block twice, remove unused function.davidn1997-01-301-15/+1
|
* Fix typo .->, for default separators in login_getcaplist().davidn1997-01-291-1/+2
|
* Completed fixes with login_getcapsize().davidn1997-01-291-1/+2
|
* 1) Fixed bug in free()ing internal string/array wheredavidn1997-01-291-24/+32
| | | | | | | allocated size not reset to 0 causing NULL dereference on call after login_close(). 2) Modify login_capsize() behaviour to match manpage, allow concatenated sizes; ie. 10m500k
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Various bugfixes.davidn1997-01-071-7/+11
|
* Commit the right version this time. :-)davidn1997-01-071-2/+2
|
* Fix for login_getclass(NULL) case.davidn1997-01-071-4/+6
|
* Library functions relating to the login class capabilities database,davidn1997-01-041-0/+564
including manpages. See also login_cap.h.
OpenPOWER on IntegriCloud