summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Update kvm mode to match kernel changes.phk2004-06-091-3/+3
| |
* | Update copyright years.den2004-06-091-0/+1
| |
* | Include <sys/cdefs.h> earlier to get the various visibility constants.das2004-06-091-2/+1
| | | | | | | | Previously, we were relying on <sys/_types.h> to include it implicitly.
* | Rename struct pt_ioctl to "ptsc" and pointers to it from "pti" to "pt"phk2004-06-091-65/+65
| |
* | Ditch K&R function stylephk2004-06-091-63/+15
| |
* | Reference count struct tty.phk2004-06-093-24/+104
| | | | | | | | | | | | | | | | | | | | | | Add two new functions: ttyref() and ttyrel(). ttymalloc() creates a struct tty with a reference count of one. when ttyrel sees the count go to zero, struct tty is freed. Hold references for open ttys and for ttys which are controlling terminal for sessions. Until drivers start using ttyrel(), this commit will make no difference.
* | Fix a race in destruction of sessions.phk2004-06-091-2/+3
| |
* | Move PTY private defines into PTY private files.phk2004-06-092-3/+4
| |
* | style.Makefile(5)obrien2004-06-092-12/+12
| |
* | Only match cards that claim to be network cards. I've had twoimp2004-06-091-0/+10
| | | | | | | | | | | | | | | | | | different cards that matched vendor/id, but weren't wi cards. This is because the vendor foolishly didn't have unique product ids. Symbol has a serial card that would otherwise match the wi driver, for example... Taken from a patch for xe posted by: Carlos Velasco
* | Introduce a netisr to deliver kernel-generated routing, avoidingrwatson2004-06-093-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recursive entering of the socket code from the routing code: - Modify rt_dispatch() to bundle up the sockaddr family, if any, associated with a pending mbuf to dispatch to routing sockets, in an m_tag on the mbuf. - Allocate NETISR_ROUTE for use by routing sockets. - Introduce rtsintrq, an ifqueue to be used by the netisr, and introduce rts_input(), a function to unbundle the tagged sockaddr and inject the mbuf and address into raw_input(), which previously occurred in rt_dispatch(). - Introduce rts_init() to initialize rtsintrq, its mutex, and register the netisr. Perform this at the same point in system initialization as setup of the domains. This change introduces asynchrony between the generation of a pending routing socket message and delivery to sockets for use by userspace. It avoids socket->routing->rtsock->socket use and helps to avoid lock order reversals between the routing code and socket code (in particular, raw socket control blocks), as route locks are held over calls to rt_dispatch(). Reviewed by: "George V.Neville-Neil" <gnn@neville-neil.com> Conceptual head nod by: sam
* | Replace convoluted and broken CRC calcuation with ether_crc32_le().naddy2004-06-091-41/+6
| | | | | | | | This should fix multicast reception.
* | * Fix multicast reception.naddy2004-06-091-28/+10
| | | | | | | | | | | | | | | | | | * Replace handrolled crc calculation with ether_crc32_le(). Based on: PR: 67544 Submitted by: HASHI Hiroaki <hashiz@tomba.cskk-sv.co.jp>
* | Recognise NOINET6 as an indication to not build IPv6 enabled source evendarrenr2004-06-082-2/+4
| | | | | | | | | | | | if FreeBSD header files, etc, support it. Submitted by: Sergey Mokryshev <mokr@mokr.net>
* | Back out rev 1.3.obrien2004-06-081-1/+1
| | | | | | | | | | This is one of the few RC scripts that doesn't use rc.subr, and thus doesn't source rc.conf. :-(
* | Fix typobrueffer2004-06-081-1/+1
| | | | | | | | | | Obtained from: DragonFly BSD MFC after: 3 days
* | Add note that rmuser will clean up any IPC mechanisms owned by the user.csjp2004-06-081-0/+3
| | | | | | | | Approved by: bmilekic (mentor)
* | Remove an #if section originally written for Sun compilers.stefanf2004-06-081-8/+0
| |
* | Avoid assignments to cast expressions.stefanf2004-06-084-8/+8
| | | | | | | | | | Reviewed by: md5 Approved by: das (mentor)
* | Signal handlers are supposed to take an int parameter.stefanf2004-06-081-2/+2
| | | | | | | | Approved by: das (mentor)
* | Remove a couple of casts added for an ancient Sun compiler.stefanf2004-06-081-11/+2
| | | | | | | | Approved by: das (mentor)
* | - Don't use argv[i] when i is uninitialised.stefanf2004-06-081-3/+2
| | | | | | | | | | | | | | - Cast isdigit's argument to unsigned char. - Remove the now unused variable i. Approved by: das (mentor)
* | The third operand of the conditional operator should have type void too.stefanf2004-06-082-2/+2
| | | | | | | | Approved by: das (mentor)
* | Implement the BREAK_TO_DEBUGGER option for sab(4).joerg2004-06-081-0/+11
| |
* | 1. struct tty => struct tty *tty.rik2004-06-081-95/+110
| | | | | | | | Requested by: phk
* | Remove remnants of PGINPROF.tjr2004-06-082-43/+0
| |
* | Touch .Dd (date) since new functionality has been documented.yar2004-06-081-1/+1
| | | | | | | | Reminded by: ru
* | If we are asked to print the total number of blocks, do so even if wedas2004-06-081-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | have no entries to print (either due to an empty directory or an error). This makes the -l and -s options more consistent, like Solaris and (Debian) Linux. To make this happen, tweak two optimizations on the second call to display(): - Don't skip display() altogether, even if list == NULL. - Don't skip the call to the printfn in display() if we need to print the total. PR: 45723
* | Remove from the printfns the assumption that dp->list != NULL. Evendas2004-06-081-2/+6
| | | | | | | | | | if there are no entries, these functions may be called to print the total number of blocks (0) for consistency's sake.
* | Make the legend to the table of interface flags compactyar2004-06-081-8/+10
| | | | | | | | | | | | for the reader's convenience. Suggested by: ru
* | Describe how polling(4) applies to network interfaces.yar2004-06-081-2/+55
| | | | | | | | Reviewed by: ru
* | In fts_build(), if we try to chdir and fail (e.g. due to lack of searchdas2004-06-082-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permission), try to continue in FTS_DONTCHDIR mode. Of course this won't work for long paths, but we can't descend more than one pathname component beyond the directory anyway if we lack search permission. Here is a transcript demonstrating the change, where oldls is ls(1) linked with the old fts(3): das@VARK:~> mkdir t && touch t/{a,b,c} && chmod u-x t das@VARK:~> oldls t a b c das@VARK:~> oldls -l t das@VARK:~> \ls t a b c das@VARK:~> \ls -l t ls: a: Permission denied ls: b: Permission denied ls: c: Permission denied I had forgotten about this patch until bde reminded me. He reports using it without problems for over a year. PR: 45723
* | Rename cantwrite() to prepwrite(). The latter is less confusing,das2004-06-081-4/+1
| | | | | | | | | | | | since the macro isn't really a predicate, and it has side-effects. Also, don't set errno if prepwrite() fails, since this is done in prepwrite() now.
* | Rename cantwrite() to prepwrite(). The latter is less confusing,das2004-06-084-5/+6
| | | | | | | | since the macro isn't really a predicate, and it has side-effects.
* | Set errno to EBADF on attempts to write to a stream that is notdas2004-06-081-2/+5
| | | | | | | | | | | | | | | | | | writable. Affected callers include fwrite(), put?(), and *printf(). The issue of whether this is the right errno for funopened streams is unresolved, but that's an obscure case, and some errno is better than no errno. Discussed with: bde, jkh
* | In pmap_extract_and_hold(), there is no need to mask off PG_FRAME becausepeter2004-06-081-4/+5
| | | | | | | | | | | | | | | | | | | | pmap_extract() already does it. In pmap_enter(), opa has already been masked so don't do it again. Wrap a long line (recent transgression). Use trunc_page() in pmap_mapdev() instead of anding with PG_FRAME, since that is what we really meant. Submitted by: alc (first item)
* | Fix my silly typo in asm statement in previous commit.peter2004-06-081-1/+1
| |
* | Argh. Remove stray number that slipped into the previous commit.peter2004-06-081-1/+0
| |
* | Reapply rev 1.151 after enable sse/fpuinit order fixed in mp_machdep.cpeter2004-06-081-0/+4
| | | | | | | | Obtained from: das
* | Set up the fpu *after* enabling SSE mode on AP'speter2004-06-081-3/+3
| | | | | | | | Submitted by: (argh, I can't find the email)
* | Initial PG_NX support (no-execute page bit)peter2004-06-089-154/+151
| | | | | | | | | | | | | | | | - export the rest of the cpu features (and amd's features). - turn on EFER_NXE, depending on the NX amd feature bit - reorg the identcpu stuff a bit in order to stop treating the amd features as second class features (since it is now a primary feature bit set) and make it easier to export.
* | Mask pte's with PG_FRAME before passing it to PHYS_TO_VM_PAGE().. PG_NXpeter2004-06-082-17/+17
| | | | | | | | | | | | lives in the top 12 'available' bits. atop() in the PHYS_TO_VM_PAGE() macro only masks off the lower bits (by accident) and the upper bits in the 64 bit ptes turn into "interesting" index values.
* | Correct some spelling errors.kientzle2004-06-081-6/+6
| |
* | Use trunc_page(va) when we mean it rather than anding it with PG_FRAMEpeter2004-06-081-2/+2
| | | | | | | | | | (which doesn't work all that well when there are bits at the top that are masked by PG_FRAME)
* | Fix a serious problem that manifested during swap, and a few other times.peter2004-06-071-18/+60
| | | | | | | | | | | | | | | | | | | | | | pmap_remove() would be called with a huge range and we'd stride across it in only 2MB chunks. This would manifest as massive cpu time and a largely unresponsive system during hard swap. Instead, check the higher page directories which means we can run pmap_remove() in just a few hundred loop iterations instead of millions since we can process address space in chunks of 512GB and 1GB as well as 2MB. Eternal thanks to: tmm
* | Be a little more consistent in the naming of the PML4 defines.peter2004-06-071-3/+3
| |
* | Note that FIPS does not work on extended partitions, and thatmurray2004-06-071-0/+4
| | | | | | | | | | | | | | Windows 95/98/ME FAT32 primary partition ARE supported. Submitted by: "Ted Mittelstaedt" <tedm@toybox.placo.com> MFC After: 1 week
* | Now that mbufs are allocated using uma,julian2004-06-071-4/+0
| | | | | | | | | | don't check for accidental usage of mbuf 'how' flags as they are the same thing.
* | Drop the include for <stdint.h>, it was only needed when this wasgad2004-06-071-1/+0
| | | | | | | | | | | | | | using __DECONST() for something, and that reference has been removed. Noticed by: Helge Oldach MFC after: 13 days
* | Use ".In" to mark up C include file names.yar2004-06-071-2/+4
| |
OpenPOWER on IntegriCloud