Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
your kernel configuration file.
By default, GENERIC will enable this.
When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).
This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.
|
|
From thorpej@netbsd.org
|
|
the recent changes to scsiconf.c.
a) Restore marking of appropriate devices as tagged
b) Fix an off-by-one error that sprayed bits around
c) Use correct field (quirks) when setting SDEV_NOTAGS bit
d) Use TAG_ENB define instead of MSG_SIMPLE_Q_TAG when
manipulating hscb->control. Both were defined to the
same value, but TAG_ENB is the define used to extract
the bit later on.
This leaves problems, most often seen as faults when accessing
a CD drive and disk drive on the same bus.
ok smurph@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if it fails. (The right thing to do is have myetheraddr() do this, but
that will come later).
|
|
it fails, fall back to myetheraddr()
|
|
the spill list for each PTEG, the V->P translations are stored in
trees for each pmap. All valid kernel mappings are preallocated
in 1-1 memory so that tlb spill/loads for kernel accesses can be
looked up while physical, user mappings are not guaranteed to
be 1-1 mapped, thus the kernel must go virtual to look up user
mappings. While this is more expensive, the tree search is much
lower cost than the long linked list search. Also on each pmap_remove()
it was necessary to search the linked lists for each possible mapping,
now it just looks up the entry in the tree.
This change gives a 25-36% speedup in 'make build' time. What was
around 2:50 is now around 1:55 on a 733MHz G4.
This change causes a likely existing bug to appear quite often,
it deals with the segment register invalidation in kernel mode.
Because of that problem, currently this change limits the physical
memory used to 256MB. This limitation will be fixed soon, it is not
an error in the pmap code.
* Effort sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F30602-01-2-0537.
|
|
account when sanity checking buffer size; itojun@
|
|
|
|
the display string in MPPEDispOpts.
|
|
Instead of using a homegrown set of variables in this case, rely on uvmexp
fields once uvm has been initialized.
This requires a few #include <uvm/uvm_extern.h> here and there in the kernel
as well.
Idea from art@, changes by me.
|
|
|
|
|
|
|
|
Brian Poole
|
|
marked as streaming.
|
|
ALTQify'ed.
|
|
For the -u/-g flags do passwd/group file lookups first and then try
as a numeric id.
2) Set the gid based on the uid's passwd file entry if there is one, just
like we do with names.
Partially based on a patch from Brian Poole
|
|
|
|
|
|
|
|
<smat@polaris.smat.ch>
|
|
|
|
the bsd-api-discuss list.
|
|
More or less directly from FreeBSD.
|
|
for the single-step. This can slightly break the error handling when
setting the sstep fails, but allows us to emulate single stepping in
software on arch that don't have support for that in hardware.
|
|
|
|
ALTQify more drivers.
ok millert@
|
|
|
|
|
|
|
|
--
Lost with upgrade to mod_ssl 2.8.7
|
|
definitions to allow bsd_auth.h to be included before login_cap.h
or pwd.h.
|
|
|
|
From Brian Poole
|
|
since they are prototyped in grp.h and pwd.h.
o Increase size of 'buf' to 21 since we store the string representation
of a u_quad_t in it (max 20 chars + the NUL).
o Minor KNF wrt pointers in boolean context.
From Denis Afonin
|
|
|
|
|
|
|
|
From John Kerbawy.
|
|
They still stay in MD code for backwards compatibility, but a check in
ptrace.h checks if they are defined.
Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements
them and with PT_STEP when it's implemented by sparc, sparc64 and alpha.
|
|
of the hardware clock. Prevent clock screwage due to lost battery on laptops
where the hardware clock goes back to 0. From NetBSD.
|