| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
inputted line just ends at sizeof(db_history), ddb started writing the
histories to out of the region. diff from IIJ.
ok deraadt anton
|
| |
|
|
|
|
| |
ok deraadt
|
| |
|
|
|
|
|
|
|
|
|
| |
referenced to using a pointer to long. When writing to such a variable,
cast it to the correct type. Writing would otherwise on 64-bit
architectures cause the next variable adjacent in memory to also be
modified.
ok deraadt@ visa@
|
|
|
|
|
| |
corresponding digits. So the change the ddb x/x output.
OK sashan@ deraadt@ visa@ mpi@
|
| |
|
|
|
|
| |
OK jasper@
|
|
|
|
|
|
| |
and indicate if a saved stack trace is empty.
OK guenther@
|
| |
|
|
|
|
|
|
|
| |
Currently there is only support for amd64, if this change settles
I will add support for the rest of the architectures.
OK kettenis@.
|
|
|
|
| |
ok pirofti@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for blocks re-fetchable from the filesystem. However at reboot time,
filesystems are unmounted, and since processes lack backing store they
are killed. Since the scheduler is still running, in some cases init is
killed... which drops us to ddb [noted by bluhm]. Solution is to convert
filesystems to read-only [proposed by kettenis]. The tale follows:
sys_reboot() should pass proc * to MD boot() to vfs_shutdown() which
completes current IO with vfs_busy VB_WRITE|VB_WAIT, then calls VFS_MOUNT()
with MNT_UPDATE | MNT_RDONLY, soon teaching us that *fs_mount() calls a
copyin() late... so store the sizes in vfsconflist[] and move the copyin()
to sys_mount()... and notice nfs_mount copyin() is size-variant, so kill
legacy struct nfs_args3. Next we learn ffs_mount()'s MNT_UPDATE code is
sharp and rusty especially wrt softdep, so fix some bugs adn add
~MNT_SOFTDEP to the downgrade. Some vnodes need a little more help,
so tie them to &dead_vnops.
ffs_mount calling DIOCCACHESYNC is causing a bit of grief still but
this issue is seperate and will be dealt with in time.
couple hundred reboots by bluhm and myself, advice from guenther and
others at the hut
|
|
|
|
| |
From Klemens Nanni.
|
|
|
|
| |
ok mpi@
|
|
|
|
| |
ok jasper@
|
| |
|
|
|
|
|
|
| |
mount point. Print it to allow debugging through the data structures
from there.
OK krw@
|
| |
|
|
|
|
|
|
| |
- refuse to pretty-print if there's no CTF
ok mpi@
|
|
|
|
| |
ok mpi@
|
|
|
|
|
|
|
|
| |
Send an uncatchable SIGABRT to the process specified by the pid
argument. Useful in case of CPU exhaustion to kill the DoSing
process and generate a core for later inspection.
ok phessler@, visa@, kettenis@, miod@
|
|
|
|
|
|
| |
functionnalities are available in GENERIC.
ok jasper@, deraadt@, guenther@, dlg@
|
|
|
|
|
|
| |
the corresponding struct definitions.
ok dlg@
|
| |
|
| |
|
|
|
|
|
|
| |
this makes it consistent with printing of other values.
ok mpi@
|
|
|
|
|
|
|
| |
this lets you inspect arbitrary memory in the kernel as a specified
struct.
ok mpi@ jasper@
|
|
|
|
| |
ok mpi@
|
|
|
|
|
|
|
|
|
|
|
| |
Changing the "print" command to use db_ctf_pprint_cmd() broke all documented
uses and "examine" does not allow printing variables, or individual registers.
For now it is better to leave the "print" command intact, and in sync with the
ddb(4) man page, but we still want "pp[rint]" to replace the "print" command
when it works better.
ok mpi@
|
| |
|
| |
|
|
|
|
| |
ok jasper@
|
|
|
|
|
|
|
| |
defined (removed in "Kill db_sym_t." from 2017-05-30 11:39 mpi). This
change fixes the problem.
OK mpi@
|
| |
|
|
|
|
|
|
| |
Casting a type is not yet supported.
ok kettenis@, jasper@
|
|
|
|
|
|
|
| |
Spotted and diff provided by Andrey Bolkonskiy <andrey0bolkonsky@gmail.com>,
thanks!
okay deraadt@
|
| |
|
|
|
|
| |
ok deraadt@, kettenis@, jasper@
|
|
|
|
| |
ok jasper@
|
|
|
|
| |
argument.
|
|
|
|
| |
ok claudio@, jasper@
|
|
|
|
| |
mpi@ agrees that this is correct.
|
|
|
|
|
|
| |
- Cache the string table pointer
- Unify return statements
- Use the end of the symbol table rather than counting symbols
|
| |
|
|
|
|
|
|
|
| |
Using a name with the 'db_' prefix makes it invisible from the dynamic
profiler.
ok deraadt@, kettenis@, visa@
|
|
|
|
|
|
| |
It doesn't compile und hasn't been working during the last decade.
ok kettenis@, deraadt@
|
|
|
|
| |
Go-ahead from kettenis@, guenther@, deraadt@
|
|
|
|
|
|
| |
on amd64 and i386.
With guenther@
|
|
|
|
| |
ok jca@
|