Age | Commit message (Collapse) | Author |
|
OK deraadt@
|
|
ok job benno claudio
|
|
Instead of a round about way of sending a message to vmm that 'send is
successful' and terminating by vm_remove from vmm, we can send the imsg and
exit in the vm process. The sigchld handler in vmm will vm_remove it from its
structures. This is how a normal vm is terminated as well.
Previously, vm_remove was called in vmm_dispatch_vm (ie. the event handler to
receive messages from vm process) when hanlding the IMSG_VMDOP_SEND_VM_RESPONSE
(ie. the vm process has written the vm state to the fd passed on by vmctl
send). This is not how vm_remove was intented to be used as it does a
free(vm). The vm struct holds the buffers for imsg and so after handling this
IMSG_VMDOP_SEND_VM_RESPONSE message, vmm_dispatch_vm loops again to do
imsg_get(ibuf, &imsg) to read the next message (and we had just freed this
*ibuf when we freed the vm struct) causing it to segfault.
reported by kn@
ok kn@
|
|
|
|
usernames, but only for email addresses. fixes an issue where
usernames always expand to the @ wildcard if defined in the virtual
alias file.
discussed with Gilles Chehade
ok millert@
|
|
more readable.
|
|
|
|
comments.
ok claudio job
|
|
|
|
|
|
from Gilles Chehade
|
|
from Ryan Kavanagh
|
|
Also clarify various constructs by using commonly understood names like
'expr' and 'vargs'.
|
|
|
|
ok millert@
|
|
|
|
|
|
This is useful to know which CPU recorded a given event.
While here document 'retval' and comment out 'ustack' until we have a
way to capture userland stacks.
|
|
|
|
an IPv4 and IPv6 local-address on a group and the neighbors bind to the
right local-address. Also implement 'no local-address' to reset a previously
set local address back to zero. This should help with IBGP and multihop
session config and hopefully reduce repetition in bgpd configs.
OK sthen@ benno@
|
|
the classless-[ms-]static-routes options in dhcpd.conf.
Brings dhcpd.conf CIDR parsing in line with dhclient.conf,
dhcp-options(5) and the command lines of various utilities.
Inconsistency noted and fix tested by Freda Bundchen. Thanks!
|
|
Keys are still strings representing the output value.
The following example is now possible to count the number of "on CPU"
events ordered by thread ID and executable name:
# btrace -e 'tracepoint:sched:on__cpu { @[tid, comm] = count() }'
^C
@[138836, idle0]: 830941
@[161307, sshd]: 716476
@[482901, softnet]: 582008
@[104443, systqmp]: 405749
@[269230, update]: 396133
@[326533, softclock]: 316926
@[61040, sshd]: 177201
@[453567, reaper]: 119676
@[446052, ksh]: 85675
@[26270, syslogd]: 66625
@[504699, sshd]: 52958
@[446052, sshd]: 32207
@[44046, tset]: 13333
@[162960, zerothread]: 101
@[313046, ntpd]: 1
|
|
ok job@
|
|
|
|
Fixes a possible crash and caching issue when manually moving an
envelope to the queue with smtpctl discover.
ok millert@
|
|
|
|
Previous implementation hit a deadlock sometimes as the pthread_cond_broadcast
for the pause mutex could happen before pthread_cond_wait. This implementation
uses a barrier which is hit when all vpcus are paused.
ok mpi@
|
|
|
|
rpki-client is not only for bgpd (especially in the portable version).
From Robert Scheck.
OK job@ benno@
|
|
options field was difficult to describe concisely;
- tweak wording accordingly
- sort flags
- condense STANDARDS to avoid text repitition, as suggested by deraadt
- document flags may be combined, now deraadt fixed the parsing
ok millert deraadt
|
|
-ns are now possible, as well as (useless) repetition like -nnn.
ok millert
|
|
|
|
|
|
and bump protocol version.
discussed with jung@, martijn@ and Gilles.
ok jung@
|
|
wordsmithing jmc@
|
|
We want to log when the job is added but will not be run, not every
time the run queue is processed.
|
|
If the lookup fails it falls back to parsing the ethernet address normally.
ok krw@
|
|
field before command, rather than muddling up the command description to
explain them messily as some sort of exception
ok millert
|
|
This adds a new "-s" flag to the command field which indicates that
only a single instance of the job should run concurrenty.
OK beck@ job@ deraadt@
|
|
officially deprecated and even if not exit(3) will take care of freeing
all that memory anyway. Non of the functions do any cleanup beyond simple
memory deallocation.
OK benno@ deraadt@
|
|
argument to ntohs(). Just memcpy to a uint16_t value and ntohs this value.
Fixes possible alignment issues as reported by newer gcc compilers.
OK beck@
|
|
|
|
OK tb@
|
|
That way, when slaacd gets started in a different rdomain with
route exec things just work, no need to provide an alternative
control socket.
Pointed out by claudio
Original diff by benno, but I like my bikeshed purple.
OK benno, claudio
|
|
ok dlg@
|
|
This is a step towards reducing the type casting crazyness.
|
|
By default a PID filter is set by dt(4) to not record events for the tracing
program.
The other type of predicates, which are checked in userland, is coming soon!
|
|
|
|
There's no need to redefine the INKERNEL() macro in userland because
stacktrace_save_at() only saves kernel stack traces.
If we decide to use the same interface to unwind & save userland stack
traces we can simply indicate that in the "struct stacktrace".
Discussed with deraadt@ and kettenis@
|
|
The random intervals used can be adjusted as needed. OK deraadt@
|