Commit Graph

5477 Commits

Author SHA1 Message Date
itojun ffc758331e support rijndael-cbc 2000-10-03 23:00:54 +00:00
sommerfeld d68f3adec6 Close possible format string attack. 2000-10-03 19:52:39 +00:00
enami 32554376a3 Reset allocated buffer size to 0 on allocation failure. 2000-10-03 03:22:26 +00:00
simonb cac9995776 Fix potential buffer overflow processing long password database entries.
Inspired by similar OpenBSD change.
2000-10-02 19:25:32 +00:00
kleink a253819635 Whitespace botch in previous, noticed by Leo Weppelman and Thorsten Frueauf. 2000-10-02 14:52:39 +00:00
kleink bea4776498 _SYSCALL() argument order botch in previous. 2000-10-02 14:51:57 +00:00
itojun 169eefc02f move rc5/idea dummy functions from crypto/dist/openssl/crypto to lib/libcrypto.
they are not part of the openssl distribution.
suggested by thorpej.
2000-10-01 22:17:59 +00:00
sommerfeld a23abe2028 Fix possible one-byte overrun 2000-09-30 16:47:26 +00:00
itojun e5e807d114 always compile RSA into libcrypto.
MKCRYPTO disables the whole crypto tree, and in that case,
we will not have RSA (nor libcrypto) with us.
2000-09-30 12:21:51 +00:00
itojun f2e53bf3ea additional build tree for overriding libcrypto's dummy IDEA/RC5 functions.
will not be built in default.  PR10883.
2000-09-30 00:24:52 +00:00
itojun 8d26d03189 repair openssl (libcrypto) for non-32bit architecture.
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t.  (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.

TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)

XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.

remove RC5 and IDEA by default.  build them separately as
libcrypto_{rc5,idea}.a.  put dummy function, which is "warning to stderr
and exit(1)".  NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00
is 6c614a3f1d Document EPERM. 2000-09-28 09:46:17 +00:00
kleink dbf8a5327c Need "namespace.h". 2000-09-28 09:07:04 +00:00
kleink 82fd76bb06 Need an internal name for pipe(2). 2000-09-28 08:38:53 +00:00
hubertf 4236d4df71 The 'delim' argument is const, document it as such. 2000-09-28 03:18:35 +00:00
wrstuden 1cbd0d8d38 Last revision had some problems. One .De was missing, and a number of
.De's were really .Ds's. Problems were causing output not to be rendered-
number of output pages more than doubled after these fixes, and made much more
sense.
2000-09-27 22:56:00 +00:00
nathanw 42782db512 Note that we do support single-stepping, as a machine-dependant feature.
Don't be SPARC-specific about what features we support. Document how
to determine which requests are supported.
2000-09-27 22:31:43 +00:00
kleink 26c512aade Make these idempotent as far as the FPU register stack is concerned. 2000-09-26 07:28:23 +00:00
itojun 9ebff4b328 remove merge error from kame. 2000-09-25 23:37:55 +00:00
itojun a931ac8209 off-by-1 error in string length validation.
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
2000-09-25 23:07:28 +00:00
erh 52aa56b72d Mention additional restriction on ptrace: you can't ptrace system processes since the assumptions made for normal processes don't always hold (such as p_pptr is non-NULL). 2000-09-24 07:34:15 +00:00
augustss b45cceffca Bump minor no because of API additions. 2000-09-24 02:20:39 +00:00
augustss 0c0b8fd77c Change the API a little to allow positions to be determined correctly
for multiple kinds.  From Dave Sainty <dave@dtsp.co.nz>.
2000-09-24 02:19:54 +00:00
augustss cb9f491cfe llow parsing of usage strings. 2000-09-24 02:17:52 +00:00
augustss 8d014ac8a4 Add hid_use_report_desc() to allow a user specified string to be used
as a report descriptor.
From Nick Hibma (FreeBSD).
2000-09-24 02:13:24 +00:00
itojun c8df79fc84 do not call wrefresh() uncondintionally from wgetch(). call it only
when the window was touched (is_wintouched()).
the previous behavior damaged existing applications, especially when it issues
lots of subwindow manipulation and mvcur().

it was introduced in 1.23 -> 1.24 or sometime before.
2000-09-23 09:34:07 +00:00
lukem 4a1b4395d7 don't bother declaring in6_addrany[] and in6_loopback #ifndef INET6 2000-09-23 04:40:19 +00:00
ad 82759dbdf5 Use .{B,Bs,F,N,O}x and fix miscellaneous errors. 2000-09-21 10:43:49 +00:00
ad 88ec60f200 - Pull in <util.h> to get secure_path() declared.
- Resolve preprocessor symbol clash.
2000-09-21 10:15:32 +00:00
ad 300fe58019 Document secure_path() better; in particular, note that it will write
to the system log.
2000-09-19 15:03:20 +00:00
ad 8b2c913445 - Simplify code path.
- Make the first argument to secure_path() constant.
- KNF.
2000-09-18 16:36:33 +00:00
ad da436beb73 Add a LIBRARY section. 2000-09-18 16:02:41 +00:00
eeh 264b1139cd Prevent the compiler from blowing up on sparc64. From mrg. 2000-09-17 19:55:28 +00:00
msaitoh a5e4741a2f check LIBC_SCCS 2000-09-14 01:24:31 +00:00
msaitoh f9b799b651 check LIBC_SCCS 2000-09-13 22:32:25 +00:00
thorpej e36fcf40fa param.h -> types.h 2000-09-13 05:22:12 +00:00
thorpej cf4c03c65c Don't need <machine/pmc.h>. From enami@netbsd.org. 2000-09-13 05:20:47 +00:00
thorpej 5bc14f38df Stubs for the i386 performance counter interface. 2000-09-13 04:52:12 +00:00
erh 5303e70da5 Make targets which are generated with rpcgen depend on the rpcgen binary. 2000-09-10 23:21:49 +00:00
joda fc34792ee1 install kerberos.8 manpage, and krb5.conf sample file 2000-09-10 19:36:43 +00:00
veego ba8461727b Include <unistd.h> for the issetugid prototype.
Fix a compile problem on the alpha.
2000-09-09 20:50:33 +00:00
jdolecek f973bb5351 document kern.maxptys/KERN_MAXPTYS
note that kern.maxvnodes is raise only
2000-09-09 17:06:34 +00:00
tshiozak fcc188c19e Disallow '/' character in LC_* and LANG environment variable, and
prevent to look up PATH_LOCALE and NLSPATH on setuid/setgid executable.
This is important to prevent to cause some kind of security hole.
2000-09-08 20:56:36 +00:00
taca 413b89b272 - Fix strftime(3) not to ignore tm_zone filed of last parameter,
and "%Z" in format string is converted as proper time zone.
  This was taken from tzcode2000f.  Fix PR lib/10950.
2000-09-07 12:45:03 +00:00
thorpej 9c5afcb2f0 Move the Alpha _mcount() into a .S file so that it can be
pre-processed, like other Alpha assembly files.
2000-09-05 16:28:30 +00:00
lukem 6592086aee - generate ansi prototypes instead of using __P(). noted by christos
- fix a couple of comments
2000-09-04 23:45:18 +00:00
lukem e4b166ade0 convert to new style guide 2000-09-04 23:36:41 +00:00
lukem d30d584a91 convert to new style guide, which includes:
- ansi prototypes & features (such as stdargs)
- 8 space indents
2000-09-04 22:06:28 +00:00
itojun e871d0cd31 on /etc/hosts lookup, set "official host name" (the leftmost hostname)
into ai_canonname.  this is to synchronize with practice in gethostby*.
comment from ume@mahoroba.org.  sync with kame.
2000-08-31 17:32:39 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00