summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* LibUSB v1.0:alfred2009-07-309-1531/+1356
| | | | | | | | | - Significantly improve libusb10 support. - Many minor issues fixed. - P4 ID: 166189, 165853, 165991, 166052, 166069 Submitted by: hps Approved by: re
* Fix XEN build breakage, by implementing pmap_invalidate_cache_range()kib2009-07-291-16/+88
| | | | | | | and using it when appropriate. Merge analogue of the r195836 optimization to XEN. Approved by: re (kensmith)
* Parse the System Resource Affinity Table ('SRAT') used to describe affinityjhb2009-07-292-8/+148
| | | | | | | | relationships between CPUs and memory. Reviewed by: jkim Approved by: re (kib) MFC after: 1 week
* Don't allow mixing the "vnet" and "ip4/6" jail parameters, since vnetjamie2009-07-291-11/+98
| | | | | | | | jails have their own IP stack and don't have access to the parent IP addresses anyway. Note that a virtual network stack forms a break between prisons with regard to the list of allowed IP addresses. Approved by: re (kib), bz (mentor)
* Change the default value of the "ip4" and "ip6" jail parameters tojamie2009-07-291-27/+7
| | | | | | | | | "disable", which only allows access to the parent/physical system's IP addresses when specifically directed. Change the default value of "host" to "new", and don't copy the parent host values, to insulate jails from the parent hostname et al. Approved by: re (kib), bz (mentor)
* Fix the experimental nfs client so that it only calls ncl_vinvalbuf()rmacklem2009-07-291-5/+11
| | | | | | | | | for NFSv2 and not NFSv4 when nfscl_mustflush() returns 0. Since nfscl_mustflush() only returns 0 when there is a valid write delegation issued to the client, it only affects the case of an NFSv4 mount with callbacks/delegations enabled. Approved by: re (kensmith), kib (mentor)
* Delete the descriptions of the gssname and allgssname optionss fromrmacklem2009-07-291-42/+1
| | | | | | | mount_nfs.8 since these options are not implemented in FreeBSD8. This is content change for the man page. Approved by: re (kensmith), kib (mentor)
* Update less to v436. This is considered as a bugfix release from vendor.delphij2009-07-2971-1035/+1133
|\ | | | | | | | | | | | | | | | | | | Major changes from v429: * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-". * Allow a fraction as the argument to the -# (--shift) option. * Fix highlight bug when underlined/overstruck text matches at end of line. * Fix non-regex searches with ctrl-R. Approved by: re (kensmith, kib)
| * Vendor import of less v436.delphij2009-07-2770-1031/+1127
| |
| * Vendor import of less v429delphij2009-05-0863-3531/+4918
| |
| * Flatten all tags of the dist tree of less.delphij2009-05-0878-0/+0
| |
* | As was done in r195820 for amd64, use clflush for flushing cache lineskib2009-07-297-21/+143
| | | | | | | | | | | | | | | | | | | | | | | | when memory page caching attributes changed, and CPU does not support self-snoop, but implemented clflush, for i386. Take care of possible mappings of the page by sf buffer by utilizing the mapping for clflush, otherwise map the page transiently. Amd64 used direct map. Proposed and reviewed by: alc Approved by: re (kensmith)
* | Eliminate ARG_UPATH[12] arguments to AUDIT_ARG_UPATH() and insteadrwatson2009-07-295-92/+92
| | | | | | | | | | | | | | | | | | | | | | | | provide specific macros, AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() to capture path information for audit records. This allows us to move the definitions of ARG_* out of the public audit header file, as they are an implementation detail of our current kernel-internal audit record, which may change. Approved by: re (kensmith) Obtained from: TrustedBSD Project MFC after: 1 month
* | Currently there is a problem with fscking UFS file systems created onpjd2009-07-295-27/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | top of ZVOLs. The problem is that rc.d/fsck runs before rc.d/zfs. The latter makes ZVOLs to appear in /dev/. In such case rc.d/fsck cannot find devfs entry and aborts. We cannot simply move rc.d/zfs before rc.d/fsck, because we first want kern.hostid to be configured (by rc.d/hostid). If we won't wait (hostid will be 0) we can reuse disks which are in use by different systems (eg. in SAN/NAS environment). We also cannot move rc.d/hostid before rc.d/fsck, because rc.d/hostid on first system start stores generated kern.hostuuid in /etc/hostid file, so it needs root file system to be mounted read-write. The fix is to split rc.d/hostid so that rc.d/hostid (which will now run before rc.d/fsck) only generates hostid and sets up sysctls, but doesn't touch root file system and rc.d/hostid_save (which is run after rc.d/root) and only creates /etc/hostid file. With that in place, we can move ZVOL initialization to dedicated rc.d/zvol script which runs before rc.d/fsck. PR: conf/120194 Reported by: James Snow <snow@teardrop.org> Reviewed by: brooks Approved by: re (kib) MFC after: 2 weeks
* | Update to version 9.6.1-P1 which addresses a remote DoS vulnerability:dougb2009-07-293-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Receipt of a specially-crafted dynamic update message may cause BIND 9 servers to exit. This vulnerability affects all servers -- it is not limited to those that are configured to allow dynamic updates. Access controls will not provide an effective workaround. More details can be found here: https://www.isc.org/node/474 All BIND users are encouraged to update to a patched version ASAP. Approved by: re (re -> SO -> dougb)
* | Revise header comments for vnet.h as we now implement VNET_SYSINIT, notrwatson2009-07-281-4/+8
| | | | | | | | | | | | just VNET_DEFINE in vnet.h. Approved by: re (vimage blanket)
* | Rework vnode argument auditing to follow the same structure, in orderrwatson2009-07-286-47/+63
| | | | | | | | | | | | | | | | | | | | to avoid exposing ARG_ macros/flag values outside of the audit code in order to name which one of two possible vnodes will be audited for a system call. Approved by: re (kib) Obtained from: TrustedBSD Project MFC after: 1 month
* | Audit file descriptors passed to fooat(2) system calls, which are usedrwatson2009-07-287-84/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of the root/current working directory as the starting point for lookups. Up to two such descriptors can be audited. Add audit record BSM encoding for fooat(2). Note: due to an error in the OpenBSM 1.1p1 configuration file, a further change is required to that file in order to fix openat(2) auditing. Approved by: re (kib) Reviewed by: rdivacky (fooat(2) portions) Obtained from: TrustedBSD Project MFC after: 1 month
* | Startup the vnet part of initialization a bit after the global part.julian2009-07-281-2/+2
| | | | | | | | | | | | | | | | Fixes crash on boot if ipfw compiled in. Submitted by: tegge@ Reviewed by: tegge@ Approved by: re (kib)
* | Somewhere along the line accept sockets stopped honoring thejulian2009-07-283-4/+4
| | | | | | | | | | | | | | | | FIB selected for them. Fix this. Reviewed by: ambrisko Approved by: re (kib) MFC after: 3 days
* | The new flow table caches both the routing table entry as well as theqingli2009-07-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | L2 information. For an indirect route the cached L2 entry contains the MAC address of the gateway. Typically the default route is used to transmit multicast packets when explicit multicast routes are not available. The ether_output() function bypasses L2 resolution function if it verifies the L2 cache is valid, because the cached L2 address (a unicast MAC address) is copied into the packets as the destination MAC address. This validation, however, does not apply to broadcast and multicast packets because the destination MAC address is mapped according to a standard method instead. Submitted by: Xin Li Reviewed by: bz Approved by: re
* | Fix a bug where wrong initialization valuetuexen2009-07-282-4/+4
| | | | | | | | | | | | | | in used for an SCTP specific sysctl variable. Approved by: re, rrs(mentor). MFC after: 2 weeks.
* | Turns out that when a receiver forwards through its TNS's therrs2009-07-284-22/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processing code holds the read lock (when processing a FWD-TSN for pr-sctp). If it finds stranded data that can be given to the application, it calls sctp_add_to_readq(). The readq function also grabs this lock. So if INVAR is on we get a double recurse on a non-recursive lock and panic. This fix will change it so that readq() function gets a flag to tell if the lock is held, if so then it does not get the lock. Approved by: re@freebsd.org (Kostik Belousov) MFC after: 1 week
* | Add INDEX-8 to the default portsnap configuration file, and remove INDEX-5.cperciva2009-07-271-1/+1
| | | | | | | | | | | | | | | | | | The Portsnap buildbox now generates teh bits needed for portsnap to produce INDEX-8; and it hasn't built INDEX-5 for a long time, although the bits are still distributed for an INDEX-5 from when FreeBSD 5.x reached its EoL. Approved by: re (kib) MFC after: 3 days (INDEX-8 addition only)
* | adds DLINK2 DWA120 device.weongyo2009-07-272-0/+3
| | | | | | | | | | | | PR: usb/136950 Reported by: Alexander Kuznetsov <skritku at gmail.com> Approved by: re (kib)
* | urtw(4) supports RTL8187B chipset now.weongyo2009-07-271-4/+4
| | | | | | | | Approved by: re (kib)
* | This patch does the following:qingli2009-07-274-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow loopback route to be installed for address assigned to interface of IFF_POINTOPOINT type. - Install loopback route for an IPv4 interface addreess when the "useloopback" sysctl variable is enabled. Similarly, install loopback route for an IPv6 interface address when the sysctl variable "nd6_useloopback" is enabled. Deleting loopback routes for interface addresses is unconditional in case these sysctl variables were disabled after an interface address has been assigned. Reviewed by: bz Approved by: re
* | Fix the freebsd32 versions of semsys(), shmsys(), and msgsys() to use thejhb2009-07-271-6/+6
| | | | | | | | | | | | | | old ABI versions of the relevant control system call (e.g. freebsd7_freebsd32_msgctl() instead of freebsd32_msgctl() for msgsys()). Approved by: re (kib)
* | We don't support ephemeral IDs in FreeBSD and without this fix ZFS canpjd2009-07-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | panic when in zfs_fuid_create_cred() when userid is negative. It is converted to unsigned value which makes IS_EPHEMERAL() macro to incorrectly report that this is ephemeral ID. The most reasonable solution for now is to always report that the given ID is not ephemeral. PR: kern/132337 Submitted by: Matthew West <freebsd@r.zeeb.org> Tested by: Thomas Backman <serenity@exscape.org>, Michael Reifenberger <mike@reifenberger.com> Approved by: re (kib) MFC after: 2 weeks
* | Mesh fixes, namely:rpaulo2009-07-275-91/+155
| | | | | | | | | | | | | | | | | | | | | | | | * don't clobber proxy entries * HWMP seq number processing, including discard of old frames * flush routing table entries based on nexthop * print route flags in ifconfig * more debugging messages and comments Proxy changes submitted by sam. Approved by: re (kib)
* | Refine the MacBook hack to only match early models that have Intel ICH.rpaulo2009-07-272-2/+8
| | | | | | | | | | Discussed with: kjim Approved by: re (kib)
* | Fix the handling of unordered messages when usingtuexen2009-07-271-1/+7
| | | | | | | | | | | | | | PR-SCTP. Approved by: re, rrs (mentor) MFC after: 3 weeks.
* | * Document the dev.asmc.N.light.control sysctl. [1]rpaulo2009-07-271-10/+17
| | | | | | | | | | | | | | | | * Add more models that have the SMC. PR: 137168 [1] Submitted by: Patrick Lamaiziere <patfbsd at davenulle.org> Approved by: re (kib)
* | Get rid of unused field. This will also be deletedtuexen2009-07-271-1/+0
| | | | | | | | | | | | in the official speciication of the SCTP socket API. Approved by:re, rrs (mentor)
* | Note that COMPAT_43 requires COMPAT_FREEBSD7 too.kib2009-07-261-3/+3
| | | | | | | | | | Submitted by: Steve Kargl Approved by: re (kensmith)
* | The parser for Rockridge symlinks tended to insertkientzle2009-07-261-8/+8
| | | | | | | | | | | | | | | | extra slashes at the beginning of absolute targets. Thanks to Jung-uk Kim for pointing this out to me. Approved by: re (kib)
* | Add a missing unlock for the inp lock whentuexen2009-07-261-0/+1
| | | | | | | | | | | | | | returning early from sctp_add_to_readq(). Approved by: re, rrs (mentor) MFC after: 2 weeks.
* | Restore PATA device probe order, broken by PMP support implementation,mav2009-07-261-1/+17
| | | | | | | | | | | | | | | | requesting IDENTIFY from slave device first. This order is important for proper cable type detection by master device. PR: kern/136438 Approved by: re (kib)
* | Update epair(4) to the new netisr implementation and polishbz2009-07-2611-112/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things a bit: - use dpcpu data to track the ifps with packets queued up, - per-cpu locking and driver flags - along with .nh_drainedcpu and NETISR_POLICY_CPU. - Put the mbufs in flight reference count, preventing interfaces from going away, under INVARIANTS as this is a general problem of the stack and should be solved in if.c/netisr but still good to verify the internal queuing logic. - Permit changing the MTU to virtually everythinkg like we do for loopback. Hook epair(4) up to the build. Approved by: re (kib)
* | Make the in-kernel logic for the SIOCSIFVNET, SIOCSIFRVNET ioctlsbz2009-07-263-58/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ifconfig ifN (-)vnet <jname|jid>) work correctly. Move vi_if_move to if.c and split it up into two functions(*), one for each ioctl. In the reclaim case, correctly set the vnet before calling if_vmove. Instead of silently allowing a move of an interface from the current vnet to the current vnet, return an error. (*) There is some duplicate interface name checking before actually moving the interface between network stacks without locking and thus race prone. Ideally if_vmove will correctly and automagically handle these in the future. Suggested by: rwatson (*) Approved by: re (kib)
* | Make ifconfig ifN -vnet <jname|jid> actually work:bz2009-07-261-7/+20
| | | | | | | | | | | | | | | | | | | | - fix ifconfig to ignore the non-existent interface in the current network stack in case of '-vnet'. - in ifconfig: actually use the local variables defined for the vnet functions rather than modifying the global. Reviewed by: rwatson Approved by: re (kib)
* | Eliminate a stale paragraph from the BUGS section. This "bug" wasalc2009-07-261-8/+1
| | | | | | | | | | | | eliminated in r195693. Approved by: re (kensmith)
* | Fix syntax error, makefile comments start with #.kib2009-07-251-1/+1
| | | | | | | | | | Submitted by: bde Approved by: re (kensmith)
* | Add note, that ahci(4) and siis(4) supersede ata(4) drivers.mav2009-07-251-0/+3
| | | | | | | | Approved by: re (implicitly)
* | PMP provides 16 targets (15 drives + itself).mav2009-07-251-1/+1
| | | | | | | | Approved by: re (implicitly)
* | Libarchive recognizes hardlinked files on ISO images,kientzle2009-07-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | but returned them incorrectly, causing tar to actually erase the resulting file while trying to restore the link. This one-line fix corrects the hardlink descriptions to avoid this problem. Thanks to Jung-uk Kim for pointing this out. Approved by: re (kib)
* | Add ahci and siis drivers to NOTES.mav2009-07-251-0/+9
| | | | | | | | Approved by: re (implicitly)
* | Some jail parameters (in particular, "ip4" and "ip6" for IP addressjamie2009-07-257-165/+277
| | | | | | | | | | | | | | | | | | restrictions) were found to be inadequately described by a boolean. Define a new parameter type with three values (disable, new, inherit) to handle these and future cases. Approved by: re (kib), bz (mentor) Discussed with: rwatson
* | Change the name displayed in sysinstall(8) from 'Wizard Mode'trasz2009-07-253-4/+4
| | | | | | | | | | | | | | to 'Expert Mode', to make it less confusing to new users, to whom a 'wizard' is a set of simple dialogs with the 'next >>>' button. Approved by: re (kensmith)
* | Catch ipfw up to the rest of the vimage code.julian2009-07-251-109/+163
| | | | | | | | | | | | It got left behind when it moved to its new location. Approved by: re (kensmith)
OpenPOWER on IntegriCloud