christos
730f23e551
Allow setty to set chars using char=value
2003-10-18 22:24:34 +00:00
briggs
7931285ae1
Need a couple more headers for the last change.
2003-10-18 20:11:04 +00:00
briggs
6646629469
Sync with the i386 version.
2003-10-18 18:36:35 +00:00
christos
f57e3e8f0a
sync with the x86 one.
2003-10-18 18:33:51 +00:00
christos
c4990e5532
Userland portion of SIGTRAMP_VALID() commit.
2003-10-18 18:16:23 +00:00
wiz
449cf546df
Link curses_cursor(3) to getmaxyx(3); from Steve Rumble in PR 23183.
2003-10-18 09:08:46 +00:00
wiz
6f0dbbbf08
mvgetstr and mvwgetstr do not have a limit argument; from Steve Rumble in PR 23183.
2003-10-18 09:06:49 +00:00
christos
7bd301151f
When searching backwards don't include the characters after the cursor in
...
the search.
2003-10-17 18:49:11 +00:00
fvdl
2b9ab2aab8
Get ucontext pointer back out of callee-saved register %r15.
2003-10-17 16:23:20 +00:00
wiz
432d3289ba
Bump date for previous. Replace > with \*[Gt].
2003-10-17 15:33:23 +00:00
christos
5d79eff8f5
More libedit readline emulation functions from: Gerry Swislow
...
<gerry at certif dot com>
2003-10-16 22:26:32 +00:00
christos
99e15c71d0
I got tired of typing a cc line.
2003-10-16 21:41:46 +00:00
christos
a246b45de2
Fix incremental search which was badly busted.
2003-10-16 21:41:26 +00:00
yamt
5cd18e71cc
in pthread__deliver_signal(),
...
copy siginfo_t into the stack of the target thread
rather than relying on the luck that on-stack siginfo_t stay valid.
2003-10-16 13:38:28 +00:00
wiz
58cc8234ca
Slight improvements.
2003-10-15 20:04:48 +00:00
wiz
910124a085
Make the plural of `X' `X's instead of `Xs'.
...
Following a suggestion from jmc@openbsd.
2003-10-15 19:44:51 +00:00
christos
378865a426
don't limit ^c to alpha c, and add VIS_NOSLASH so that vis(3) does not
...
produce \^c
2003-10-15 18:08:40 +00:00
wiz
538e6e3e1e
Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
...
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
christos
e752a6f68a
PR/23158: Johan Danielsson: Portable usage of the mk*temp() functions requires
...
six `X's.
2003-10-14 14:29:46 +00:00
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
matt
7fff5acf50
Constify the _-sigaction_sigtramp tramp argument.
2003-09-27 03:14:59 +00:00
matt
20745b5469
Invoke the proper signal trampoline depending on SA_SIGINFO.
2003-09-27 01:03:40 +00:00
nathanw
9839173881
Don't include <machine/lock.h> anymore; instead, we now get
...
__cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED from <sys/types.h>.
Should prevent the massive namespace pollution by way of dragging in
many MD headers that has been observed to break stuff.
2003-09-26 22:48:23 +00:00
wiz
cff5e477ad
Process has only one c. From miod@openbsd.
2003-09-26 22:23:58 +00:00
wiz
6a6ecd3246
New sentence, new line; bump date for previous.
2003-09-26 21:09:13 +00:00
christos
552716dcff
Implement enough of readline's 4.0 async mode to make gdb happy. This is
...
not complete yet, but it seems to work...
This required to introduce an unbuffered mode to el_gets(), but that was
a minor change.
2003-09-26 17:44:51 +00:00
matt
4e7e0da41e
Add siginfo signal trampoline.
2003-09-25 22:46:22 +00:00
wiz
a66ae71844
Slight syncing with OpenBSD version.
2003-09-23 10:26:54 +00:00
itojun
1db8823e19
out-of-bounds access. from openbsd
2003-09-23 03:19:28 +00:00
cl
bfa716044e
SA_SIGINFO support for m68k (libpthread)
2003-09-22 14:45:48 +00:00
cl
ae9566397a
SA_SIGINFO support for m68k (libc)
2003-09-22 14:42:02 +00:00
uwe
616df9fb1f
Do not profile. Indent delay slots.
2003-09-22 02:42:02 +00:00
uwe
237ead7bc8
Indent delay slot.
2003-09-22 02:38:13 +00:00
uwe
849c5af36b
Do not profile. Indent delay slot.
2003-09-22 02:35:46 +00:00
uwe
89a06df4c7
Indent delay slots. Add a comment that the magic number 8 is SIGFPE.
2003-09-22 02:27:59 +00:00
uwe
e023f7cb8d
Do not profile. Indent delay slot.
2003-09-22 02:18:40 +00:00
uwe
391ab004a4
Do not profile. Indent delay slot.
2003-09-22 02:08:07 +00:00
uwe
f722916cc6
Indent delay slots. Whitespace change only, same object code produced.
2003-09-22 01:57:16 +00:00
martin
4df9d6555a
Bring back previous sparc64 hack, but only #ifdef old gcc.
...
This is used when building libnbcompat for host tools - why it is included
when building on NetBSD is beyound me.
2003-09-21 17:15:36 +00:00
yamt
d7adaffe99
use {u_,}int32_t instead of {u,}int32(={u_,}long)
2003-09-21 15:35:46 +00:00
martin
55acdca8c5
No more sparc64 compiler workarounds
2003-09-19 16:30:31 +00:00
itojun
57e4de6099
add warning on realloc() size de-synchronization. from openbsd
2003-09-19 05:36:59 +00:00
jdolecek
bb21f0beb4
remove pw_dup()
2003-09-18 09:24:35 +00:00
jdolecek
430f0af1db
remove pw_dup(3), for now at least
...
follows discussion on mailing lists, discussed in private e-mail with Itojun
2003-09-18 09:13:14 +00:00
cl
c6de69ee49
fix pt_trapuc handling errors:
...
- movl to address register doesn't set flags (add explicit test)
- clr only clears a word (use clrl)
2003-09-17 20:08:07 +00:00
wennmach
be03f9bd59
Avoid the PIC dance.
2003-09-16 18:17:11 +00:00
cl
465ed898bd
bump minor for sa_unblockyield syscall
2003-09-16 13:55:41 +00:00
cl
5c40d56471
fix SA/pthread pagefault failure:
...
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html
2003-09-16 13:51:31 +00:00
simonb
49b0281b33
Shut lint up.
2003-09-16 07:56:51 +00:00
itojun
94da0d16ac
avoid overflow during multiply. David Laight
2003-09-15 23:38:20 +00:00
cl
64408794ea
make popen/pclose thread safe
2003-09-15 22:30:38 +00:00