summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
AgeCommit message (Collapse)Author
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-06-053/4 knockout for peter galbavyTheo de Raadt
2003-06-04Delete UCB term 3. When there are other copyright owners, we affirmTheo de Raadt
that we can see no legal situation under which they could require that term to remain (ie. This is equivelant to us taking the old UCB file, removing term 3 as specified by UCB, then re-applying each diff afterwards from the various authors)
2003-06-04strlcpy; tested by nick@Miod Vallat
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-23remove old swapgeneric.c'sTed Unangst
2003-05-23move swapgeneric to truly generic code. tested on many archs by miod and ↵Ted Unangst
mickey.
2003-05-16Unbrek mac68k, bad tedu; spotted by nick@Miod Vallat
2003-05-14add {b,c}devsw_lookup convenience functions.Ted Unangst
move chrtoblk and blktochr into MI code. tested on several archs and ok deraadt@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-09No need to map the message buffer executable.Artur Grabowski
fries@ niklas@ ok
2003-05-09No need to map framebuffers executable. Really.Artur Grabowski
fries@ niklas@ ok.
2003-05-09Remove dead (ifdef 0) code that pollutes my greps.Artur Grabowski
2003-05-05Write explicit scsibus at controller attachment, rather than scsibus at scsiMiod Vallat
attribute.
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-04-03HPUX, HP/UX -> HP-UXJason McIntyre
ok mickey@
2003-03-14spl police.Miod Vallat
2003-03-14Zombies on the bridge, captain.Miod Vallat
2003-03-12backout the two previous patches, it breaks the 3com ae card and I don'tJason Wright
understand it enough to fix.
2003-03-01- only declare and provide pmap_map() for mac68k, until it bites the dust.Miod Vallat
Other m68k-based arches do not need it. - do not wait to allocate struct pv_page. Either pmap_enter() has been invoked with PMAP_CANFAIL and can live with this, or we are close to fandagoland anyways.
2003-02-28Fix more evil typos.Miod Vallat
2003-02-26Let this compile if no DDBMiod Vallat
2003-02-26Fix symbol clash that would prevent a kernel configured with both ncr5380Miod Vallat
drivers to link.
2003-02-25Destaticize, and add RAMDISK_HOOK glue for bsd.rdMiod Vallat
2003-02-24Hammer the disklabel code once more: a few fixes, lots of simplifications,Miod Vallat
read the label and the Apple DPME partition table in one shot (this idea from NetBSD), and generally make things much safer. Solves spurious panic while building labels on disks with a large number of DPME partitions.
2003-02-24Defer the iomem extent initialization until the MMU is enabled. This isMiod Vallat
necessary since the last pmap changes, to get proper serial console initialization. From NetBSD, tested by nick@
2003-02-24Sync struct pcb and struct mdproc with what other m68k ports use. This willMiod Vallat
eventually be factorized someday...
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-01-28Remove (now) bogus diagnostic check and set the output length correctly (why ↵Jason Wright
this was done in -two- places is beyone me); spotted and tested by Nick.
2003-01-27padd < mimimum sized frames with 0's instead of whatever the chip wants; ↵Jason Wright
based on netbsd.
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-19shut up, dn(4). There's really no need to printf junk nobody wants to readHenning Brauer
for every collision. ok theo
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2003-01-05splassert on m68k-based arches. Not totally accurate on hp300 at the moment,Miod Vallat
still.
2003-01-04Remove COMPAT_NOMID. It was deprecated since a long time, the man page wassMiod Vallat
misleading, and it was never used anyways.
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-10achetypal -> archetypalMiod Vallat
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-10-29Since memory deallocation can't fail, remove the error return fromArtur Grabowski
uvm_unmap, uvm_deallocate and a few other functions. Simplifies some code and reduces diff to the UBC branch.
2002-10-13Remove more '\n's from panic() statements. From Chris Kuethe.Kenneth R Westerback
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-07-15repair tags building (due to obj dirs in /sys)Michael Shalayeff
2002-07-10proper cdev_decl(ksyms), fix ksyms's broken functionsMichael Shalayeff
2002-07-10'sez' is not an english word; ok deraadt@Jason Peel