millert
b8b89abcad
RETURN VALUES, not RETURN VALUE
23 years ago
millert
21456efabd
Make the list of required #includes match reality.
23 years ago
aaron
426796c9a3
Plug memory leak in pw_copy(); millert@ ok
23 years ago
deraadt
431f8263a1
correct type on last arg to execl(); nordin@cse.ogi.edu
23 years ago
deraadt
71d2e52579
a first pass at -Wall
23 years ago
lebel
60ef74bf70
use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.
23 years ago
deraadt
2333db14c1
more .%A handling; bk@rt.fm
23 years ago
millert
4678ee92f7
Clarify that if strlcat() does not find a NUL within siz byte it
will not NUL terminate either.
23 years ago
millert
525207ebf1
o move passwd.conf variables into login.conf
o no longer install passwd.conf (but it is used if it exists and the
needed info is not in login.conf)
o added passwordtime and minpasswordlen login.conf variables
23 years ago
aaron
0be0df2e97
Fix a buf oflow in EXAMPLES code; millert@ ok
23 years ago
deraadt
0833f36618
proto; S@mSmith.net
23 years ago
assar
b453282020
remove confusing comparison with srand (it does not return the old seed)
use .Sh AUTHORS and .An for author
23 years ago
pvalchev
796f867adc
License clarification from David Mazieres, ok deraadt@
23 years ago
deraadt
1f3159836c
new license from Wietse; permits modification. This code is derived from
logdaemon, so this applies:
ftp://ftp.porcupine.org/pub/security/logdaemon_license
23 years ago
millert
7e2ff06798
unsigned -> unsigned int; grange@rt.mipt.ru
23 years ago
deraadt
b131179341
type of function on seperate line
23 years ago
art
4a1143fa05
-1 -> MAP_FAILED
23 years ago
art
c2600b0389
Use madvise(MADV_FREE) to allow the 'h' option.
(the code was already there, just not enabled).
23 years ago
millert
a2733e1619
Document boundary condition when size < strlen(dst).
23 years ago
millert
58ba7fbdf7
Back out last change, it is intended behavior and update the block
comment to reflect this fact. Too early in the morning for me I guess.
23 years ago
millert
8d74ec2cc3
strlcat() should return strlen(dst) + strlen(src) when size parameter
<= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the
GNOME folks.
23 years ago
aaron
763678bdf1
Various man page fixes and improvements from gluk@
24 years ago
deraadt
8123ad9438
document that exit() -> wait() only returns low bits
24 years ago
deraadt
8b515bb629
please alpha
24 years ago
deraadt
71a95aef09
move utmp to large format, usernames to 32 chars; downsj
24 years ago
millert
db5f19efcb
Sync function comment with man page; fanf@covalent.net
24 years ago
millert
1742681900
Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)'
not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk>
24 years ago
naddy
500b3c6b5d
libutil.h -> util.h
24 years ago
todd
83df067d68
grammer/spelling
24 years ago
millert
e6c1e8b9f9
Fix a problem introduced by the printf format sweep. Passing a NULL
pw_error() is prefectly legal but now we have to check for it explicity
(it was handled implicitly before since warn(name) would become warn(NULL)).
24 years ago
aaron
3d200f23d8
Various repairs, mostly to get rid of short lines.
24 years ago
aaron
a23c3559c4
mdoc prefers `\e' as an escape character.
24 years ago
aaron
c56f4d6b0e
typo; ciper -> cipher
24 years ago
aaron
0993603ee0
.Sh EXAMPLE -> .Sh EXAMPLES. Even if there's only one example, at least
this is consistent.
24 years ago
aaron
01bdb7e580
.Sh EXAMPLE -> .Sh EXAMPLES. Move this section before SEE ALSO where it
belongs. Closes PR/1554 from bk@rt.fm .
24 years ago
millert
fee765fb4f
MLINK check_expire.3 -> login_check_expire.3
24 years ago
millert
747d061e52
first cut at a man page for login_check_expire()
24 years ago
millert
3baeeab4e7
login_check_expire(3), a helper function for use with BSD authentication.
This lives in libutil because it uses pw_lock(3) and friends. Needs
a man page (soon!).
24 years ago
millert
2a2d694747
Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.
Crank the shlib major number due to the interface change.
24 years ago
itojun
b01d6ab5d6
comment fix; strlcat returns strlen(initial dst) + strlen(src).
24 years ago
angelos
a8575fe917
"of", not "on" (from Henric Jungheim)
24 years ago
deraadt
e0df9d23fb
shorten, now it fits in -Tps
24 years ago
aaron
e93bcc1d43
The constant's name is MAXPATHLEN, not MAXPATHNAMELEN; closes PR/1491.
From ianm@kashmir.cit.nepean.uws.edu.au .
24 years ago
aaron
d71fc636ce
Clarify; gluk@ptci.ru
24 years ago
aaron
8a0faa7911
Document that the string returned by strerror(3) contains a maximum of
NL_TEXTMAX characters.
24 years ago
aaron
22e70c114c
Another round of man page cleanup, this time to remove more hard sentence
breaks and getting rid of short lines, making these files easier to work with.
24 years ago
aaron
c23a686afb
Add a CAVEATS section to warn programmers that shell meta-characters will
be passed to the command interpreter.
24 years ago
aaron
4ad61ad9cf
Arguments to .Dt macros should be all-caps.
24 years ago
aaron
c10d94986f
Fix typo in NAME section; loict@bougon.net. While I'm here, capitalify the
argument to .Dt, and move the BUGS section to the end like most man pages.
This is my 1000th commit since joining the OpenBSD dev team.
24 years ago
aaron
368621cd11
More of the same.
24 years ago