History log of /src/lib/libutil/login_cap.c |
Revision | | Date | Author | Comments |
1.33 |
| 29-Oct-2015 |
kamil | Correct typos in comments
Pointed out by Edgar Fuss and J. Lewis Muir.
|
1.32 |
| 11-Jul-2015 |
kamil | Clean-up resources (sys/sys/resource.h) usage
Add vmemoryuse to login_cap(3) Document vmemoryuse in login.conf(5) Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in sysctl(7) Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t
Reviewed by <riastradh> Approved by <pgoyette>
Tested by Dominik Bialy
Closes PR xsrc/49912
|
1.31 |
| 29-Jun-2013 |
yamt | branches: 1.31.6; add "maxthread" tunable to login.conf to adjust RLIMIT_NTHR. PR/47626 ok'ed by christos
|
1.30 |
| 07-Apr-2012 |
christos | branches: 1.30.2; - pass correct types. - use sizeof(var) instead of sizeof(type)
|
1.29 |
| 04-Dec-2007 |
mjf | branches: 1.29.30; 1.29.32; Implement a new magic string for magic symlinks, @ruid, which exapnds to the real user id of the process and use this magic string for per-user tmp. This should fix PR/35687
Kernel parts reviewed by wrstuden@
|
1.28 |
| 06-Oct-2007 |
christos | split LOGIN_SETGROUP -> LOGIN_SETGID|LOGIN_SETGROUPS
|
1.27 |
| 04-Feb-2007 |
elad | branches: 1.27.4; Add support for per-user /tmp.
Enabled via per_user_tmp in /etc/rc.conf (default off).
See security(8) and rc.conf(5) for more details.
Lots of input from thorpej@ & christos@, thanks!
|
1.26 |
| 20-Dec-2006 |
christos | From Anon Ymous: - add __unused - remove __GNUC__ hack
|
1.25 |
| 15-Oct-2006 |
christos | - Instead of wondering if to syslog an error, do so, but in the called function. - use snprintf instead of sprintf.
|
1.24 |
| 14-Oct-2006 |
christos | Allow escaping of the separators using a double backslash
|
1.23 |
| 20-Dec-2005 |
christos | make setuserenv and setuserpath take an environment setting function and an environment pointer and expose them. bump version.
|
1.22 |
| 27-Aug-2005 |
elad | Lint warnings.
|
1.21 |
| 13-Apr-2005 |
drochner | Allow for a login.conf file without an explicite "default" class definition. The login.conf(5) manpage states that the "default" class is used *if it exists*.
|
1.20 |
| 20-Dec-2004 |
christos | Unbreak setuserpath(); from Nick Hudson.
|
1.19 |
| 11-Dec-2004 |
christos | Constify; the api was completely broken before.
|
1.18 |
| 09-May-2004 |
lukem | sbsize should be parsed as R_CSIZE so that suffixes work correctly. Fix from Christian Biere in PR [lib/25504].
(XXX: the R_CSIZE parsing should be changed to using strsuftollx(3))
|
1.17 |
| 23-Apr-2004 |
christos | sprinkle const
|
1.16 |
| 18-Apr-2004 |
matt | Add sbsize login capability.
|
1.15 |
| 25-Oct-2003 |
christos | delint pointer casts.
|
1.14 |
| 21-Oct-2003 |
fvdl | Don't use NULL to compare against an int.
|
1.13 |
| 08-Sep-2003 |
itojun | initialize 'res' to NULL
|
1.12 |
| 08-Sep-2003 |
itojun | plug possible memory leak. from openbsd
|
1.11 |
| 22-Jul-2001 |
wiz | seperate -> separate
|
1.10 |
| 03-Jan-2001 |
lukem | sprinkle in _DIAGASSERT() as appropriate
|
1.9 |
| 12-Oct-2000 |
itojun | /etc/login.conf is optional, so don't return NULL even if there's none found. addresses part of PR 11150. sync with openbsd.
|
1.8 |
| 12-Oct-2000 |
itojun | cosmetic; indentation
|
1.7 |
| 21-Sep-2000 |
ad | - Pull in <util.h> to get secure_path() declared. - Resolve preprocessor symbol clash.
|
1.6 |
| 05-Jul-2000 |
ad | - __RCSID() police. - ANSIfy. - Miscellaneous style changes. - Shutup lint(1) in one or two cases.
|
1.5 |
| 10-Feb-2000 |
mjl | branches: 1.5.4; Add a missing free() of a temporary buffer. Add "unlimited" as synonym for "inf" and "infinity" for the benefit of FreeBSD users. Factor out the comparison w/ "infinity" in a isinfinite() function.
|
1.4 |
| 04-Feb-2000 |
mjl | Add login_getpwclass to libutil as convenience function for programs originally for FreeBSD. Add parsing of "setenv" parameter which can be used to set up an initial environment on login.
|
1.3 |
| 14-Jan-2000 |
mjl | Make setusercontext() resilient against missing login.conf too.
|
1.2 |
| 13-Jan-2000 |
mjl | Make login_cap routines resilient to non-existant conf file, and secure_path() less noisy.
|
1.1 |
| 12-Jan-2000 |
mjl | Add necessary support routines for login.conf.
|
1.5.4.1 |
| 18-Oct-2000 |
tv | Pullup 1.6-1.9 [itojun]: /etc/login.conf is optional, so don't return NULL even if there's none found. addresses part of PR 11150. sync with openbsd.
[releng: plus some cosmetic changes making 1.6-1.8 necessary]
|
1.27.4.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.27.4.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.29.32.1 |
| 15-Nov-2015 |
bouyer | Pull up following revision(s) (requested by kamil in ticket #1317): share/man/man5/login.conf.5: revisions 1.29, 1.30, 1.31 lib/libutil/login_cap.c: revision 1.32 Clean-up resources (sys/sys/resource.h) usage Add vmemoryuse to login_cap(3) Document vmemoryuse in login.conf(5) Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in sysctl(7) Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t Reviewed by <riastradh> Approved by <pgoyette> Tested by Dominik Bialy Closes PR xsrc/49912 Bump date for previous. Clean-up documentation of login.conf(5) Remove redundant word "limit" from sentences "Maximum ...". Note that vmemoryuse might specify both maximum and current limits. Remove redundant 'in bytes' from the description of vmemoryuse, it's not ed in the next section describing the argument type 'size'. Changes inspired by <riastradh> in PR xsrc/49912
|
1.29.30.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.29.30.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.30.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.31.6.1 |
| 04-Nov-2015 |
riz | Pull up following revision(s) (requested by kamil in ticket #927): share/man/man5/login.conf.5: revision 1.29 share/man/man7/sysctl.7: revision 1.88 share/man/man5/login.conf.5: revision 1.30 lib/libutil/login_cap.c: revision 1.32 share/man/man5/login.conf.5: revision 1.31 share/doc/psd/05.sysman/1.6.t: revision 1.6 Clean-up resources (sys/sys/resource.h) usage Add vmemoryuse to login_cap(3) Document vmemoryuse in login.conf(5) Reviewed by <riastradh> Approved by <pgoyette> Tested by Dominik Bialy Closes PR xsrc/49912 Bump date for previous. Clean-up documentation of login.conf(5) Remove redundant word "limit" from sentences "Maximum ...". Note that vmemoryuse might specify both maximum and current limits. Remove redundant 'in bytes' from the description of vmemoryuse, it's not ed in the next section describing the argument type 'size'. Changes inspired by <riastradh> in PR xsrc/49912
|