yamt
faf00d99a2
don't use uninitialized variable ('chlenbak').
...
the problem reported by Markus Illenseer on tech-userlevel@
and analyzed by enami tsugutomo.
2003-10-14 12:50:03 +00:00
scw
789335a49c
Xscale-optimised mem* routines. Contributed by Wasabi Systems.
...
(Note: memcmp/memset improvements also benefit non-Xscale).
memcmp() - Compare 32-bits at a time if possible. Special-case 6-byte
comparisons, for the benefit of the network stack.
memset() - More loop unrolling, plus use of 'strd' instruction,
bzero() results in > 100% speedup on Xscale.
memcpy() - Big-endian support, unrolled loops, 'strd/pld', plus special-
cases for very common length/alignment combinations.
Benchmarks show ~50% improvment on Xscale.
memmove() - Big-endian support. Use fast memcpy(), above, if the regions
bcopy() don't overlap. Otherwise unchanged
XXX: The Xscale optimisations are not enabled by default, unless /etc/mk.conf
XXX: has the right compiler options. The intention is to pull them in via
XXX: something like libxscale.so, selected at runtime by ld.so.conf.
XXX: (Big-endian support is not affected by this).
2003-10-14 07:51:45 +00:00
wiz
8295081a25
& -> \*[Am]; mark up FD_SETSIZE; bump date for previous.
2003-10-14 07:44:43 +00:00
itojun
5435c421a0
note that programs that use rpc(3) cannot bump FD_SETSIZE.
2003-10-14 07:08:45 +00:00
agc
9f1aac5bb3
Move Jason Downs's code from a 4-clause to a 3-clause licence by
...
removing the advertising clause. Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.
With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
agc
ed6ed8e698
Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
pk
f70031fee9
SIGINFO __sigaction & trampoline code.
2003-10-12 14:42:03 +00:00
christos
7152fa1070
use matt's powerpc implementation. It is simpler than mine, and it does
...
matter as far as performance goes.
2003-10-12 04:23:17 +00:00
chs
f58c80fc8f
fix typo in previous.
2003-10-12 00:25:25 +00:00
provos
36a965e899
fix a bad realloc; from awohl@chessclub
2003-10-11 18:30:09 +00:00
enami
f431b58f2b
Back out rev. 1.56; `pointer points the byte just after the valid region'
...
is normal case. If the parser wants something more, there should be
another bounds check for it.
2003-10-11 03:35:42 +00:00
simonb
62887f0740
Remove another unneeded cast to size_t.
...
Pointed out by Anil Madhavapeddy in private email.
2003-10-10 05:38:45 +00:00
ichiro
c9be9cafc5
dont use __ARMEB__
...
It changed so that it might distinguish by BYTE_ORDER
2003-10-09 09:44:25 +00:00
ichiro
b6a7f7b339
support big endian
2003-10-09 09:37:56 +00:00
thorpej
d2ab983617
* Bump the shlib major of libkrb5 because the shlib major of libcrypto
...
changed, and libkrb5 depends on libcrypto.
* Bump the shlib major of libgssapi, libhdb, libkadm5clnt, libkadm5srv,
and libkafs, because they depend on librb5.
Dependent library list provided by, and change approved by, lha@netbsd.
Per discussion on tech-userlevel.
2003-10-09 04:40:26 +00:00
simonb
444e6dce83
No need to cast "len" to a size_t now that "len" is a size_t.
2003-10-09 00:50:34 +00:00
christos
5eda4a7d47
PR/23107: Nathan Williams: ^D as the first char on the command line does
...
not DTRT in readline compatibility mode
2003-10-09 00:42:28 +00:00
kleink
fd04e737c6
Update to use symbolic register names.
2003-10-09 00:17:59 +00:00
itojun
1bb83f4a4a
avoid signed->unsigned assignment. openbsd PR 1709
2003-10-08 20:33:17 +00:00
skd
b3ec0a1d45
Siginfo libc changes for alpha. Approved by thorpej@netbsd.org.
2003-10-07 17:08:07 +00:00
thorpej
8655c7d7eb
Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be
...
wired as if by mlock(2).
2003-10-07 00:17:09 +00:00
fvdl
4da2d7565d
Userland amd64 siginfo support.
2003-10-06 22:57:23 +00:00
matt
ed9d433616
Update to new assmbler needs. Add getcontext.S stub.
2003-10-06 05:30:21 +00:00
matt
3e272c0b2a
Deal with the new toolchain.
2003-10-06 05:28:05 +00:00
matt
f3198687d6
Add SA_SIGINFO support for ARM.
2003-10-05 19:48:39 +00:00
bouyer
7b066791c8
Remove references to University of California from my copyright notices.
2003-10-05 17:48:49 +00:00
scw
5238256a02
s/sigcontext/siginfo/
2003-10-05 10:46:41 +00:00
jdc
324f201e56
Increment libcurses minor to 10 for addition of redrawwin() and wredrawln().
2003-10-05 10:14:36 +00:00
jdc
d4f82864b6
Add redrawwin() and wredrawln().
...
Fixes PR lib/20038.
2003-10-05 10:13:02 +00:00
scw
b469b163b9
libc bits for siginfo on sh5.
2003-10-05 10:01:49 +00:00
jdc
7c12a98041
Fix __CTRACE arguments.
2003-10-05 08:26:02 +00:00
junyoung
e3ac3a4d0c
Style fixes to reduce diff size against the FreeBSD version, notably:
...
- Use NULL where appropriate.
- No need to pull in stdint.h.
- Get rid of "register" keywords in the hope that the compiler will
do a better job for us. :-)
- Every message ends with a period.
- MMAP() macro is supposed to return MAP_FAILED rather than -1 if it
fails.
- De-__P.
2003-10-05 04:49:46 +00:00
kleink
09c5c31fc8
Convert to use register prefixes.
2003-10-03 22:37:35 +00:00
itojun
f462c5301e
paren around macro arg
2003-10-03 22:04:44 +00:00
itojun
d26799ebc9
off-by-one. from millert@openbsd
2003-10-03 22:04:03 +00:00
itojun
ffe9fe35e1
realloc error check failure; Greg Troxel, sync w/ kame
2003-10-03 21:53:08 +00:00
christos
44eab0895d
PR/20768: Martin Blapp: Remove special handling for non-blocking connections
...
that breaks amd clients.
2003-10-03 21:29:16 +00:00
wiz
51dc91caa9
Add zlib(3) provided by jmc@openbsd -- thank you!
2003-10-03 18:46:22 +00:00
itojun
27ed6671c7
correct unsafe use of realloc().
2003-10-02 19:38:59 +00:00
christos
3e10887300
Pass -D_LIBC
2003-09-30 22:30:16 +00:00
matt
c1704e15b4
Enable the SIGINFO trampoline.
2003-09-30 19:05:41 +00:00
blymn
6adf4a4e77
new_item fixes:
...
* return NULL to indicate an error if a NULL name is passed
* fix a crash if description is NULL
Thanks to Julian Coleman for finding and fixing these.
2003-09-29 12:32:24 +00:00
wiz
37ac1db454
available, not avaliable. From miod@openbsd.
2003-09-29 09:50:21 +00:00
provos
cda395fc27
deal correctly with POLLNHUP
2003-09-28 20:02:44 +00:00
matt
4abc70c356
Deal with changed filename.
2003-09-28 16:30:18 +00:00
dsl
2f28cd113e
Simon has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field.
2003-09-28 13:18:41 +00:00
matt
117653c214
Since this a signal trampoline #2 , make that's in the file name.
2003-09-27 21:43:29 +00:00
dsl
fde7103b90
Add KERN_ROOT_PARTITION and KERN_DRIVERS
2003-09-27 19:09:10 +00:00
matt
4ba9658201
Remove __LIBC12_SOURCE
2003-09-27 03:33:00 +00:00