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
aaron
12e75aa1a7
For man pages that describe multiple functions, split the .Nm arguments
onto separate lines in the NAME section.
24 years ago
aaron
52ecc95202
Remove trailing blank lines.
24 years ago
aaron
bfdce62dd9
typo
24 years ago
provos
5722ba1903
return error if salt is too small; pr 1336
24 years ago
provos
45cd33a8a6
close fd for pw_lck on exec, okay deraadt@
24 years ago
mickey
3b4062f622
knf; ouch, that hurts
24 years ago
mickey
3c9d5e13a7
new version of ffs from drahn@
combines binary search and table lookup.
tested on i386, sparc, ppc, hppa
24 years ago
millert
8859c18d03
warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant). These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).
24 years ago
millert
c59961eebe
State explicitly that strlc{py,at} only work on real C strings.
Clarify point about always NUL-terminating.
24 years ago
hugh
646a4ed2b2
Document device lookup semantics.
25 years ago