Commit Graph

6324 Commits

Author SHA1 Message Date
itojun 511e898dc2 snprintf return value audit. inspired by deraadt 2001-08-19 01:37:39 +00:00
ad cf24a0936c Bump libutil major for pw_mkdb() change. 2001-08-18 19:33:17 +00:00
ad 7e44d4f92b Add two arguments to pw_mkdb(), a la OpenBSD. This is to allow us to pass
the -u and -s options to pwd_mkdb.
2001-08-18 19:31:47 +00:00
bjh21 751e6fa590 Ensure that the stack is aligned to an 8-byte boundary before calling C code.
(ATPCS B-01)
2001-08-17 00:14:38 +00:00
simonb 9a68629ca6 Enlarge the stack frame to 16 bytes, and store the return address 8
bytes in instead of at the start, to leave room for a .cpload to store
the gp at offset 0 in the frame.  Allow 8 bytes for each (for mips64
one day...).

.cpload overwrite problems noted by Michael Hitch.
2001-08-16 03:44:46 +00:00
mjl d30f9aefd6 Fix typo 2001-08-15 21:34:06 +00:00
itojun 7f2bf5471a need __BEGIN/END_DECLS for use with C++ (Arla).
From: ORI Manabu <ori@kuee.kyoto-u.ac.jp>
2001-08-13 09:04:59 +00:00
itojun bfd991ccd4 include all idea/rc5-related libraries into libcrypto_idea/rc5, for
better support for PR 12964.  not sure if it is a complete fix.
2001-08-08 14:04:42 +00:00
matthias 0548dfb96c __clone stub for ns32k. Basic code taken from m68k. 2001-08-08 09:19:40 +00:00
itojun 908c009e33 there's no host.conf in netbsd. pointed out by smb 2001-08-05 18:09:03 +00:00
matt 55c1d5c2d5 Include <machine/vmparam.h> for VM_MIN_*... 2001-08-05 17:51:40 +00:00
matt cce919e025 Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't
defined.  Include them explicitly in the few kvm_arch.c that need them.
2001-08-05 03:33:15 +00:00
blymn d70e5167de Added notes about differences between this libform and the original AT&T
implementation.
2001-08-05 02:13:19 +00:00
blymn b3751f89f8 * Wrap field size checking into a function, makes if's more readable
* Fixed bad post character calculation on a dynamic single line field
  that has field contents greater than the field length and had scrolled.
2001-08-05 01:51:23 +00:00
matt ee6a16ad18 Add a secondary label called __start (makes gcc 2.95.3 happier) and rename
the internal __start to ___start.   (Since -e is not supplied by default,
this has no effect on a native build.)
2001-08-05 00:01:27 +00:00
thorpej 102df4197d Enable DWARF2 EH support. Confirmed working w/ GCC 2.95.3 on sparc
and i386.
2001-08-03 14:26:13 +00:00
thorpej a6855eea24 Add support for DWARF2 frame unwinding/exception handling. This
should be sufficient for GCC 2.95.3, and probably GCC 3.0 as well.

Not yet enabled by default; further testing required.
2001-08-03 05:54:43 +00:00
eeh 1a0ae8c9f0 Improved version of bzero. 2001-08-02 01:17:28 +00:00
eeh 5dd57287be Fix some corner cases. 2001-08-01 16:45:20 +00:00
eeh 685a79bb36 Use unsigned compares for addresses. 2001-08-01 05:52:12 +00:00
atatat 49d53cd636 Build a single retry into syslog() so that if someone restarted
syslogd after we called openlog(), we don't just to lose until we call
openlog() again.  Or get restarted.  This is good for long running
processes that use syslog(), like sendmail, postfix, named, etc.
2001-07-30 04:12:33 +00:00
bjh21 ad034cbf5b Build libarm32 on arm26 as well. 2001-07-28 19:17:11 +00:00
wiz e11d04474c issueing -> issuing 2001-07-26 22:55:12 +00:00
wiz 30b2bf87ed Various typos in comments (neccessary, sceme, choise, ...). 2001-07-26 15:05:07 +00:00
wiz f1bde32520 s/necesary/necessary/ 2001-07-24 16:43:02 +00:00
tsubai 1278735b51 .init/.fini support. 2001-07-23 20:43:31 +00:00
thorpej f98eeabaa2 sparc64 version, cloned (har har!) from the sparc version and tweaked. 2001-07-23 07:35:44 +00:00
thorpej fed292651f From rev. 1.11 of the 32-bit version:
Add a macro "CALL()" to call a function correctly in the pic and non pic
case. Write ERROR() in terms of call.
2001-07-23 07:26:50 +00:00
christos fdda22398f add an implementation of __clone(2) 2001-07-23 01:41:25 +00:00
christos 9a416d6f08 Add a macro "CALL()" to call a function correctly in the pic and non pic
case. Write ERROR() in terms of call.
2001-07-23 01:40:33 +00:00
chris 30b6c70f2c Add __clone() for arm. 2001-07-22 18:56:34 +00:00
tsubai 2060c2091a Add __clone() for sh3. 2001-07-22 17:18:25 +00:00
itojun 879d773221 make sure we do not touch *pp outside of parts[4]. 2001-07-22 15:16:18 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
thorpej bcd75f16cb Duh, call the clone's entry point w/ jal, so that when it returns,
it returns to the correct $ra (not the parent's!!).
2001-07-20 17:37:39 +00:00
tsubai 193161b3fe Add a __clone(3) entry point for powerpc. 2001-07-20 17:19:15 +00:00
scw b722bfb186 Compensate for the syscall args stack cleanup in the clone.
(Pointed out by Matthias Pfaller)
2001-07-20 17:08:18 +00:00
bjh21 71d647ec7a The common arm_elf code seems to work on arm26, so use that. 2001-07-20 13:01:13 +00:00
matthias 5501e1c532 This is just a RSYSCALL. 2001-07-20 11:17:18 +00:00
matt 63237a33ce Add __clone(2) for VAX. 2001-07-20 06:10:12 +00:00
scw c45a0d8765 clone(2) syscall frontend for m68k. 2001-07-19 21:50:46 +00:00
thorpej 73ce03c203 Bump shlib minor; added clone(2). 2001-07-18 23:10:01 +00:00
thorpej 4177d25e14 Build __clone.S, the Lint stubs, and the manual pages.
Yes, I know now all ports have a __clone() stub yet, but this
will force the issue -- they don't get to build their libc until
they implement it.

Implementers are encouraged to use the regression test for it
in src/regress/lib/libc/clone.
2001-07-18 23:03:10 +00:00
thorpej 511c17cad8 Fix the declaration of the funciton in the SYNOPSIS section. 2001-07-18 19:29:40 +00:00
thorpej 743cf39656 Document WALTSIG (and __WCLONE) and WALLSIG (__WALL). Restructure the
options documentation to make it easier to read.
2001-07-18 19:12:21 +00:00
blymn cbb9312d8b line up function prototype names. 2001-07-18 12:27:53 +00:00
fvdl d34ad42fdb Fix call to _exit. 2001-07-18 12:24:53 +00:00
blymn a818d9cc76 new_field argument list too long, use .Fo/.Fa/.Fc 2001-07-18 12:24:27 +00:00
simonb 19211890ff Enable dot_init.h on mips, fixing .init & .fini processing. 2001-07-18 04:43:48 +00:00
thorpej da2e0bfb7c Simplify slightly. 2001-07-17 23:13:04 +00:00