ėK194954 46 172 563 123 170 316 161 184 1663 269 366 169 173 294 165 344 203 114 445 109 261 168 257 191 333 188 222 257 172 191 193 170 1046 407 357 165 371 368 122 116 304 452 502 169 274 169 146 K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-25T12:34:44.083310Z K 7 svn:log V 76 Don't send multiple commands. Sending the ZTE switch command is sufficient. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-25T12:46:59.877546Z K 7 svn:log V 468 Add NFSv4 ACL support to libc. This adds the following functions to the acl(3) API: acl_add_flag_np, acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np, acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np, acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np, acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin does. There are no backward-incompatible changes. Approved by: rwatson@ END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-25T12:53:50.858925Z K 7 svn:log V 29 Bump manual page timestamps. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-25T13:08:02.925810Z K 7 svn:log V 76 Fix c194955 - somehow I managed all the new files, tripling their contents. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-25T13:15:20.814129Z K 7 svn:log V 219 - Make pprint print through fd 3, so it can be used in customisation functions to print something to the screen. - Prefix each line with the running time (bikeshed). Submitted by: Rick van der Zwet (Wireless Leiden) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T13:36:57.822839Z K 7 svn:log V 69 Tweak the oshmctl() compile fix: convert the K&R definition to ANSI. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T14:15:45.974227Z K 7 svn:log V 88 Ensure that we always hold the lock when calling vblank_disable_fn() MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-06-25T14:41:42.961526Z K 7 svn:log V 1564 Major rototill in preparation for merging to 8. This is a checkpoint commit that has only been compile tested on AMD64 so far. Summary of changes as follows: - Split cc.h into cc.h and cc_module.h, to separate out KPI module plumbing (cc_module.h) from generic CC related code (cc.h). Only CC modules should include cc_module.h. - Implement new DECLARE_CC_MODULE() macro, modelled on similar MAC/VFS code, to hide most of the machinery of creating a CC kernel module. A CC module author can now simply put "DECLARE_CC_MODULE(, &_cc_algo);" (replacing as appropriate) at the bottom of their algo's .c file and have the framework handle most of the heavy lifting. - Add new mod_init/mod_destroy function ptrs to struct cc_algo. This provides standardised hook functions for the framework to init/cleanup global CC module state on kldload/kldunload. - Rename init/deinit function ptrs to conn_init/conn_destroy for consistency with the above change and to distinguish per connection init/cleanup from global module init/cleanup. - Remove the global "cc_algorithm" string which was used to hold the name of the systemm default CC algorithm. Since switching to having the default algorithm always be at the head of the cc_list TAILQ, use of this string is redundant. - Catch up with vimage changes that require inclusion of in addition to . - Simplify logic in the sysctl handlers. - Lots of minor cleanup work. - Update existing CC modules as required to work with new world order. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-25T14:44:00.625837Z K 7 svn:log V 172 Initialize in_ifaddr_lock using RW_SYSINIT() instead of in ip_init(), so that it doesn't run multiple times if VIMAGE is being used. Discussed with: bz MFC after: 6 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T15:30:25.292203Z K 7 svn:log V 269 Additional vblank cleanups. Use the vbl_lock when maniputlating the refcount. Eventually I want to convert this to use our internal refcount code. Continue to use atomic ops for manipulating vblank count since we access it often just for reading. MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-06-25T15:34:17.930587Z K 7 svn:log V 77 MFC 194366, 194447: Fix column width of weekday names for multibyte locales. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T15:36:11.415356Z K 7 svn:log V 77 Fix one use of atomic for refcount missed in last commit. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T15:47:32.703291Z K 7 svn:log V 197 Keep track of the hardware counter more aggressively while interrupts are enabled. This should help to reduce cases where the hardware counter reference jumps by large amounts. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T16:10:04.722434Z K 7 svn:log V 73 MFC: Fix a deadlock in the getpeername() method for UNIX domain sockets. END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-25T16:15:39.619433Z K 7 svn:log V 249 Support shadow.byname and shadow.byuid maps, protecting them by insisting on privileged port access. Include /var/yp/Makefile.local if it exists and suggest using it to override /var/yp/Makefile behaviour. Approved by: re (kib) MFC after: 3 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T16:17:07.672255Z K 7 svn:log V 106 Initialize max_vblank_count earlier. Small cleanup of the error paths while I'm here. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-25T16:34:29.961559Z K 7 svn:log V 20 Manual page tweaks. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-25T16:35:28.362520Z K 7 svn:log V 348 Add address list locking for in6_ifaddrhead/ia_link: as with locking for in_ifaddrhead, we stick with an rwlock for the time being, which we will revisit in the future with a possible move to rmlocks. Some pieces of code require significant further reworking to be safe from all classes of writer-writer races. Reviewed by: bz MFC after: 6 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-25T16:36:57.993595Z K 7 svn:log V 15 Tweak comment. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-25T16:38:16.353035Z K 7 svn:log V 165 Don't use the preprocessor while inside function-like macro invocations as doing so violates the C specification. This fixes the build with Clang. Submitted by: ed END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-25T16:48:13.464490Z K 7 svn:log V 71 Fix the build by using proper format. Pointy hat: me Approved by: kib END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-25T17:10:51.081716Z K 7 svn:log V 161 Improve IFS expansion using code from NetBSD. We now pass the ifs.sh testsuite. PR: standards/79067 Approved by: ed (mentor) (implicit) Obtained from: NetBSD END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T17:11:27.599559Z K 7 svn:log V 99 Use the correct cast for the arguments passed to freebsd_shmctl() in oshmctl(). Submitted by: kib END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-25T17:14:06.633321Z K 7 svn:log V 237 Fix some weirdnesses in the NetBSD IFS code, in particular "$@"$ifschar if the final positional parameter is empty. With the NetBSD code, adding the $ifschar removes a parameter. PR: standards/79067 Approved by: ed (mentor) (implicit) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-25T17:16:26.894359Z K 7 svn:log V 96 Change intr_bind to bus_bind_intr, thanks to John Baldwin for pointing out this simplification. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-25T17:21:12.637269Z K 7 svn:log V 129 Change intr_bind to bus_bind_intr, also limit this to multiqueue setup which is not the shipping default for igb (its set to 1). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-25T17:24:36.679421Z K 7 svn:log V 160 Rename man4/if_bridge.4 to man4/bridge.4 in order to be consistent with other peueso interfaces. The .Nm name hasnt been changed and all xrefs are still valid. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-25T17:36:08.771677Z K 7 svn:log V 77 Add some tests for r194975 and r194977. Approved by: ed (mentor) (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T17:46:52.606680Z K 7 svn:log V 99 Remove COMPAT_FREEBSD5 from sun4v. There are no FreeBSD/sun4v 5.x binaries to be compatible with. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-25T18:07:19.005955Z K 7 svn:log V 100 temporarily disable optional uarts; apparently we hang when probing them (and they are not present) END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-25T18:09:23.063105Z K 7 svn:log V 78 Make ata-{dma,sata}.c dependent on atacore build option. Discussed with: mav END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T18:13:46.383035Z K 7 svn:log V 953 - Restore the behavior of pre-allocating IDT vectors for MSI interrupts. This is mostly important for the multiple MSI message case where the IDT vectors for the entire group need to be allocated together. This also restores the assumptions made by the PCI bus code that it could invoke PCIB_MAP_MSI() once MSI vectors were allocated. - To avoid whiplash with CPU assignments, change the way that CPUs are assigned to interrupt sources on activation. Instead of assigning the CPU via pic_assign_cpu() before calling enable_intr(), allow the different interrupt source drivers to ask the MD interrupt code which CPU to use when they allocate an IDT vector. I/O APIC interrupt pins do this in their pic_enable_intr() routines giving the same behavior as before. MSI sources do it when the IDT vectors are allocated during msi_alloc() and msix_alloc(). - Change the intr_table_lock from an sx lock to a mutex. Tested by: rnoland END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T18:27:08.382846Z K 7 svn:log V 310 Some more cleanups for vblank code on Intel. The Intel 2d driver calls modeset before reinstalling the handler on a vt switch. This means that vblank status ends up getting cleared after it has been setup. Restore saved values for the pipestat registers rather than just wiping them out. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T18:35:19.681167Z K 7 svn:log V 264 Return errors from intr_event_bind() to the caller of intr_set_affinity(). Specifically, if a non-root user attempts to bind an interrupt the request will now report failure with EPERM rather than silently failing with a successful return code. MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-06-25T18:40:27.656285Z K 7 svn:log V 73 Decided to limit the interrupt bind to multiqueue config as done in igb. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-25T18:44:05.194793Z K 7 svn:log V 278 Remove the d_spare2_t typedef. The d_spare2 field was replaced by d_mmap_single(). I considered adding a new round of padding for 8.0. However, since cdevsw already maintains a version field, new versions can be handled without requiring the need for explicit padding fields. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-25T18:46:30.160053Z K 7 svn:log V 275 Change the type of uio_resid member of struct uio from int to ssize_t. Note that this does not actually enable full-range i/o requests for 64 architectures, and is done now to update KBI only. Tested by: pho Reviewed by: jhb, bde (as part of the review of the bigger patch) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-25T18:50:46.185660Z K 7 svn:log V 28 Vendor import of BIND 9.6.1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-25T18:51:35.010378Z K 7 svn:log V 22 Tag the 9.6.1 release END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-25T18:54:56.624847Z K 7 svn:log V 211 In lf_iteratelocks_vnode, increment state->ls_threads around iterating of the vnode advisory lock list. This prevents deallocation of state while inside the loop. Reported and tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-25T19:06:08.507589Z K 7 svn:log V 359 Complete HAL_RX_FILTER_BSSID support: o add HAL_CAP_BSSIDMATCH to identify parts that have the support for disabling bssid match o honor capability for set/get rx filter o use HAL_CAP_BSSIDMATCH in driver to decide whether to use the bssid match disable or fall back to promisc mode (still need to investigate whether we can use the bssid mask instead) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-25T19:16:29.308823Z K 7 svn:log V 407 Update to the final release version of BIND 9.6.1. It has the following changes from the 9.6.1rc1 version. The first 2 only affect DNSSEC. named could incorrectly delete NSEC3 records for empty nodes when processing a update request. Accept DS responses from delegation only zones. "delegation-only" was not being accepted in delegation-only type zones. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-25T19:23:25.159403Z K 7 svn:log V 73 We shouldn't need to drop and reaquire the lock here. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-25T19:26:23.148017Z K 7 svn:log V 182 Remove COMPAT_43 from sun4v's GENERIC. I think it's very unlikely that we have binaries for sun4v that use features provided by COMPAT_43. Remove it from GENERIC. Approved by: kib END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-25T19:38:14.072890Z K 7 svn:log V 74 Enable commented out verify length. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-25T19:39:16.668588Z K 7 svn:log V 54 Fix typos. Repeat after me: test first, then commit. END