summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Flesh out some inline documentation which hopefully reflect the intendedadrian2009-05-271-0/+23
| | | | reality of these functions.
* Add in some INVARIANT checks in the TX mbuf descriptor "freelist" management ↵adrian2009-05-271-0/+2
| | | | | | | | code. Slot 0 must always remain "free" and be a pointer to the first free entry in the mbuf descriptor list. It is thus an error to have code allocate or push slot 0 back into the list.
* Add the OpenSolaris lockstat(1M) command. Requires the dtrace driver,sson2009-05-275-0/+3144
| | | | | | the lockstat provider, and the ksyms(4) pseudo driver kernel modules. Approved by: gnn (mentor)
* Fix various cases with 3 or 4 parameters in test(1) to be POSIX compliant.jilles2009-05-262-9/+99
| | | | | | | | | | | | | | | | | | More precisely, this gives precedence to an interpretation not using the '(', ')', '-a' and '-o' in their special meaning, if possible. For example, it is now safe to write [ "$a" = "$b" ] and assume it compares the two strings. The man page already says that test(1) works this way, so does not need to be changed. Interpretation of input with more parameters tries a bit harder to find a valid parse in some cases. Add various additional test cases to TEST.sh. PR: standards/133369 Approved by: ed (mentor)
* Fix the experimental nfs subsystem so that it builds with thermacklem2009-05-265-11/+13
| | | | | | | | current NFSv4 ACLs, as defined in sys/acl.h. It still needs a way to test a mount point for NFSv4 ACL support before it will work. Until then, the NFSHASNFS4ACL() macro just always returns 0. Approved by: kib (mentor)
* Add the ksyms(4) pseudo driver. The ksyms driver allows a process tosson2009-05-2611-0/+967
| | | | | | | | | | | | | | get a quick snapshot of the kernel's symbol table including the symbols from any loaded modules (the symbols are all merged into one symbol table). Unlike like other implementations, this ksyms driver maps memory in the process memory space to store the snapshot at the time /dev/ksyms is opened. It also checks to see if the process has already a snapshot open and won't allow it to open /dev/ksyms it again until it closes first. This prevents kernel and process memory from being exhausted. Note that /dev/ksyms is used by the lockstat(1) command. Reviewed by: gallatin kib (freebsd-arch) Approved by: gnn (mentor)
* Unifdef __NetBSD__ here, the usb stack as a whole doesnt support NetBSD and itthompsa2009-05-262-418/+2
| | | | obsfucates the code.
* Merge local changes to ee(1) into contrib space.ed2009-05-2610-6652/+167
| | | | | | | | The source file, manual page and English translation are now directly obtained from the contrib/ directory. This makes it a lot easier to merge a newer version of ee(1) into the tree. Thanks to: des and jhb
* Move opt_apic.h closer to the "XXX: for assym.s" comment.des2009-05-261-1/+4
| | | | | Suggested by: jhb MFC after: 1 week
* Add the OpenSolaris dtrace lockstat provider. The lockstat providersson2009-05-2616-96/+967
| | | | | | | | | | adds probes for mutexes, reader/writer and shared/exclusive locks to gather contention statistics and other locking information for dtrace scripts, the lockstat(1M) command and other potential consumers. Reviewed by: attilio jhb jb Approved by: gnn (mentor)
* opt_apic.h is i386-only.des2009-05-261-2/+2
| | | | MFC after: 1 week
* Copy ee 1.4.2 into the contrib directory.ed2009-05-2612-0/+10842
|\ | | | | | | | | This allows me to merge our custom changes to ee(1) back on top of original sources, with correct mergeinfo.
| * Vendor import of ee 1.4.2.ed2009-05-2612-0/+10842
|
* Add a regression test for kern/21768.des2009-05-261-0/+42
| | | | MFC after: 1 week
* Correct the sense of a test so that this filter always waits for the fulljhb2009-05-261-2/+2
| | | | | | | | request to arrive. Previously it would end up returning as soon as the request length stored in the first two bytes had arrived. Reviewed by: dwmalone MFC after: 1 week
* Remove unused curses replacement implementation from ee(1) sources.ed2009-05-262-3989/+0
|
* Get rid of M_TEMP.ed2009-05-261-2/+2
|
* Do not forcefully close the write transfer when closing the tty, it needs tothompsa2009-05-262-21/+7
| | | | run to completion and drain the tty queue.
* Adapt to the new ACL #define names.trasz2009-05-261-13/+13
| | | | Reviewed by: rmacklem@
* Add two new utilities and two new daemons to /usr/src/usr.sbin thatrmacklem2009-05-2613-0/+1813
| | | | | | | | | | | | are specifically used by the experimental nfsv4 subsystem. nfscbd - The NFSv4 client callback daemon. nfsuserd - The NFSv4 daemon that maps between user and group name and their corresponding uid/gid numbers. nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state. nfsrevoke - Administratively revokes an NFSv4 client, releasing all NFSv4 Open/Lock state it holds on the server. Approved by: kib (mentor)
* - Unbreak 64 bit platforms by casting off_t to intmax.lulf2009-05-261-3/+3
|
* Unbreak bktr(4).ed2009-05-261-1/+1
|
* Change license to more bori^Wadul^Wcanonical.trasz2009-05-263-33/+33
| | | | Submitted by: rwatson@
* - Fix wrong print on BIO_DONE.lulf2009-05-261-46/+46
| | | | | | | - Use db_printf instead of printf. While here, apply this to other ddb commands as well. Pointed out by: pjd
* Add missing socket options.pjd2009-05-261-0/+8
|
* MFp4 changes neccessary for NFSv4 ACLs support in ZFS. This is mostlytrasz2009-05-2610-16/+370
| | | | | | | | | | | about removing a few #ifdefs and providing compatibility wrappers and VOP implementations to get and set an ACL; ZFS does ACL enforcement all by itself. Note that the VOPs are ifdefed out for now, so this change should be a no-op. Reviewed by: pjd
* Mention the danger of running programs using ``!''.brian2009-05-261-1/+6
| | | | | PR: 112481 MFC after: 1 week
* Fix a race that can stall the timer when we remove a timer that has anotherbrian2009-05-261-14/+23
| | | | | | | | | | | timer with a <0.05 second delta next to it. This is done by avoiding the possibility of updating the first residual time delta in the timer list to zero. PR: 102747 Submitted by: Sergey Zaharchenko - doublef-ctm at yandex dot ru MFC after: 3 weeks
* - Add 'show bio' DDB command.lulf2009-05-261-0/+70
| | | | MFC after: 3 weeks
* Set PG_WRITEABLE in Book-E pmap_enter[_locked] if it creates a mapping thatraj2009-05-261-0/+4
| | | | | | permits write access. This is similar to r192671. Pointed out and reviewed by: alc
* Free the memory correctly in the error casebenjsc2009-05-261-1/+1
| | | | | | Submitted by: frtzkatz at yahoo.com Approved by: sam MFC after: 1 month
* Add two sysctl variables to the experimental nfs server, sormacklem2009-05-261-3/+17
| | | | | | | | | that the range of versions of NFS handled by the server can be limited. The nfsd daemon must be restarted after these sysctl variables are changed, in order for the change to take effect. Approved by: kib (mentor)
* Fix the handling of NFSv4 Illegal Operation number to conformrmacklem2009-05-262-11/+17
| | | | | | | to RFC3530 (the operation number in the reply must be set to the value for OP_ILLEGAL). Also cleaned up some indentation. Approved by: kib (mentor)
* Fix the experimental nfs server's interface to the new krpc sormacklem2009-05-261-11/+10
| | | | | | | | that it handles the case of a non-exported NFSv4 root correctly. Also, delete handling for the case where nd_repstat is already set in nfs_proc(), since that no longer happens. Approved by: kib (mentor)
* Per the man page:dougb2009-05-264-164/+0
| | | | | | | | | The makekey utility has been deprecated and will be removed in a future release of FreeBSD. Actually removing it was approved back on 10/29/2007 by re (kensmith) but I dropped the ball on actually removing it. It's doubtful that it's become more relevant/useful in the intervening time.
* I have been here longmarkm2009-05-251-0/+5
| | | | | The duration I know not I tell what I can
* There is rubbish heremarkm2009-05-252-11/+8
| | | | | It is time to take it out Now it is cleaner
* Bump the document date to reflect the recent address range enhancements.brian2009-05-251-1/+1
| | | | Suggested by: throdes
* Bump the document date to reflect the 'p' command enhancements.brian2009-05-251-1/+1
| | | | Suggested by: trhodes
* Fix kdump build when building it by hand.ed2009-05-251-1/+1
| | | | | | | | | I don't entirely like this approach, but it will only be temporarily, namely until we get rid of COMPAT_43TTY. I do want <sys/ioctl_compat.h> to cause a compiler error when included, because it's just there for binary compatibility. Reported by: Andrzej Tobola <ato iem pw edu pl>
* Euro is missingmarkm2009-05-251-1/+1
| | | | | With this I shall see it fixed Thank you for your time
* Fix handling of devices w/o radiotap support:sam2009-05-256-11/+14
| | | | | | | o do not attach DLT_IEEE802_11_RADIO unless both tx and rx headers are present; this is assumed in the capture code paths o verify the above with asserts in ieee80211_radiotap_{rx,tx} o add missing checks for active taps before calling ieee80211_radiotap_rx
* do internal bpf tracking only for radiotap DLT'ssam2009-05-251-2/+2
|
* rev bpf attach/detach event api to include the dltsam2009-05-252-3/+4
|
* Add the "-4" option to nfsstat, so that it will reports statsrmacklem2009-05-252-7/+369
| | | | | | for the experimental nfs subsystem when that option is specified. Approved by: kib (mentor)
* Remove comment about moving tcp_reass() to its own file named tcp_reass.c,rwatson2009-05-251-2/+1
| | | | | | that happened a while ago. MFC after: 3 days
* Use, in uncovered part, the END() macro in order to improve debugging.attilio2009-05-2557-0/+60
| | | | | | | | | In this specific case, Valgrind won't get confused when analyzing such functions. Sponsored by: Sandvine Incorporated Tested by: emaste MFC: 3 days
* Staticize spx_remque() now that it's only used from spx_reass.c.rwatson2009-05-252-2/+1
|
* Add missing call to ipx_pcbdetach() during SPX socket tear-down: notrwatson2009-05-251-0/+1
| | | | | | | harmful in practice if running without INVARIANTS, but will panic with KASSERT enabled when SPX sockets are closed. MFC after: 3 days
* Eliminate use of dtom() in spx_output() by fixing up tracking of therwatson2009-05-251-7/+10
| | | | | | containing mbuf for 'si' in local variable 'm'. MFC after: 1 month
OpenPOWER on IntegriCloud