mickey
df85ac99b5
fix the history refs
23 years ago
fgsch
f9ed61c293
THREAD_UNLOCK() on error before returning; millert@ ok.
23 years ago
marc
a1df4e69bd
compile sparc64 version of sha1.go with -O0, too. OK jason@
23 years ago
millert
1e2fd73b66
Use the volatile specifier to fix warnings about variables being
clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
23 years ago
millert
b6c954318e
If the user passes in "" as the string to resolve the lstat() will
fail anyway so check for that. Also convert "." to "" since that
way we avoid the lstat() (which we don't need) and the subsequent
chdir() and some dir checks.
23 years ago
mpech
a0ba08a5ce
pids should be pid_t, not int
23 years ago
miod
f782f2c5fe
Two functions can return errors here, not just one.
23 years ago
deraadt
2ebe322d0c
when strerror() has an Unknown error, also set EINVAL
23 years ago
deraadt
b7edc160a2
save the pid as well, and only do the atexit in the same pid
23 years ago
deraadt
7e48f32113
alloca cannot check if the allocation is valid. mention the consequences; millert ok
23 years ago
tdeval
77a7c73d5c
correct an alignment mis-conception for malloc(0) returned regions.
OK deraadt@
23 years ago
deraadt
656331798e
document how malloc(0) blobbies are stored, and their character
23 years ago
miod
5fff16eb20
Warn that pidfile() will not have the expected removal behaviour if _exit()
is called.
23 years ago
deraadt
9462d0d22b
2nd param is const
23 years ago
deraadt
a3de80a1d8
save errno in signal handler
23 years ago
millert
102be945f2
Comment out info on U (utrace) malloc option since we don't support it
on OpenBSD.
23 years ago
mickey
c3e7e8407a
remove dangling spaces and tabs
23 years ago
tdeval
9b9efbb25c
Grammar. Thanks markus@
23 years ago
tdeval
d98536c135
mprotect allocations sized at 0 bytes. This will cause a fault for access
to such, permitting them to be discovered, instead of exploited as the ssh
crc insertion detector was. Idea by theo, written by tdeval.
23 years ago
deraadt
7c24a87eca
fix docs; tedu@heorot.stanford.edu
23 years ago
millert
ac4382dfde
add RFC 3174 to SEE ALSO section
23 years ago
markus
8b85012334
sync with rmd160.h
23 years ago
markus
3bb1d7ac89
new rmd160 implementation. based on
ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf, ok deraadt@
23 years ago
mpech
c05e66058a
Start new sentence on a new line.
jakob@ ok
23 years ago
jakob
b2fc98a506
re-enable pidfile(3). ok millert@
23 years ago
matthieu
5055a367e5
zap pidfile from here too, until conflict with kerberosV is fixed ok deraadt@
23 years ago
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