Commit Graph

250026 Commits

Author SHA1 Message Date
christos ddac911e7d Protect the right part. 2017-04-10 12:05:52 +00:00
phil ca62197e8c Enable bc. 2017-04-10 02:59:35 +00:00
phil 2c76badc9c Remove bc from building here. Now in external/bsd. 2017-04-10 02:57:35 +00:00
phil ed857e95db Add Phil Nelson's bc version nb1.0 2017-04-10 02:28:23 +00:00
khorben 020e2e0f6f No longer hard-code the suffix length
This will avoid a buffer overflow if the suffix changes; it is currently
hard-coded as either "asc" or "sig".

Submitted on tech-pkg@ as:
[PATCH 10/11] No longer hard-code the suffix length
2017-04-09 23:03:50 +00:00
christos 6cc95957aa move vers.c evaluation before we use ${SRCS} 2017-04-09 22:50:02 +00:00
khorben a4f591eb0f Output signatures to the standard output for "-"
This is to reflect the behaviour documented in netpgp(1).

Submitted on tech-pkg@ as:
[PATCH 09/11] Output signatures to the standard output for "-"

Only modified for consistency with the coding style.
2017-04-09 22:48:39 +00:00
khorben f263734bc2 Avoid a type cast
No functional change intended.
2017-04-09 22:44:34 +00:00
christos ec999e2a0c fix syntax 2017-04-09 21:57:59 +00:00
christos 7e85a3e3e4 move .for generated rules after OBJS have been set. 2017-04-09 20:51:55 +00:00
christos 1bba784bf1 stack protector issue on sparc 2017-04-09 20:34:00 +00:00
scole d07fad4d63 Add ia64 ski emulator hack 2017-04-09 19:02:23 +00:00
christos 0b98b0bb96 no need fo clean vers.c
fix typo
2017-04-09 18:46:55 +00:00
riastradh ed48053224 Simplify various logic: replace an ad hoc condvar by callout_halt. 2017-04-09 16:40:42 +00:00
christos 06949d0fb3 Put back KLINK_MACHINE 2017-04-09 16:29:46 +00:00
christos 395ebe609b fexcept_t + fenv_t should be handled the same way for softfloat 2017-04-09 15:29:07 +00:00
christos ba7d1bac8e one typedef for fenv_t is enough. 2017-04-09 15:15:34 +00:00
christos 6f3dbe105c Fix typo 2017-04-09 14:52:14 +00:00
christos 2bd88831c8 make this work again. 2017-04-09 14:51:52 +00:00
dholland 492367a1e1 speed limit 80 2017-04-09 00:02:30 +00:00
christos 1f1b1925f3 adjust flag. 2017-04-08 23:46:39 +00:00
scole a8da0966b9 Fix a possible infinite loop in pmap_kremove() 2017-04-08 20:59:27 +00:00
christos 169a1fef7d Add makefile snippet for vers.c building. 2017-04-08 19:53:54 +00:00
christos cb5e99c661 centralize vers.c building for standalone programs. 2017-04-08 19:53:19 +00:00
christos 15545435eb - modernize: use getopts/usage/true/false variables
- if ${MKREPRO_TIMESTAMP} is used, synthesize all the information, instead
  of eliding it.
2017-04-08 18:24:09 +00:00
christos ab4baeaa18 - Allow all other targets (like kernel=) to obey mkrepro (-P)
- Print the timestamp in UTC
2017-04-08 18:22:35 +00:00
scole 9e1de6e8d7 Add #ifdef so ski emulator won't crash. This change probably wouldn't
hurt other archs, but just apply to ia64 to be safe.
2017-04-08 18:10:43 +00:00
scole b9ac323c78 Attempted port over from FreeBSD with suggestions from <chs>. Still
more work needed, but at least now the ski simulator and hardware die
at the same place.
2017-04-08 18:08:33 +00:00
scole 1fd0fe6394 Add VM_INIT_KERNEL_ADDRESS from FreeBSD 2017-04-08 18:05:36 +00:00
scole 7cdd8b15ea Make restorectx() and swapctx() match original FreeBSD defs 2017-04-08 18:04:34 +00:00
scole 69d058909c Add more defs from FreeBSD 2017-04-08 18:03:33 +00:00
scole 3901a7fba0 Add more funcs from FreeBSD 2017-04-08 18:02:55 +00:00
scole 08d04d9cf5 Add ia64_handle_intr() declaration 2017-04-08 18:02:21 +00:00
scole 2496faee14 Add ci_vhpt to cpu_info 2017-04-08 18:01:22 +00:00
scole 770c8de0c1 Add include and panic in startlwp() 2017-04-08 17:47:14 +00:00
scole 07e29ac680 Add vmparam.h include 2017-04-08 17:46:30 +00:00
scole da4bb471a7 Add more from FreeBSD 2017-04-08 17:46:01 +00:00
scole 3e92b4dd37 Add kstack_top variable 2017-04-08 17:45:22 +00:00
scole 129bb721c8 Add ia64_handle_intr() stub 2017-04-08 17:44:27 +00:00
scole 386cb0812b Add more PTE and IA64 mem region variables 2017-04-08 17:43:41 +00:00
scole a4a9beb008 Updates from FreeBSD, mostly compile-tested 2017-04-08 17:42:47 +00:00
scole b727c8a444 Add more cpus to identify, from FreeBSD 2017-04-08 17:40:50 +00:00
scole 4fc4ed6792 Convert cpu_switchto() from assembly to C code. Remove comment about
possible cpu_switchto() bug.  Actual issue appears to be new processes
using lwp0 instead of own memory, which is still not fixed.

Thanks to <chs> for figuring this out.
2017-04-08 17:38:43 +00:00
tsutsui 1e2a3ba78f Remove auto-repeat key functions in WSKBD_RAW mode.
Pulled from OpenBSD:
 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/hp300/dev/Attic/dnkbd.c#rev1.18
 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/hil/hilkbd.c#rev1.15
> WSKBD_RAW mode used in X, but X independently implements auto-repeat keys.

Tested with Xorg server on HP425t with topcat.
2017-04-08 17:04:56 +00:00
mlelstv 82069e1058 ignore a failed scspi_prevent when accessing the RAW_PART as before. 2017-04-08 13:50:23 +00:00
hannken 9888a178c6 Update mtime when updating file size.
PR kern/51762 (mtime not updated by open(O_TRUNC))
2017-04-08 08:49:44 +00:00
kamil ccacb9cccf Define PT_SETSTEP and PT_CLEARSTEP for i386 (ptrace(2))
Sponsored by <The NetBSD Foundation>
2017-04-08 02:02:30 +00:00
kamil 6708e51bcd ptrace(2): Add operations to single step specified threads:
PT_SETSTEP and PT_CLEARSTEP

Sponsored by <The NetBSD Foundation>
2017-04-08 01:29:31 +00:00
kamil fbd2c6be23 Update TODO.ptrace
Remove entries:
  - research support PT_SYSCALL & PT_STEP combined like in Linux
  - GDB Remote Protocol expects a case with a step with a signal to be sent,
    this is currently unsupported on NetBSD

Implemented as PT_SETSTEP and PT_CLEARSTEP.

Remove:
  - support QPassSignals (PT_SET_SIGPASS/PT_GET_SIGPASS) in the kernel, a way to
    stop routing a set of signals to tracer as they are uninteresting - GDB and
    LLDB expect this feature

This interface has been abandoned and will be handled on the debugger level.

Sponsored by <The NetBSD Foundation>
2017-04-08 01:08:36 +00:00
kamil 049bc8e25e Fix typo in previous (ptrace(2)) 2017-04-08 00:58:35 +00:00