aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/_secure_path.3
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* libutil: Document function HISTORY within the manpagesGordon Bergling2020-06-141-1/+5
| | | | | | | | | | Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D24795 Notes: svn path=/head/; revision=362169
* mdoc: order prologue macros consistently by Dd/Dt/OsUlrich Spörlein2010-04-141-1/+1
| | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) Notes: svn path=/head/; revision=206622
* Sort sections.Ruslan Ermilov2005-01-201-4/+4
| | | | Notes: svn path=/head/; revision=140505
* The .Fn functionPhilippe Charnier2003-03-241-1/+2
| | | | Notes: svn path=/head/; revision=112541
* Correct a typo.Dima Dorfman2002-03-031-1/+1
| | | | | | | | PR: 35273 Submitted by: Nicola Vitale <nivit@libero.it> Notes: svn path=/head/; revision=91574
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-2/+2
| | | | Notes: svn path=/head/; revision=84306
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* Introduce .Lb macro to libutil manpagesAlexey Zelkin2000-04-221-7/+3
| | | | | | | | | Sort .Nm values in some manpages Remove explicit note about compiling with -lutil, it's implicitly declared by .Lb macro now. Notes: svn path=/head/; revision=59516
* Add the "use -lutil" line to all functions that require it so people likeBill Fumerola2000-01-181-0/+5
| | | | | | | | | | Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with silly linking errors. Reviewed by: chris Notes: svn path=/head/; revision=56207
* mdoc(7)'fyAlexey Zelkin1999-09-211-3/+6
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=51518
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Bad reference to lstat(3) changed to lstat(2)Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49746
* Spelling corrections.Joseph Koshy1998-06-061-2/+2
| | | | | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36692
* For non-root uids, consider root-owned files also 'secure' unless otherwiseDavid Nugent1997-05-151-2/+2
| | | | | | | disqualified. Notes: svn path=/head/; revision=25829
* Summary of login.conf support changes:David Nugent1997-05-101-0/+70
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. Notes: svn path=/head/; revision=25670