#
c7e64526 |
| 25-Jan-2024 |
Olivier Certner <olce@FreeBSD.org> |
login_cap.h: Remove LOGIN_DEFPRI
This is an implementation detail which is likely to become irrelevant in the future, as we move to not resetting the priority if the corresponding capability is not
login_cap.h: Remove LOGIN_DEFPRI
This is an implementation detail which is likely to become irrelevant in the future, as we move to not resetting the priority if the corresponding capability is not present in the configuration file ('/etc/login.conf').
GitHub's code search and Google show no use of this public constant, and it doesn't exist in OpenBSD and NetBSD.
So, remove this definition and its sole use in-tree.
PR: 276570 (exp-run) Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43609
show more ...
|
#
e3a396eb |
| 25-Jan-2024 |
Olivier Certner <olce@FreeBSD.org> |
login_cap.h: Remove LOGIN_DEFUMASK
This public constant has not been used in-tree since 1997 (this was noticed while working on previous commit "setusercontext(): umask: Set it only once (in the com
login_cap.h: Remove LOGIN_DEFUMASK
This public constant has not been used in-tree since 1997 (this was noticed while working on previous commit "setusercontext(): umask: Set it only once (in the common case)").
Since it was an implementation detail and GitHub's code search and Google show no use of this symbol today, simply remove it.
PR: 276570 (exp-run) Reviewed by: emaste, kib (earlier version, then part of D40344) Approved by: emaste (mentor) MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43608
show more ...
|
Revision tags: release/14.0.0 |
|
#
90e914cd |
| 20-Jun-2023 |
Olivier Certner <olce.freebsd@certner.fr> |
New login_getcapenum(): Allows to read named enum values
Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Sponsored by: Kumacom SAS Dif
New login_getcapenum(): Allows to read named enum values
Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D40684
show more ...
|
#
42b38843 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
#
2bfc50bc |
| 05-Mar-2011 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add two new system calls, setloginclass(2) and getloginclass(2). This makes it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also
Add two new system calls, setloginclass(2) and getloginclass(2). This makes 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)
show more ...
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
b1720f52 |
| 20-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Since in_lt() and in_lts() are not static, assume that they are intended to be part of the public API. Accordingly, add prototypes and document them.
|
#
92657d3c |
| 20-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Since setclasscpumask() is not static, assume that it is intended to be part of the public API. Accordingly, add a prototype and document it.
|
#
93b5982b |
| 20-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Style and whitespace.
|
#
d84c4292 |
| 25-Jul-2008 |
Brooks Davis <brooks@FreeBSD.org> |
Add support for a new login capability, cpumask which allows login sessions to be pinned to cpus by login class.
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
547fa0d9 |
| 18-Oct-2003 |
Mark Murray <markm@FreeBSD.org> |
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
27a68d26 |
| 16-Aug-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Add LOGIN_SETMAC, which will indicate to the user context management code that it should also set the user's default MAC label, if available and permitted.
Obtained from: TrustedBSD Project Sponsore
Add LOGIN_SETMAC, which will indicate to the user context management code that it should also set the user's default MAC label, if available and permitted.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
show more ...
|
Revision tags: release/4.6.2_cvs, release/4.6.2 |
|
#
909410cf |
| 11-Aug-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Whitespace cleanup--it's not style(9), but it is consistent. Prep for MAC-related commits to the login infrastructure.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|
Revision tags: release/4.6.1, release/4.6.0_cvs |
|
#
b00ba4cc |
| 08-Apr-2002 |
Ruslan Ermilov <ru@FreeBSD.org> |
Const poisoning.
|
#
69160b1e |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove __P() usage.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs, release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs |
|
#
04c9749f |
| 22-Aug-2000 |
Brian Feldman <green@FreeBSD.org> |
Add working and easy crypt(3)-switching. Yes, we need a whole new API for crypt(3) by now. In any case:
Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation
Add working and easy crypt(3)-switching. Yes, we need a whole new API 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
show more ...
|
Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs |
|
#
7f3dea24 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs, release/2.2.2_cvs |
|
#
56c04344 |
| 10-May-1997 |
David Nugent <davidn@FreeBSD.org> |
Summary of login.conf support changes:
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
Summary of login.conf support changes:
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.
show more ...
|
#
3564cb62 |
| 10-May-1997 |
David Nugent <davidn@FreeBSD.org> |
Move login_cap.h from src/include for easier maintenance with related files.
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
b1720f52 |
| 20-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Since in_lt() and in_lts() are not static, assume that they are intended to be part of the public API. Accordingly, add prototypes and document them.
|
#
92657d3c |
| 20-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Since setclasscpumask() is not static, assume that it is intended to be part of the public API. Accordingly, add a prototype and document it.
|
#
93b5982b |
| 20-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Style and whitespace.
|
#
d84c4292 |
| 25-Jul-2008 |
Brooks Davis <brooks@FreeBSD.org> |
Add support for a new login capability, cpumask which allows login sessions to be pinned to cpus by login class.
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
547fa0d9 |
| 18-Oct-2003 |
Mark Murray <markm@FreeBSD.org> |
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
27a68d26 |
| 16-Aug-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Add LOGIN_SETMAC, which will indicate to the user context management code that it should also set the user's default MAC label, if available and permitted.
Obtained from: TrustedBSD Project Sponsore
Add LOGIN_SETMAC, which will indicate to the user context management code that it should also set the user's default MAC label, if available and permitted.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
show more ...
|
Revision tags: release/4.6.2_cvs, release/4.6.2 |
|
#
909410cf |
| 11-Aug-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Whitespace cleanup--it's not style(9), but it is consistent. Prep for MAC-related commits to the login infrastructure.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|