Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ANSIfy function declarations, move initializations to declaration block | 2016-03-10 | 1 | -19/+10 | |
| | | | | ok millert@ | ||||
* | Remove NULL-checks before free() and a few related dead assignments. | 2015-12-28 | 1 | -5/+3 | |
| | | | | ok and valuable input from millert@ | ||||
* | remove null check before free. from Michael McConville | 2015-09-14 | 1 | -29/+15 | |
| | | | | ok semarie | ||||
* | Wrap <login_cap.h> so that calls go direct and the symbols are all weak | 2015-09-13 | 1 | -1/+11 | |
| | |||||
* | Use setresuid() and setresgid(). OK guenther@ deraadt@ | 2014-04-01 | 1 | -7/+8 | |
| | |||||
* | simplify and clarify login_getstyle; ok deraadt@ | 2008-10-02 | 1 | -14/+7 | |
| | |||||
* | Check snprintf(3) return value for error or truncation. | 2007-09-17 | 1 | -3/+12 | |
| | | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@ | ||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | 2007-09-02 | 1 | -2/+2 | |
| | |||||
* | a few rlim_t casts, kind of ok otto and millert | 2006-04-09 | 1 | -13/+13 | |
| | |||||
* | Fix use after free(). Bug found by mpech@; ok deraadt@ | 2005-10-04 | 1 | -4/+4 | |
| | |||||
* | unused variable killed | 2004-09-16 | 1 | -3/+2 | |
| | |||||
* | Only expand a tilde for strings like "~", "~/..", "~user" and "~user/". | 2004-08-10 | 1 | -19/+43 | |
| | | | | | For the PATH, only expand a tilde that is at the beginning of the path name. This is similar to the behavior prior to my commit here yesterday. | ||||
* | Support the "setenv" capability in login.conf ala FreeBSD. Following | 2004-08-09 | 1 | -62/+242 | |
| | | | | | | | FreeBSD's example, a '~' in an environment variable is replaced with the user's homedir. A '$' is replaced by the user's login name. Both can be escaped with a backslash to get the literal char. OK deraadt@ | ||||
* | Honor vmemoryuse resouce limit if RLIMIT_VMEM is defined. | 2004-08-07 | 1 | -1/+4 | |
| | |||||
* | ansify function definitions and zap some `register' | 2004-05-18 | 1 | -60/+16 | |
| | | | | ok millert@ | ||||
* | amout -> amount; from tom@. | 2004-01-07 | 1 | -2/+2 | |
| | |||||
* | dont compare int to NULL, millert@ ok | 2003-10-24 | 1 | -2/+2 | |
| | |||||
* | protos | 2003-06-25 | 1 | -1/+2 | |
| | |||||
* | Rewritten setuserpath() that is much clearer and uses strlcpy() | 2003-03-31 | 1 | -43/+68 | |
| | | | | for added paranoia. tdeval@ and mpech@ OK | ||||
* | more writeable -> writable by torh | 2002-12-15 | 1 | -2/+2 | |
| | |||||
* | more snprintf; ok millert | 2002-11-22 | 1 | -3/+3 | |
| | |||||
* | Use strtoll() and strtoull() instead of strtoq() and strtouq() now | 2002-10-09 | 1 | -4/+4 | |
| | | | | that we have them as per the original BSDi code. | ||||
* | %u and uid/gid | 2002-06-27 | 1 | -4/+4 | |
| | |||||
* | uid_t is unsigned | 2002-06-23 | 1 | -2/+2 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -5/+5 | |
| | |||||
* | Fix memory leak in setuserpath(). We prefer patch from millert@. | 2002-01-29 | 1 | -12/+15 | |
| | |||||
* | Fix memory leaks in login_getcapnum() and login_getcapsize(). | 2002-01-28 | 1 | -3/+25 | |
| | | | | millert@ ok | ||||
* | Fix memory leaks in login_getstyle(), login_getstr() and login_getcaptime() | 2002-01-23 | 1 | -42/+62 | |
| | |||||
* | Complain via syslog if login.conf does not exist. With the BSD | 2001-05-30 | 1 | -5/+2 | |
| | | | | | | authentication stuff in you really want to know if this file doesn't exist. The last two releases have shipped with /etc/login.conf so there's no excuse not to have it, other than an error. | ||||
* | Silently convert s/key -> skey in login_getstyle(). A bit of a hack | 2000-12-04 | 1 | -1/+5 | |
| | | | | but OpenBSD folks are more used to saying s/key. | ||||
* | seperate -> separate, okay aaron@ | 2000-11-10 | 1 | -2/+2 | |
| | |||||
* | Change setuserpath() from void to int so we can pass up a return | 2000-09-16 | 1 | -6/+13 | |
| | | | | value if setenv() fails. Porblem pointed out by deraadt. | ||||
* | KNF | 2000-08-24 | 1 | -4/+4 | |
| | |||||
* | login.conf code from BSDi. This does not include the bsd auth code | 2000-08-20 | 1 | -0/+901 | |
which will come later. At this stage it is primarily used for setting resource limits. |