summaryrefslogtreecommitdiffstats
path: root/libutil/login_cap.h
Commit message (Collapse)AuthorAgeFilesLines
* Recommit everything, add chpass, improve history (except for a few files ↵Cameron Katri2021-05-021-0/+164
| | | | that git-filter-repo dislikes for some reason [_secure_path.c and login_cap.h])
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-166/+0
| | | | | | | for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
* Since in_lt() and in_lts() are not static, assume that they are intended toDag-Erling Smørgrav2008-10-201-0/+2
| | | | be part of the public API. Accordingly, add prototypes and document them.
* Since setclasscpumask() is not static, assume that it is intended to beDag-Erling Smørgrav2008-10-201-0/+1
| | | | part of the public API. Accordingly, add a prototype and document it.
* Style and whitespace.Dag-Erling Smørgrav2008-10-201-15/+19
|
* Add support for a new login capability, cpumask which allows loginBrooks Davis2008-07-251-1/+2
| | | | sessions to be pinned to cpus by login class.
* ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.Mark Murray2003-10-181-3/+3
|
* Add LOGIN_SETMAC, which will indicate to the user context management codeRobert Watson2002-08-161-1/+2
| | | | | | | | that it should also set the user's default MAC label, if available and permitted. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Whitespace cleanup--it's not style(9), but it is consistent. PrepRobert Watson2002-08-111-3/+3
| | | | | | | for MAC-related commits to the login infrastructure. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Const poisoning.Ruslan Ermilov2002-04-081-3/+3
|
* Remove __P() usage.David E. O'Brien2002-03-211-47/+47
|
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIBrian Feldman2000-08-221-0/+1
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
|
* Summary of login.conf support changes:David Nugent1997-05-101-50/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move login_cap.h from src/include for easier maintenance withDavid Nugent1997-05-101-0/+141
related files.