Author: jhb
Date: Tue Jan 16 01:05:04 2018
New Revision: 328036
URL: https://svnweb.freebsd.org/changeset/base/328036
Log:
Check for GCC first rather than clang in the MIPS lib32 rules.
This works around a bug with X_COMPILER_TYPE and permits mips64 to build
again with in-tree gcc as well
Author: jhb
Date: Tue Jan 16 01:21:07 2018
New Revision: 328037
URL: https://svnweb.freebsd.org/changeset/base/328037
Log:
Rename 'recv' to 'receive' to appease shadow warnings from GCC.
Modified:
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscalls.c
=
Author: jhb
Date: Tue Jan 16 19:41:18 2018
New Revision: 328057
URL: https://svnweb.freebsd.org/changeset/base/328057
Log:
Split crp_buf into a union.
This adds explicit crp_mbuf and crp_uio pointers of the right type to
replace casts of crp_buf. This does not sweep through changing exis
Author: jhb
Date: Wed Jan 17 22:36:58 2018
New Revision: 328099
URL: https://svnweb.freebsd.org/changeset/base/328099
Log:
Use long for the last argument to VOP_PATHCONF rather than a register_t.
pathconf(2) and fpathconf(2) both return a long. The kern_[f]pathconf()
functions now accept
Author: jhb
Date: Wed Jan 17 22:51:59 2018
New Revision: 328101
URL: https://svnweb.freebsd.org/changeset/base/328101
Log:
Require the SHF_ALLOC flag for program sections from kernel object modules.
ELF object files can contain program sections which are not supposed
to be loaded into mem
Author: jhb
Date: Wed Jan 17 23:11:25 2018
New Revision: 328102
URL: https://svnweb.freebsd.org/changeset/base/328102
Log:
Save and restore guest debug registers.
Currently most of the debug registers are not saved and restored
during VM transitions allowing guest and host debug register
Author: jhb
Date: Thu Jan 18 00:23:11 2018
New Revision: 328103
URL: https://svnweb.freebsd.org/changeset/base/328103
Log:
Tidy some whitespace.
Modified:
head/usr.sbin/kldxref/ef_powerpc.c
Modified: head/usr.sbin/kldxref/ef_powerpc.c
=
Author: jhb
Date: Thu Jan 18 00:24:05 2018
New Revision: 328104
URL: https://svnweb.freebsd.org/changeset/base/328104
Log:
Adjust format string to fix build.
Modified:
head/usr.sbin/kldxref/ef_powerpc.c
Modified: head/usr.sbin/kldxref/ef_powerpc.c
Author: jhb
Date: Thu Jan 18 19:43:02 2018
New Revision: 328134
URL: https://svnweb.freebsd.org/changeset/base/328134
Log:
Update various statements in vmstat(8) to match reality.
- The process stats are actually thread counts rather than process
counts.
- Simplify various description
Author: jhb
Date: Thu Jan 18 20:12:12 2018
New Revision: 328135
URL: https://svnweb.freebsd.org/changeset/base/328135
Log:
Adjust branch target in NMI handler for the !PTI case.
In the !PTI case the NMI handler jumped past the instructions that set
%rdi to point to the current PCB, but th
Author: jhb
Date: Thu Jan 18 22:13:53 2018
New Revision: 328153
URL: https://svnweb.freebsd.org/changeset/base/328153
Log:
Remove two no-longer-used labels from the NMI interrupt handler.
Reviewed by: kib
Modified:
head/sys/amd64/amd64/exception.S
Modified: head/sys/amd64/amd64/excepti
Author: jhb
Date: Thu Jan 18 23:50:21 2018
New Revision: 328157
URL: https://svnweb.freebsd.org/changeset/base/328157
Log:
Use a dedicated per-CPU stack for machine check exceptions.
Similar to NMIs, machine check exceptions can fire at any time and are
not masked by IF. This means that
Author: jhb
Date: Fri Jan 19 01:36:25 2018
New Revision: 328158
URL: https://svnweb.freebsd.org/changeset/base/328158
Log:
Recognize mchk_calltrap as a trapframe generator.
Should have been included in r328157.
Modified:
head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
Modified: head/gnu/usr.bin/
;= the width of a type is zero, but our
> compiler decides this is a warning (and thus, error). Just remove ccp(4)
> from i386.
You would think that. The shift instructions on x86 effectively ignore the
upper bits of the count, so a 33-bit shift on i386 ends up being a 1-bit
On Wednesday, January 17, 2018 03:14:37 PM Gleb Smirnoff wrote:
> On Tue, Jan 02, 2018 at 09:56:09AM -0800, John Baldwin wrote:
> J> > this is a recurring issue. Program that want to look into the
> J> > internals of files such as mount.h
> J> > and define _KERNE
tps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220767
>
> ./danfe
I wonder if it is tripping over pthread_once not working in libc. The stub
for pthread_once in libc is a nop and has been for a long time. I added
a functioning stub (called _libc_once) to libc for it's internal use (there
st that you do something similar for
FDT. Create the corresponding device_t but device_disable() it when there
is a disabled property. A user can then use 'devctl enable ' to enable
it before (or even after) loading a device driver.
To make t
rivers support this"). There
is enough of that already existing now in HEAD I think it would be better
to extend it to support whatever input mode it needs to handle disabled
devices as input to run through its existing matching engine.
--
John Baldwin
__
Author: jhb
Date: Tue Jan 23 22:48:06 2018
New Revision: 328306
URL: https://svnweb.freebsd.org/changeset/base/328306
Log:
Remove some KSE references from ps(1).
- Simplify the description of -H to assume 1:1 threading.
- Drop 'process' from description of 'lwp' field and the correspondin
Author: jhb
Date: Wed Jan 24 17:46:20 2018
New Revision: 328344
URL: https://svnweb.freebsd.org/changeset/base/328344
Log:
Mark the unused argument to continue_thread() as such.
clang in HEAD and 11 does not warn about this, but clang in 10 does.
Modified:
head/tests/sys/kern/ptrace_test
Author: jhb
Date: Wed Jan 24 20:04:08 2018
New Revision: 328353
URL: https://svnweb.freebsd.org/changeset/base/328353
Log:
Always store the IV in the immediate portion of a work request.
Combined authentication-encryption and GCM requests already stored the
IV in the immediate explicitly.
Author: jhb
Date: Wed Jan 24 20:06:02 2018
New Revision: 328354
URL: https://svnweb.freebsd.org/changeset/base/328354
Log:
Always set the IV location to IV_NOP.
The firmware ignores this field in the FW_CRYPTO_LOOKASIDE_WR work
request.
Submitted by: Harsh Jain @ Chelsio
Sponsored
Author: jhb
Date: Wed Jan 24 20:08:10 2018
New Revision: 328355
URL: https://svnweb.freebsd.org/changeset/base/328355
Log:
Reject requests with AAD and IV larger than 511 bytes.
The T6 crypto engine's control messages only support a total AAD
length (including the prefixed IV) of 511 byte
Author: jhb
Date: Wed Jan 24 20:11:00 2018
New Revision: 328356
URL: https://svnweb.freebsd.org/changeset/base/328356
Log:
Don't discard AAD and IV output data for AEAD requests.
The T6 can hang when processing certain AEAD requests if the request
sets a flag asking the crypto engine to d
Author: jhb
Date: Wed Jan 24 20:12:00 2018
New Revision: 328357
URL: https://svnweb.freebsd.org/changeset/base/328357
Log:
Fail crypto requests when the resulting work request is too large.
Most crypto requests will not trigger this condition, but a request
with a highly-fragmented data b
Author: jhb
Date: Wed Jan 24 20:13:07 2018
New Revision: 328358
URL: https://svnweb.freebsd.org/changeset/base/328358
Log:
Clamp DSGL entries to a length of 2KB.
This works around an issue in the T6 that can result in DMA engine
stalls if an error occurs while processing a DSGL entry with
Author: jhb
Date: Wed Jan 24 20:14:57 2018
New Revision: 328359
URL: https://svnweb.freebsd.org/changeset/base/328359
Log:
Expand the software fallback for GCM to cover more cases.
- Extend ccr_gcm_soft() to handle requests with a non-empty payload.
While here, switch to allocating the
Author: jhb
Date: Wed Jan 24 20:15:49 2018
New Revision: 328360
URL: https://svnweb.freebsd.org/changeset/base/328360
Log:
Don't read or generate an IV until all error checking is complete.
In particular, this avoids edge cases where a generated IV might be
written into the output buffer
Author: jhb
Date: Wed Jan 24 20:16:48 2018
New Revision: 328361
URL: https://svnweb.freebsd.org/changeset/base/328361
Log:
Store IV in output buffer in GCM software fallback when requested.
Properly honor the lack of the CRD_F_IV_PRESENT flag in the GCM
software fallback case for encrypti
Author: jhb
Date: Fri Jan 26 23:21:50 2018
New Revision: 328453
URL: https://svnweb.freebsd.org/changeset/base/328453
Log:
Move per-operation data out of the csession structure.
Create a struct cryptop_data which contains state needed for a single
symmetric crypto operation and move that
Author: jhb
Date: Sat Jan 27 00:39:49 2018
New Revision: 328457
URL: https://svnweb.freebsd.org/changeset/base/328457
Log:
Clarify some comments in the MIPS makecontext().
- N32 and N64 do not have a $a0-3 gap.
- Use 'sp += 4' to skip over the gap for O32 rather than '+= i'. It
doesn
ex: %d\n", __func__, idx);
> -
> + panic("%s: Invalid parent index %d for clock %s",
> + __func__, idx, clknode->name);
> clknode->parent_idx = idx;
>}
>
> Modified:
> head/sys/dev/extres/clk/clk.c
Can you reve
t;it doesn't matter if you use
> less with side-to-side scrolling." fwiw, I'm sure I discussed that
> code with Marc at the time.
>
> As was stated, scripts that want to use the full line should use -ww.
> Interactive users have long been used to using -w when they
Author: jhb
Date: Wed Mar 21 21:13:26 2018
New Revision: 331324
URL: https://svnweb.freebsd.org/changeset/base/331324
Log:
Ensure thread library is initialized in pthread_testcancel().
Call _thr_check_init() before reading curthread in pthread_testcancel().
If a constructor in a librar
On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote:
> On Wed, Mar 21, 2018 at 10:34:15PM -0600, Warner Losh wrote:
> > On Wed, Mar 21, 2018 at 10:03 PM, Alexey Dokuchaev
> > wrote:
> > > On Mon, Mar 19, 2018 at 09:20:40AM -0700, John Baldwin wrote:
> >
Author: jhb
Date: Fri Mar 23 19:31:52 2018
New Revision: 331459
URL: https://svnweb.freebsd.org/changeset/base/331459
Log:
Move remaining EF_MIPS_* flags to .
Reviewed by: brooks
Sponsored by: DARPA / AFRL
Differential Revision:https://reviews.freebsd.org/D14789
Modified:
he
Author: jhb
Date: Fri Mar 23 22:36:24 2018
New Revision: 331466
URL: https://svnweb.freebsd.org/changeset/base/331466
Log:
Add a workaround to the hypervisor detection for older versions of KVM.
Originally KVM set %eax to 0 in the cpuid leaf 0x400 rather than
to the highest supported
)
@@ -1,5 +1,30 @@
/*-
- * Copyright (c) 2017 John Baldwin,
+ * Copyright (c) 2017 Chelsio Communications, Inc.
+ * All rights reserved.
+ * Written by: John Baldwin
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following
ere is an existing ^/vendor/zstd tree that zstd updates should
probably
be committed to first and then merged over. You can probably repair this by
importing
1.3.4 as normal to the vendor area following the normal instructions and then
doing
an 'svn merge --reco
On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote:
> On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote:
> > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote:
> > > > ...
> > > Right, but John had mentioned extra rebo
On Tuesday, March 27, 2018 10:48:22 AM Rodney W. Grimes wrote:
> [ Charset ISO-8859-1 unsupported, converting... ]
> > On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote:
> > > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote:
> > > >
> > &g
On Tuesday, March 27, 2018 11:40:22 AM Ian Lepore wrote:
> On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote:
> > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote:
> > >
> > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote:
> > &
Author: jhb
Date: Tue Mar 27 20:54:57 2018
New Revision: 331649
URL: https://svnweb.freebsd.org/changeset/base/331649
Log:
Use the offload transmit queue to set flags on TLS connections.
Requests to modify the state of TLS connections need to be sent on the
same queue as TLS record transm
Author: jhb
Date: Tue Mar 27 20:57:51 2018
New Revision: 331650
URL: https://svnweb.freebsd.org/changeset/base/331650
Log:
Remove very old and unused signal information codes.
These have been supplanted by the MI signal information codes in
since 7.0. The FPE_*_TRAP ones were deprecated
that cpuset_domain[0] was initialized too late on
> some systems. It depended on what kind of hardware was present and which
> sysinit with SI_ORDER_ANY ran first.
Hmm, does this work if you don't use EARLY_AP_STARTUP? I think all_cpus
isn't set yet (or only contains the BSP)
Author: jhb
Date: Wed Mar 28 16:24:56 2018
New Revision: 331681
URL: https://svnweb.freebsd.org/changeset/base/331681
Log:
Fix kernel builds without options DDB after r331650.
Reported by: cy
Modified:
head/sys/amd64/amd64/machdep.c
head/sys/i386/i386/machdep.c
Modified: head/sys/amd
Author: jhb
Date: Wed Mar 28 16:51:05 2018
New Revision: 331686
URL: https://svnweb.freebsd.org/changeset/base/331686
Log:
Expand remaining instances of 'make kernel' to buildkernel + installkernel.
The 'kernel' target is a bit more obscure compared to buildkernel and
installkernel. One
Author: jhb
Date: Thu Mar 29 00:04:07 2018
New Revision: 331715
URL: https://svnweb.freebsd.org/changeset/base/331715
Log:
Rename ClouduABIFDSFlags to CloudABIFDSFlags.
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscall.h
=
Author: jhb
Date: Thu Mar 29 00:12:50 2018
New Revision: 331716
URL: https://svnweb.freebsd.org/changeset/base/331716
Log:
Reformat the enum of syscall argument types.
List enum values on separate lines to minimize diffs as new types are
added. Split the enum values up into groups and us
On Wednesday, March 28, 2018 09:54:41 PM Dimitry Andric wrote:
> On 28 Mar 2018, at 18:51, John Baldwin wrote:
> >
> > Author: jhb
> > Date: Wed Mar 28 16:51:05 2018
> > New Revision: 331686
> > URL: https://svnweb.freebsd.org/changeset/base/331686
> >
&
that much
> about this stuff.
Maybe add 'nooption NUMA' to sys/powerpc/conf/NOTES? (It has several
nooption and nodevice lines already) If it affects more than powerpc
then I wouldn't do that, but if it's only powerpc then I think patching
powerpc/conf/NOTES is most
if defined(LINKER_TYPE) && ${LINKER_TYPE} == "lld"
> +LDFLAGS+=-Wl,--no-rosegment
> +.endif
Maybe we should support LDFLAGS.${LINKER_TYPE} as we do for CFLAGS, etc.?
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Author: jhb
Date: Fri Apr 6 22:03:43 2018
New Revision: 332157
URL: https://svnweb.freebsd.org/changeset/base/332157
Log:
Add a way to temporarily suspend and resume virtual CPUs.
This is used as part of implementing run control in bhyve's debug
server. The hypervisor now maintains a se
> platforms without COMPAT_LINUX32.
I wonder if it wouldn't be cleaner to just move COMPAT_LINUX32 itself to
sys/conf/options?
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsub
On Monday, April 09, 2018 11:02:01 AM Warner Losh wrote:
> On Mon, Apr 9, 2018 at 10:44 AM, Ed Maste wrote:
>
> > On 6 April 2018 at 13:54, John Baldwin wrote:
> > > On Friday, April 06, 2018 02:57:58 AM Ed Maste wrote:
> > >> Author: emaste
> > >&
DARPA, AFRL
We actually shouldn't need hf kernels anymore. HAVE_FPU has been removed
and any mips kernel works fine with either hard or soft float userlands.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/
I have even some thoughts on how to fix stepping for
architectures like MIPS that do software stepping by letting the debugger
enable a "report a step for first signal instruction" mode while it is
stepping a thread and then reporting an explicit SIGTRAP ptracestop()
during sendsig
ic sizing
>
> PR: 227388
> Reported by:Vladimir Machulsky
> Sponsored by: Dell EMC Isilon
Presumably you could use nitems() on ESTprocs as well rather than a terminator?
--
John Baldwin
___
svn-src-head@freebsd.org maili
ctls_test
+
+WARNS?=6
+
+.include
Added: head/tests/sys/capsicum/ioctls_test.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tests/sys/capsicum/ioctls_test.c Tue Apr 17 18:07:40 2018
(r332657)
@@ -0,0 +1,127 @@
+/*-
+ * Copyright (c) 2018 John Bal
ove the terminator entry
and use nitems() in puc_pci_match instead. That will also remove the
need for the - 1 hack in the MODULE_PNP_INFO line.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-he
Author: jhb
Date: Wed Apr 18 18:36:26 2018
New Revision: 332733
URL: https://svnweb.freebsd.org/changeset/base/332733
Log:
Workaround fixed I/O port resources encoded as I/O port ranges in _CRS.
ACPI I/O port descriptors use _MIN and _MAX fields to specify the set
of allowable base (start
Author: jhb
Date: Wed Apr 18 18:45:34 2018
New Revision: 332735
URL: https://svnweb.freebsd.org/changeset/base/332735
Log:
Fix two off-by-one errors when allocating MSI and MSI-X interrupts.
x86 enforces an (arbitray) limit on the number of available MSI and
MSI-X interrupts to simplify c
Author: jhb
Date: Thu Apr 19 16:00:34 2018
New Revision: 332782
URL: https://svnweb.freebsd.org/changeset/base/332782
Log:
Simplify the code to allocate stack for auxv, argv[], and environment vectors.
Remove auxarg_size as it was only used once right after a confusing
assignment in each
>
> On Wed, Apr 18, 2018 at 11:45 AM, John Baldwin wrote:
>
> > Author: jhb
> > Date: Wed Apr 18 18:45:34 2018
> > New Revision: 332735
> > URL: https://svnweb.freebsd.org/changeset/base/332735
> >
> > Log:
> > Fix two off-by-one errors when
Author: jhb
Date: Mon Apr 23 16:50:37 2018
New Revision: 332891
URL: https://svnweb.freebsd.org/changeset/base/332891
Log:
Fix some harmless type mismatches in the ARM atomic_cmpset implementations.
The return value of atomic_cmpset() and atomic_fcmpset() is an int (which
is really a bool
Author: jhb
Date: Mon Apr 23 17:00:15 2018
New Revision: 332892
URL: https://svnweb.freebsd.org/changeset/base/332892
Log:
Implement 32-bit atomic_fcmpset() in userland for armv4/v5.
- Add an implementation of atomic_fcmpset_32() using RAS for armv4/v5.
This fixes recent world breakage
storical state rather than the current state so that one can see the
developers
"family tree" as it were and it is not unusual for a developer to have multiple
mentors either.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
that
> specific mechanism.)
I think this is actually a key question. In my experience to date I have not
encountered a large number of post-panic assertion failures. Given that
we already break all locks and disable assertions for locks I'd be curious
which assertions are actually fai
Author: jhb
Date: Tue Apr 24 05:20:16 2018
New Revision: 332906
URL: https://svnweb.freebsd.org/changeset/base/332906
Log:
Extend support for ptrace() tests using breakpoints.
- Use a single list of platforms to define HAVE_BREAKPOINT for platforms
that expose a functional breakpoint()
Author: jhb
Date: Tue Apr 24 05:26:28 2018
New Revision: 332907
URL: https://svnweb.freebsd.org/changeset/base/332907
Log:
Expose breakpoint() to userland from on MIPS.
Enable ptrace() tests using breakpoint on MIPS as well.
Tested on:mips64
MFC after:1 month
Modified:
he
Author: jhb
Date: Tue Apr 24 05:30:05 2018
New Revision: 332908
URL: https://svnweb.freebsd.org/changeset/base/332908
Log:
Add two tests for TRAP_* signal codes for SIGTRAP.
- ptrace__breakpoint_siginfo tests that a SIGTRAP for a software breakpoint
in userland triggers a SIGTRAP with a
Author: jhb
Date: Tue Apr 24 05:33:17 2018
New Revision: 332909
URL: https://svnweb.freebsd.org/changeset/base/332909
Log:
Report proper signal codes for SIGTRAP traps on MIPS.
- Use TRAP_TRACE for traps after stepping via PT_STEP.
- Use TRAP_BRKPT for software breakpoint traps and watchp
Author: jhb
Date: Tue Apr 24 05:42:10 2018
New Revision: 332910
URL: https://svnweb.freebsd.org/changeset/base/332910
Log:
Relock PROC_LOCK before one failure case in ptrace_single_step().
The MIPS ptrace_single_step() unlocks the PROC_LOCK while reading and
writing instructions from user
Author: jhb
Date: Tue Apr 24 17:22:17 2018
New Revision: 332944
URL: https://svnweb.freebsd.org/changeset/base/332944
Log:
Use a cleaner test for the branch delay (BD) bit in DELAYBRANCH.
Rather than casting the value of cause to int and checking for a negative
value to determine if bit 3
Author: jhb
Date: Tue Apr 24 17:31:20 2018
New Revision: 332945
URL: https://svnweb.freebsd.org/changeset/base/332945
Log:
Don't fetch the current instruction for faults on user "trap" instructions.
The value of 'instr' was not used to handle the fault.
Reported by: GCC's -Wunused-but
Author: jhb
Date: Tue Apr 24 17:53:16 2018
New Revision: 332951
URL: https://svnweb.freebsd.org/changeset/base/332951
Log:
Fix PT_STEP single-stepping for mips.
Note that GDB at least implements single stepping for MIPS using software
breakpoints explicitly rather than using PT_STEP, so t
On Tuesday, April 24, 2018 01:24:30 PM Jonathan T. Looney wrote:
> On Mon, Apr 23, 2018 at 6:04 PM, John Baldwin wrote:
> >
> > I think this is actually a key question. In my experience to date I have
> not
> > encountered a large number of post-panic assertion fail
Author: jhb
Date: Tue Apr 24 23:20:15 2018
New Revision: 332975
URL: https://svnweb.freebsd.org/changeset/base/332975
Log:
Document the TRAP_CAP code for SIGTRAP.
MFC after:3 days
Modified:
head/share/man/man3/siginfo.3
Modified: head/share/man/man3/siginfo.3
===
Author: jhb
Date: Tue Apr 24 23:22:45 2018
New Revision: 332976
URL: https://svnweb.freebsd.org/changeset/base/332976
Log:
Shorten some recently-added lines that are an extra indent over 80 columns.
Modified:
head/tests/sys/kern/ptrace_test.c
Modified: head/tests/sys/kern/ptrace_test.c
=
by default, so you would need it to always
default to false to preserve existing behavior by default.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Author: jhb
Date: Fri Apr 27 17:20:23 2018
New Revision: 333068
URL: https://svnweb.freebsd.org/changeset/base/333068
Log:
Use the correct key address when renegotiating the transmit key.
Previously, get_keyid() was returning the address of the receive key
instead of the transmit key when
Author: jhb
Date: Fri Apr 27 21:22:32 2018
New Revision: 333076
URL: https://svnweb.freebsd.org/changeset/base/333076
Log:
Use %p to print uintptr_t values rather than %z in MIPS single-step code.
Modified:
head/sys/mips/mips/pm_machdep.c
Modified: head/sys/mips/mips/pm_machdep.c
===
me/lwhsu/src/sys/mips/mips/pm_machdep.c: In function
> > 'ptrace_clear_single_step':
> > /home/lwhsu/src/sys/mips/mips/pm_machdep.c:505: warning: format '%x'
> > expects type 'unsigned int', but argument 5 has type 'uintptr_t'
> > [-Wformat]
> > *** [pm_machdep.o] Error code 1
> >
> > Another way is cast arguments to uintmax_t and use %jx. Will that be
> > better?
> >
> > Li-Wen
> >
>
> Oh, my bad, my source was out of date. Now I see that the types are not
> plain integers anymore. In that case, I think the only options are to
> cast to uintmax_t and use %jx, or cast to void* and use %p.
The %z does happen to work in this case since size_t == uintptr_t on MIPS,
but I think %p is the best route since these really are pointers. I've
build-tested a patch to use %p and will commit it in a bit.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Author: jhb
Date: Tue May 1 15:17:46 2018
New Revision: 333140
URL: https://svnweb.freebsd.org/changeset/base/333140
Log:
Initial debug server for bhyve.
This commit adds a new debug server to bhyve. Unlike the existing -g
option which provides an efficient connection to a debug server
On Tuesday, May 01, 2018 03:17:47 PM John Baldwin wrote:
> Author: jhb
> Date: Tue May 1 15:17:46 2018
> New Revision: 333140
> URL: https://svnweb.freebsd.org/changeset/base/333140
>
> Log:
> Initial debug server for bhyve.
This is definitely "early" work and
On Friday, May 04, 2018 11:28:33 AM Sean Bruno wrote:
> For the "official" record:
>
> Approved-by: sbruno
>
> :-)
>
> sean
>
> p.s. silly svn didn't stop this commit, I wonder why.
There is no commit hook for mentor approvals. It's on
nd whine if they aren't released and then release
them.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
if (src->fc_ioctls == NULL)
> return (true);
>
> @@ -1512,7 +1512,7 @@ filecaps_copy(const struct filecaps *src, struct filec
>
> size = sizeof(src->fc_ioctls[0]) * src->fc_nioctls;
> dst->fc_ioctls = malloc(size, M_FILE
_on_panic || kdb_active)
arm/arm/trap-v6.c: if (debugger_on_panic || kdb_active)
arm64/arm64/trap.c: if (debugger_on_panic || kdb_active)
mips/mips/trap.c: if (debugger_on_panic || kdb_active) {
--
John Baldwin
___
Author: jhb
Date: Wed May 9 15:20:39 2018
New Revision: 333414
URL: https://svnweb.freebsd.org/changeset/base/333414
Log:
Recognize the base/gcc compiler as GCC.
The existing patterns for 'cc --version' output do not work for GCC
built from the base/gcc port.
Reviewed by: imp
Dif
Author: jhb
Date: Wed May 9 15:25:26 2018
New Revision: 333416
URL: https://svnweb.freebsd.org/changeset/base/333416
Log:
Report TRAP_BRKPT for breakpoint traps on sparc64.
Reviewed by: marius
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D15190
Modi
URCEQUENCH :
> case ICMP_REDIRECT :
> case ICMP_TIMXCEED :
Hmm, normal FreeBSD style here is to use /* FALLTHROUGH */, and there are
three other instances of that style in ipfilter already (and none others
using this comment style).
--
John Baldwin
__
On Wednesday, May 09, 2018 10:02:06 AM Warner Losh wrote:
> On Wed, May 9, 2018 at 8:58 AM, John Baldwin wrote:
>
> > On Wednesday, May 09, 2018 02:07:09 AM Cy Schubert wrote:
> > > Author: cy
> > > Date: Wed May 9 02:07:09 2018
> > > New Revision: 9
On Wednesday, May 09, 2018 02:29:05 PM Warner Losh wrote:
> On Wed, May 9, 2018 at 10:52 AM, John Baldwin wrote:
>
> > On Wednesday, May 09, 2018 10:02:06 AM Warner Losh wrote:
> > > On Wed, May 9, 2018 at 8:58 AM, John Baldwin wrote:
> > >
> > > >
this already from the call to exit() at the end?
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
werpc/powerpc/bcopy.c
> Deleted:
> head/sys/powerpc/powerpc/bcopy.c
> Modified:
Hmm, is sys/riscv/riscv/bcopy.c still in the tree?
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-sr
Thu May 10 06:33:54 2018(r333448)
> +++ head/usr.sbin/fstyp/zfs.c Thu May 10 06:41:08 2018(r333449)
> @@ -1,7 +1,6 @@
> /*-
> * Copyright (c) 2015 Allan Jude
> * Copyright (c) 2015 Xin LI
> - * All rights reserved.
> *
> * Redistribution and
t is that newsyslog will create a
one-line file in /var/log for entries with 'C'.
--
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
On Monday, May 15, 2017 11:43:21 AM Ian Lepore wrote:
> On Mon, 2017-05-15 at 10:13 -0700, John Baldwin wrote:
> > On Saturday, May 13, 2017 10:39:15 AM Warner Losh wrote:
> > >
> > > >
> > > > >
> > > > > - It's really easy to
On Monday, May 15, 2017 02:11:53 PM Ian Lepore wrote:
> On Mon, 2017-05-15 at 12:22 -0700, John Baldwin wrote:
> > Also, _you_ could just splat an empty /etc/newsyslog.conf file on
> > your
> > appliance and create a bunch of conf.d/foo files if that is easier
> &g
101 - 200 of 4392 matches
Mail list logo