summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-03-13Complete rewrite of the powerpc pmap handling, Instead of keepingDale Rahn
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.
2002-03-13User may specify a suffix longer than 3 characters. Take this intoTodd C. Miller
account when sanity checking buffer size; itojun@
2002-03-13replace alarm(3) with setitimer(2).Federico G. Schwindt
2002-03-13Use the return value from snprintf() to keep a track of the length ofbrian
the display string in MPPEDispOpts.
2002-03-13On sparc, PAGE_SIZE and friends might not be a compile-time constant.Miod Vallat
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.
2002-03-12rest of copy_on_fault proper handlingsMichael Shalayeff
2002-03-12Credentials now freed on re-use of dq structure.Constantine Sapuntzakis
2002-03-12sparc64's aren't likely to be CPU_ISSUN4CJason Wright
2002-03-12Fix typo that prevented user's gid in passwd entry from being applied;Todd C. Miller
Brian Poole
2002-03-12Look up the TTE and only do the streaming cache dance if the mapping is ↵Jason Wright
marked as streaming.
2002-03-12don't need to call IFQ_SET_READY() twice; this driver was alreadyFederico G. Schwindt
ALTQify'ed.
2002-03-121) user and group name may start with a number (though it is a bad idea).Todd C. Miller
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
2002-03-12Handle B460800 and B921600 being defined in <termios.h>brian
2002-03-12extraneous 'or'; from Sven Kirmess <sven.kirmess@gmx.net>Michael Shalayeff
2002-03-12Add rfmem-stackArtur Grabowski
2002-03-12swiss german and french keymaps; from pckbd by Mathias Schmocker ↵Michael Shalayeff
<smat@polaris.smat.ch>
2002-03-12Document reality.Artur Grabowski
2002-03-12Change the PT_IO interfaces like discussed onArtur Grabowski
the bsd-api-discuss list.
2002-03-12Emulate ptrace(PT_STEP in software.Artur Grabowski
More or less directly from FreeBSD.
2002-03-12In the PT_STEP case, first set the new pc, then arrangeArtur Grabowski
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.
2002-03-12Add PT_IO to ptrace ops.Artur Grabowski
2002-03-12sync with KAMEKenjiro Cho
ALTQify more drivers. ok millert@
2002-03-12Handle inet_ntop() returning NULL explicitly. Found by mpech@.Daniel Hartmeier
2002-03-12Pass full length to strlcat(). From Brian Poole.Daniel Hartmeier
2002-03-12oopsMichael Shalayeff
2002-03-12correct type on last arg to execl()Brad Smith
-- Lost with upgrade to mod_ssl 2.8.7
2002-03-12Make the function prototypes line up better and add stub structTodd C. Miller
definitions to allow bsd_auth.h to be included before login_cap.h or pwd.h.
2002-03-12bsd_auth.h requires other headers so it can't be firstTodd C. Miller
2002-03-12Fix a couple mis-sorted headers and sync usage() with man page.Todd C. Miller
From Brian Poole
2002-03-12o Remove local prototypes for group_from_gid() and user_from_uid()Todd C. Miller
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
2002-03-12This makes things line up better. millert@ concurs.Hakan Olsson
2002-03-12Update to zlib-1.1.4Todd C. Miller
2002-03-12Tack on MagniComp (BSD) license since this originally came from rdist.Todd C. Miller
2002-03-11Add -r to reverse lookup addresses when displaying states.Daniel Hartmeier
From John Kerbawy.
2002-03-11Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional.Artur Grabowski
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.
2002-03-11If the clock has lost over 1000 days, use the filesystem time insteadDale Rahn
of the hardware clock. Prevent clock screwage due to lost battery on laptops where the hardware clock goes back to 0. From NetBSD.
2002-03-11Document PT_IOArtur Grabowski
2002-03-11Add a more sane API for reading/writing traced process memoryArtur Grabowski
with ptrace - PT_IO. Man page update in a few.
2002-03-11 remove errno=0 assignments, we don't need these with Hakan's codeVincent Labrecque
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
* Add a whole lot of consts where I thought it made sense no ok, but no objections either...
2002-03-11we don't need "/" after ${DESTDIR}Mike Pechkin
millert@ ok
2002-03-11indentJun-ichiro itojun Hagino
2002-03-11correct type mismatches (u_int64_t != unsigned long long)Jun-ichiro itojun Hagino
2002-03-11More fp-related libc pieces for hppa.Miod Vallat
This enables awk to link.
2002-03-11no \n to warnx(3). From: Mike Pechkin <mpech@prosoft.org.lv>Jun-ichiro itojun Hagino
2002-03-11Add <machine/ieeefp.h>, will be needed by libc shortly.Miod Vallat
2002-03-11Add a <machine/varargs.h> skeleton for userland.Miod Vallat
2002-03-10enable fifofs restarting on signal test.Federico G. Schwindt
2002-03-10regression for signal restart during open(2).Federico G. Schwindt
2002-03-10check that we got the port before trying to listenEric Jackson
pr 2436; Alexander Yurchenko <grange@rt.mipt.ru>