mpech
c68a3ac420
Clean up after pw_file().
millert@ ok
deraadt@ ok to commit
23 years ago
pvalchev
849e52ae81
mdoc fixes from pjanzen
23 years ago
pvalchev
8da612ea6c
rephrase warning; from miod
23 years ago
pvalchev
18eb0e3fca
print a warning that realpath points to internal static storage space that
will be overwritten by subsequent calls; suggested by pjanzen, ok millert
23 years ago
miod
fba1d2eff0
deraadt@ objects to the caveat remark, so remove it.
23 years ago
miod
2e6a70b044
Slightly improve wording and punctuation.
23 years ago
miod
b796301032
Add a caveat section pointing out that people affecting the return value
of getopt() to char variables instead of int lose on arches where char is
unsigned by default.
Clean the example by not pasting parts of <unistd.h> into it, and by not
using atoi(3).
23 years ago
deraadt
893d09ec7a
fgsch, if you commit without test compiling ONE MORE TIME, I will send a castration team down to argentina
23 years ago
fgsch
265d2ab100
use sizeof w/ defines; niklas@ millert@ ok.
23 years ago
millert
d0f45c1a97
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
23 years ago
mpech
1d113f7a3f
login_close() should avoid memory leak.
millert@ ok
23 years ago
millert
959b08f109
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
23 years ago
millert
b68c09e067
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.
23 years ago
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