deraadt
1e490e20b5
jakob did not even do a make build, sigh
23 years ago
jakob
e4464b9a36
add pidfile(3) prototype
23 years ago
jakob
665a8f810d
multiple calls to pidfile(3) are actually ok, but there are problems if you change the basename
23 years ago
jakob
68a4b51ff3
add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.
23 years ago
drahn
2ca2f70119
Also build the .so version of sha1 without optimization.
ok jason@
23 years ago
jason
923842bb6f
get previous right...
23 years ago
jason
9f6d5d1ad2
add hack for sha1.po on sparc64, too
23 years ago
espie
aecf1306d9
K&R promotion is not the whole story. Make things explicit.
23 years ago
mpech
68ddad385f
Initial idea from aaron@: Last char of .Xr group in SEE ALSO section should
be a single digit. Powered by mantoya@.
millert@ ok.
23 years ago
deraadt
e5b3c6a8fe
oh this is horrible
23 years ago
deraadt
7f7255c5d9
make sure that va_start() has matching va_end()
23 years ago
mickey
2660cbbcf5
make debug libs build again
23 years ago
millert
734e2e00f3
Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts.
23 years ago
art
7c3186ea3c
gcc hangs when compiling sha1 on sparc64, workaround.
23 years ago
millert
dc64978377
Change the second arg to pw_mkdb() from a boolean flag to a set of
bit flags ORed together. Currently the only flags defined are
_PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to
cause pw_mkdb() to run pwd_mkdb with the options we want.
With this change we no longer generate the old V7 passwd file when
only the extra fields in master.passwd (or the encrypted password)
have changed. There are other programs that could probably use
the _PASSWORD_OMITV7 flag; they will be converted at a future date.
23 years ago
millert
17d95e498c
2nd arg to pw_mkdb()
23 years ago
millert
b2ff13368c
consistently use #include "util.h" not <util.h> since util.h lives in this dir.
23 years ago
millert
5caca03abd
Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -s
flag and crank the library major due to the interface change.
23 years ago
millert
010e8fe0d7
Get rid of extraneous #includes by using stub struct declarations.
23 years ago
heko
52b680a55c
#(endif|else) foo is incorrect, make it #endif /* foo */
deraadt@ ok
23 years ago
mpech
8038b2e506
o) We always close .Bl and .Bd tags;
o) .Sh AUTHOR -> .Sh AUTHORS;
o) We don't like .Pp before/after .Sh;
o) We don't like .Pp before/after .Rs/.Re;
o) NetBSD -> .Nx;
o) OpenBSD -> .Ox;
millert@ ok
23 years ago
millert
f4dff807f0
Minor style pedentry from ben@arbor.net plus some of my own and sync
libkern and libc versions.
23 years ago
mpech
a7678ef179
clean up.
millert@ ok
23 years ago
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