Commit Graph

10479 Commits

Author SHA1 Message Date
christos 3897500b28 forgot to commit this; cleanup to compile with WARNS=4, since lpd uses it. 2005-11-28 14:18:20 +00:00
christos 8f90380d42 Add the last of the deprecated functions. 2005-11-27 02:00:46 +00:00
christos 66dedf6e69 add new man pages. 2005-11-26 22:39:15 +00:00
christos 23168589be use LIBDPLIBS for libcrypto. 2005-11-26 16:09:30 +00:00
christos 70d7f8e8c5 move libradius to build after libcrypto. 2005-11-26 16:07:15 +00:00
christos a401c70c2c add some more files 2005-11-26 00:36:17 +00:00
christos f849a69336 Add some more files needed by openssl 2005-11-26 00:35:58 +00:00
christos 85fdc9d1a1 add more casts. 2005-11-25 23:20:00 +00:00
christos 2b723133ba add o_dir.c 2005-11-25 23:18:13 +00:00
christos a298f73e51 Regenerate man pages. 2005-11-25 21:09:33 +00:00
christos c1cfec6562 Adjust to the new openssl build; bump version. Also if we are compiling
with SSL, link against libcrypto to pick up the proper versions of the
symbols needed.
2005-11-25 21:07:11 +00:00
christos 684a3fe509 Add deprecated functions that openssh still uses. 2005-11-25 20:34:58 +00:00
christos 051fcc4890 put ENGINESDIR define in Makefile.openssl 2005-11-25 20:34:31 +00:00
christos bdfb565183 bump libssh 2005-11-25 20:29:16 +00:00
christos 211369f7bd bump libkrb5 2005-11-25 20:28:39 +00:00
christos 9b80bb7a00 bump libssl, and add new includes. 2005-11-25 20:28:18 +00:00
christos 9ea9ccfcc6 Adjust to the new openssl-0.9.8a. Notable changes:
- no more fips
    - new algorithms
Bump version to 3.0
2005-11-25 19:15:08 +00:00
tron d58b6064be SHA2 support appeared in NetBSD 3.0. 2005-11-22 10:12:23 +00:00
manu c263eb3142 Merge ipsec-tools 0.6.3 import 2005-11-21 14:20:28 +00:00
christos 369645b798 ANSI prototypes and function declarations. No functional change. 2005-11-18 16:48:48 +00:00
martin 428522929f Make the MAKEEXTRALIST macro safe to be called with string literals as
third argument - the old version relies on the compiler to use the same
address for identical strings.

Spotted by segv at netctl dot net in libnbcompat context, details
in PR pkg/32097.
2005-11-18 08:32:46 +00:00
christos a109c1ee32 1. minimize code diffs with FreeBSD
2. return ENAMETOOLONG instead of ENOMEM if name is too long to fit.
3. only decrement cp if we are pointing to the end of the string.
   [this fixes the cp truncation of the last char problem reported]
2005-11-17 19:13:20 +00:00
christos fd85feb124 Fix the code example. 2005-11-10 17:23:26 +00:00
christos fff4889f5c Refresh bug reported by Julien Torres:
going from:
    activate -verbose
to:
    reset -activation
results in:
    reset -activationverbose"
instead of:
    reset -activation

This is because we choose to insert "reset -" before the current line,
and the delete "e -" and insert "ion" in the appropriate place. The
cleareol code did not handle this case properly; we now cleareol to
the maximum number of characters of the first difference, the second
difference and the difference in line length.
2005-11-09 22:11:10 +00:00
christos 256f6fe18d remove _REENTRANT bogus signal mask code; pointed out by chuq. 2005-11-07 18:12:33 +00:00
gendalia 0fbb37df6f statvfs did not appear in 2.1, but in 3.0. 2005-11-04 06:09:20 +00:00
chs c6be96e0fb update errors for EIDRM (which we've returned for a long time now). 2005-11-03 17:07:28 +00:00
uwe ce9408481d Minus sign is \- 2005-10-31 11:45:49 +00:00
wiz 9b6a45d9e2 Bump date for previous. Use more appropriate markup.
Add an article.
2005-10-31 11:34:16 +00:00
martin c66ae167ce Initialize error return value. 2005-10-29 19:19:38 +00:00
tshiozak 1beef8fe93 fix lib/31874.
- add _citrus_stdenc_get_state_desc() interface to get
  encoding-scheme-independent encoder/decoder state descriptions.
- make sure that iconv_std module uses it to judge whether the last
  sequences forms complete shift sequences.
- bump minor of i18n_module because of get_state_desc().
2005-10-29 18:02:04 +00:00
uwe 6f167bd3a0 Document PMC_INFO_CPUCTR_TYPE. 2005-10-27 01:10:09 +00:00
christos 23dfb0b17f eliminate unused passpromptlen and copy a default password each time we
don't receive one in SRA_CONTINUE.
2005-10-25 23:36:07 +00:00
christos 64fe9d910c XXX: SRA does not have a protocol feature to pass back a password prompt
which is needed for things like S/KEY. We abuse the SRA_CONTINUE message
passing the password prompt there. That is usually NULL, so SRA
implementations usually ignore it. While I am here, if telnet_gets() fails
[user hit <eof> for example], then we exit.
2005-10-25 22:03:34 +00:00
dsl c58f95b0f5 Don't read entry after end of array.
Discovered by Neil Ludban running curses under 'ElecticFence'
2005-10-23 18:38:52 +00:00
christos 2ce4c16c0d Instead of special-casing root, special case paths that end with a /, so
that find foo/ does not print foo//bar. From FreeBSD.
2005-10-22 20:55:13 +00:00
christos 41a71d9929 change tr '[a-z]' '[A-Z]' to tr '[:lower:]' '[:upper:]' so that POSIX systems
work properly regardless of environment variable settings.
2005-10-22 16:45:03 +00:00
christos 0ea555f2ce It is bogus to return EFAULT in userland. 2005-10-19 22:57:03 +00:00
christos 849dc6749d Let the default case handle all the errors; no functional change. 2005-10-19 22:56:42 +00:00
chs 3ad2320789 if mlock() fails in pthread_create(), return EAGAIN instead of
failing an assertion.
2005-10-19 02:44:45 +00:00
chs 0e67554241 starting the pthread library (ie. calling pthread__start()) before
any threads are created turned out to be not such a good idea.
there are stronger requirements on what has to work in a forked child
while a process is still single-threaded.  so take all that stuff
back out and fix the problems with single-threaded programs that
are linked with libpthread differently, by checking if the library
has been started and doing completely different stuff if it hasn't been:
 - for pthread_rwlock_timedrdlock(), just fail with EDEADLK immediately.
 - for sem_wait(), the only thing that can unlock the semaphore is a
   signal handler, so use sigsuspend() to wait for a signal.
 - for pthread_mutex_lock_slow(), just go into an infinite loop
   waiting for signals.

I also noticed that there's a "sem2" test that has never worked in its
single-threaded form.  the problem there is that a signal handler tries
to take a sem_t interlock which is already held when the signal is received.
fix this too, by adding a single-threaded case for sig_trywait() that
blocks signals instead of using the userland interlock.
2005-10-19 02:15:03 +00:00
tshiozak c8a7d58fe9 make sure that this module can handle all private/vendor-defined
character area.
This is reported by MORIYAMA Masayuki <msyk _at_ mtg.biglobe.ne.jp> and
"NARUSE, Yui" <naruse _at_ airemix.com>, and fixed by MORIYAMA-san.
2005-10-18 06:44:28 +00:00
tshiozak eda4f3c630 fix a problem on wc->mb conversion for G2 plane.
This is reported by MORIYAMA Masayuki <msyk _at_ mtg.biglobe.ne.jp> and
"NARUSE, Yui" <naruse _at_ airemix.com>, and fixed by MORIYAMA-san.
2005-10-18 06:42:12 +00:00
chs 03b40cf7d8 remove text about converting async to sync, since we don't do it anymore. 2005-10-18 03:18:16 +00:00
pooka 4905d6894e regen 2005-10-17 18:06:48 +00:00
christos bd3788cdce fix typo. 2005-10-16 22:16:05 +00:00
christos b638db2ce4 complete arm's move to the new compat layout. 2005-10-16 17:27:49 +00:00
christos 94b922ec6e move to the new compat layout. 2005-10-16 17:26:43 +00:00
christos 18b395d0bf more renaming. 2005-10-16 17:26:24 +00:00
christos 907cc80c7c compat shuffle. 2005-10-16 17:25:50 +00:00