summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add openat to the POSIX.1-2008 namespace.das2009-03-041-0/+2
|
* Add psignal to the POSIX.1-2008 namespace.das2009-03-041-1/+4
|
* - Add getsid, fchdir, getpgid, lchown, pread, pwrite, truncate,das2009-03-041-26/+38
| | | | | | *at, and fexecve to the POSIX.1-2008 namespace. - Remove getwd, ualarm, usleep, and vfork from the XSI namespace. - Remove mkdtemp from the POSIX.1-2008 namespace (should be in stdlib.h).
* - Remove bcmp, bcopy, bzero, index, and rindex from the POSIX.1-2008das2009-03-041-0/+6
| | | | | namespace. - Add ffs to the XSI namespace.
* - Add getsubopt and mkdtemp to the POSIX.1-2008 namespace.das2009-03-041-6/+13
| | | | | - Add mkstemp to the POSIX.1-2008 and BSD namespaces. - Remove mktemp from the XSI namespace.
* Fix a file descriptor leak in fts_child().das2009-03-041-1/+3
| | | | Obtained from: NetBSD
* Merge header file definitions used by the new IGMPv3 implementation.bms2009-03-041-38/+68
| | | | | This is a partial merge. Compatibility defines are retained for the existing IGMPv2 implementation.
* Add various defines/macros required by IGMPv3:bms2009-03-041-1/+10
| | | | | | | | * MCAST_UNDEFINED state. * in_allhosts() macro (group is 224.0.0.1). This uses a const endian comparison. * IP_MAX_GROUP_SRC_FILTER, IP_MAX_SOCK_SRC_FILTER default resource limits.
* Overlay a uint16_t field suitable for use by thebms2009-03-041-1/+5
| | | | | | IGMPv3 code. It is used to maintain the number of group records contained in a pending IGMPv3 output mbuf chain.
* Reserve a netisr slot for the IGMPv3 output queue.bms2009-03-041-0/+1
|
* Add function ip_checkrouteralert(), which will be usedbms2009-03-042-0/+62
| | | | | by IGMPv3 to check for the IPv4 Router Alert [RFC2113] option in a pulled-up IP mbuf chain.
* Add printb.c utility file, but do not yet connect it to the build.bms2009-03-041-0/+64
|
* Add full SSM stack support to mtest(8) diagnostic tool.bms2009-03-041-115/+87
|
* Update mtest(8) manual page.bms2009-03-041-6/+45
|
* Add cross-reference to sourcefilter(3).bms2009-03-041-1/+2
|
* Add source-specific multicast (SSM) option documentation.bms2009-03-041-20/+150
|
* Considerably improve the wording of this man page.bms2009-03-041-20/+77
|
* Update copyright.bms2009-03-041-16/+13
|
* Make ifinfo build. The struct if_data members ifi_recvquota andyongari2009-03-041-2/+2
| | | | | ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2 respectively.
* Explicitly specify bit width for on-disk data structure.delphij2009-03-041-17/+17
| | | | Obtained from: OpenBSD
* Sync license changes.delphij2009-03-042-20/+3
| | | | Obtained from: NetBSD
* Style changes (including additional casts to shut up warnings). Thisdelphij2009-03-0415-36/+35
| | | | commit does not affect MD5 of object file.
* - Updated firmware to latest 4.6.X release.davidch2009-03-043-13581/+13987
| | | | | | | | - Added missing firmware for 5709 A1 controllers. - Changed some debug statistic variable names to be more consistent. Submitted by: davidch MFC after: Two weeks
* For the moment disable the VIMAGE_CTASSERTs as people have troublebz2009-03-031-0/+4
| | | | | | | | | | | | | | while developing and compiling with kernel options that change the size of at least one structure. The current kernel build framework does not allow us to pass -Dxxx to module builds so we would possibly need a kernel option to disable the checks and that might not work for people just building modules alone. For now they helped to identify possibly API problems and bring those back into minds of developers seeking for better solutions. Problems reported by: kib, warner Reviewed by: warner
* make loop clearer that it isn't a mistake...imp2009-03-031-1/+2
|
* Add in parsing of the disk FUNCE tuples.imp2009-03-033-16/+27
|
* The callback takes a void *, not a caddr_t * (sic).imp2009-03-031-2/+2
| | | | Except for the bb callback, which takes a caddr_t and not a caddr_t *.
* Bump down the inline limit on MIPS.imp2009-03-031-1/+1
|
* Make Netgraph compile with Clang.ed2009-03-033-14/+12
| | | | | | | | | | | | | | | | Clang disallows structs with variable length arrays to be nested inside other structs, because this is in violation with ISO C99. Even though we can keep bugging the LLVM folks about this issue, we'd better just fix our code to not do this. This code seems to be the only code in the entire source tree that does this. I haven't tested this patch by using the kernel modules in question, but Diane Bruce and I have compared disassembled versions of these kernel modules. We would have expected them to be exactly the same, but due to randomness in the register allocator and reordering of instructions, there were some minor differences. Approved by: julian
* Adding missing ";"'s required by some SDT_PROBE_DEFINEx() macros.rwatson2009-03-031-10/+10
| | | | MFC after: 1 week
* as suggested by jhb@, panic in case the ncpus == 0.dchagin2009-03-031-1/+1
| | | | | | | it helps to catch bugs in the callers. Approved by: kib (mentor) MFC after: 5 days
* Reduce the verbosity of SDT trace points for DTrace by defining severalrwatson2009-03-033-18/+41
| | | | | | | | | | | wrapper macros that allow trace points and arguments to be declared using a single macro rather than several. This means a lot less repetition and vertical space for each trace point. Use these macros when defining privilege and MAC Framework trace points. Reviewed by: jb MFC after: 1 week
* Merge r340 from libarchive.googlecode.com: If zlib/bzlib aren't available,kientzle2009-03-032-6/+20
| | | | | we can still detect gzip/bzip2 compressed streams, we just can't decompress them.
* Merge r294:337,r348:350 from libarchive.googlecode.com: A lotkientzle2009-03-0361-321/+7871
| | | | of work to make libarchive work on Windows.
* Further refine the handling of resources for BARs in the PCI bus driver.jhb2009-03-032-82/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A while back, Warner changed the PCI bus code to reserve resources when enumerating devices and simply give devices the previously allocated resources when they call bus_alloc_resource(). This ensures that address ranges being decoded by a BAR are always allocated in the nexus0 device (or whatever device the PCI bus gets its address space from) even if a device driver is not attached to the device. This patch extends this behavior further: - To let the PCI bus distinguish between a resource being allocated by a device driver vs. merely being allocated by the bus, use rman_set_device() to assign the device to the bus when it is owned by the bus and to the child device when it is allocated by the child device's driver. We can now prevent a device driver from allocating the same device twice. Doing so could result in odd things like allocating duplicate virtual memory to map the resource on some archs and leaking the original mapping. - When a PCI device driver releases a resource, don't pass the request all the way up the tree and release it in the nexus (or similar device) since the BAR is still active and decoding. Otherwise, another device could later allocate the same range even though it is still in use. Instead, deactivate the resource and assign it back to the PCI bus using rman_set_device(). - pci_delete_resource() will actually completely free a BAR including attemping to disable it. - Disable BAR decoding via the command register when sizing a BAR in pci_alloc_map() which is used to allocate resources for a BAR when the BIOS/firmware did not assign a usable resource range during boot. This mirrors an earlier fix to pci_add_map() which is used when to size BARs during boot. - Move the activation of I/O decoding in the PCI command register into pci_activate_resource() instead of doing it in pci_alloc_resource(). Previously we could actually enable decoding before a BAR was initialized via pci_alloc_map(). Glanced at by: bsdimp
* ichwd: correct range check for timeout valueavg2009-03-031-2/+2
| | | | Approved by: jhb (mentor)
* Start removing IPv6 Type 0 Routing header code.bz2009-03-033-168/+26
| | | | | | | | | | RH0 was deprecated by RFC 5095. While most of the code had been disabled by #if 0 already, leave a bit of infrastructure for possible RH2 code and a log message under BURN_BRIDGES in case a user still tries to send RH0 packets. Reviewed by: gnn (a bit back, earlier version)
* udf_readdir: do not advance offset if entry can not be uio-edavg2009-03-031-1/+1
| | | | | | | | | | Previosly readdir missed some directory entries because there was no space for them in current uio but directory stream offset was advanced nevertheless. jhb has discoved the issue and provided a test-case. Reviewed by: bde Approved by: jhb (mentor)
* Update config.h for OpenBSM 1.1 beta1.rwatson2009-03-031-3/+3
| | | | MFC after: 1 month
* Catch up with USB2 change.nyan2009-03-036-12/+12
| | | | | | | Remove the usbdevs and add the usbconfig. Spotted by: hrs Tested on: i386
* Xref glxsb(4).brueffer2009-03-031-1/+2
| | | | MFC after: 3 days
* Merge r294 from libarchive.googlecode.com: Skip testing forkientzle2009-03-031-0/+7
| | | | | | locale-based failures on systems where the "C" locale is so permissive that it cannot possibly fail. In particular, this fixes a test problem on Cygwin.
* Set PortMultiplier port only for SATA2 channels, where it is applicable.mav2009-03-031-2/+5
| | | | | | | Doing it on old SATA controllers like Promise PDC20375 SATA150 breaks their operation. Tested by: marcus on PDC20375
* Merge r282 from libarchive.googlecode.com: Close multiple filterskientzle2009-03-032-3/+3
| | | | by walking the filter list in archive_read_close().
* Merge r272 from libarchive.googlecode.com: Fix building on MSVC6.kientzle2009-03-031-1/+3
|
* Rename variable 'index' to 'idx' to avoid name collision with index(3),delphij2009-03-037-101/+87
| | | | | | | this commit does not affect any object code. Obtained from: OpenBSD Verified with: md5(1)
* Diff reduction against OpenBSD: ANSI'fy prototypes.delphij2009-03-0228-485/+196
| | | | | | | | (This is part of a larger changeset which is intended to reduce diff only, thus some prototypes were left intact since they will be changed in the future). Verified with: md5(1)
* Extend the "vfsopt" mount options for more general use. Make structjamie2009-03-026-90/+202
| | | | | | | | | | | | | | | | vfsopt and the vfs_buildopts function public, and add some new fields to struct vfsopt (pos and seen), and new functions vfs_getopt_pos and vfs_opterror. Further extend the interface to allow reading options from the kernel in addition to sending them to the kernel, with vfs_setopt and related functions. While this allows the "name=value" option interface to be used for more than just FS mounts (planned use is for jails), it retains the current "vfsopt" name and <sys/mount.h> requirement. Approved by: bz (mentor)
* curr_time is a 64 bit variable so SYSCTL_LONG is not appropriateluigi2009-03-021-0/+2
| | | | | | | | as a handler. The variable was exported only for debugging, but there is little reason to do it now that the timekeeping is supported by various other variables. For the time being just comment out the sysctl, but I think this should go away.
* fw_debug has been unused for ages, so remove it from the listluigi2009-03-022-5/+1
| | | | | | | | | | of sysctl_variables. I would also remove it from the VNET record but I am unsure if there is any ABI issue -- so for the time being just mark it as unused in ip_fw.h, and then we will collect the garbage at some appropriate time in the future. MFC after: 3 days
OpenPOWER on IntegriCloud