ƒ·$223000 152 296 165 422 456 1499 365 284 190 286 254 383 155 160 180 110 180 111 158 265 166 245 117 117 144 540 156 158 196 527 172 112 331 204 181 99 327 491 217 218 1264 144 212 231 145 179 242 140 172 410 639 429 149 240 99 394 280 340 552 215 1609 347 745 455 120 189 117 236 146 171 231 197 135 133 452 288 620 269 138 356 125 681 4058 437 138 500 896 308 976 311 2628 152 340 254 254 191 559 214 244 223 486 237 347 251 224 176 240 99 188 137 320 385 112 833 595 329 181 274 187 152 764 216 346 523 380 1572 123 418 224 1111 248 207 201 501 202 1130 160 227 214 166 175 99 200 194 141 484 222 99 116 853 420 126 234 K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T22:23:25.228480Z K 7 svn:log V 200 The (memory) stack is always 16-byte aligned and the locals start right from the stack pointer (which translate to -8 I belief). This file was copied from MSP430 without being tweaked to match ia64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-12T00:14:57.205805Z K 7 svn:log V 65 Add an MBR to our release media to aid booting some IBM systems. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-12T01:48:31.142804Z K 7 svn:log V 324 MFC: r222464 Add a check for MNTK_UNMOUNTF at the beginning of nfs_sync() in the old NFS client so that a forced dismount doesn't get stuck in the VFS_SYNC() call that happens before VFS_UNMOUNT() in dounmount(). Analagous to r222329 for the new NFS client. An additional change is needed before forced dismounts will work. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-12T02:05:59.231241Z K 7 svn:log V 358 MFC: r222466 Modify the umount(8) command so that it doesn't do a sync(2) syscall before unmount(2) for the "-f" case. This avoids a forced dismount from getting stuck for an NFS mountpoint in sync() when the server is not responsive. With this commit, forced dismounts should normally work for the NFS clients, but can take up to about 1minute to complete. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-12T09:18:48.182727Z K 7 svn:log V 1402 Add code to flush the software queues whenever the interface is reset. * Add functionality to flush all software-queued packets for a TID. * Add a function to drain all software queued packets for the given node * Add a function that drains all software queued packets for the given interface - so, all nodes for all vaps. This is needed because now that packets are on the sw q as well as hw q, an interface reset, channel change, etc can result in software queued packets whose rate control bits now don't match what the channel is setup for. For example, during scan, the interface is in a non-ht40 mode and any ht/40 packets queued to it will end up annoying the baseband. ath_vap_delete() also deleted all entries from the hw and sw txq's; it's possible we could get away with only flushing entries for the given vap's sw tx queues. Maybe I'll do that later. Note: I've discovered no node locking is done, so the rate control code is likely still racy. Blah. Finally, I'm not sure if the ieee80211 common lock should be held when iterating like this over the nodes. It doesn't seem so - it isn't held at the moment. I'm still concerned about subtle race conditions with the TX path and other things such as scan and interface reset. I'll do some further digging later as it seems that breaking out the TX path into said software queue has made some racy stuff a little more .. obvious. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-12T10:13:48.230264Z K 7 svn:log V 269 sh: Read .profile from the home directory (or / if HOME is not set). In most cases, login shells are started from the home directory, but not in all, such as xterm -ls. This commit depends on r222957 for read_profile() performing parameter expansion. PR: bin/50569 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-12T10:14:35.096831Z K 7 svn:log V 188 * don't worry about logging the lack of comlock for now; I'll dig deeper soon * Don't hold the txq lock whilst freeing buffers; mirror what's done elsewhere when manipulating the txq. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-12T12:27:17.036997Z K 7 svn:log V 95 sh: Add test for case pattern matching with iso-8859-1 charset. This also passes on stable/8. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-12T12:44:02.576174Z K 7 svn:log V 191 - Fix -w behavior - Make -F and -w work together - Fix --color to colorize all of the matches PR: bin/156826 Submitted by: Yuri Pankov Approved by: delphij (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-12T12:51:58.070572Z K 7 svn:log V 159 - Use REG_NOSUB to bypass submatch counting when not necessary. This may yield in somewhat better performance in a few cases. Approved by: delphij (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-12T12:54:52.046034Z K 7 svn:log V 287 sh: Fix locale-dependent ranges in bracket expressions. When I added UTF-8 support in r221646, the LC_COLLATE-based ordering broke because of sign extension of char. Because of libc restrictions, this does not work for UTF-8. For UTF-8 locales, ranges always use character code order. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-12T12:55:46.649876Z K 7 svn:log V 60 sh: Add test for LC_COLLATE-based character ranges in case. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-12T15:19:38.576719Z K 7 svn:log V 60 I forgot what year it is, apparently. Submitted by: brucec END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-12T15:42:51.449580Z K 7 svn:log V 88 Vendor import of llvm trunk r132879: http://llvm.org/svn/llvm-project/llvm/trunk@132879 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-12T15:44:14.621065Z K 7 svn:log V 18 Tag llvm r132879. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-12T15:46:16.037131Z K 7 svn:log V 88 Vendor import of clang trunk r132879: http://llvm.org/svn/llvm-project/cfe/trunk@132879 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-12T15:46:57.302661Z K 7 svn:log V 19 Tag clang r132879. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-12T18:01:31.278253Z K 7 svn:log V 66 Upgrade our copy of llvm/clang to r132879, from upstream's trunk. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-06-12T18:46:48.411454Z K 7 svn:log V 167 Disable the soft updates journaling after a filesystem is successfully downgraded to read-only. It will be restarted if the filesystem is upgraded back to read-write. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-06-12T18:52:39.801409Z K 7 svn:log V 74 Do not report CFA devices as ATAPI, even though IDENTIFY data look alike. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-06-12T19:27:05.620436Z K 7 svn:log V 147 Update to soft updates journaling to properly track freed blocks that get claimed by snapshots. Submitted by: Jeff Roberson Tested by: Peter Holm END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-12T20:12:01.692499Z K 7 svn:log V 22 Sync with head@223020 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-12T20:19:17.881711Z K 7 svn:log V 22 Sync with head@223020 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-12T22:47:04.392215Z K 7 svn:log V 49 Fix build: Add newly introduced getLLVMRegNum(). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-12T23:06:04.759785Z K 7 svn:log V 444 sh: Save/restore changed variables in optimized command substitution. In optimized command substitution, save and restore any variables changed by expansions (${var=value} and $((var=assigned))), instead of trying to determine if an expansion may cause such changes. If $! is referenced in optimized command substitution, do not cause jobs to be remembered longer. This fixes $(jobs $!) again, simplifies the man page and shortens the code. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-12T23:09:00.983139Z K 7 svn:log V 64 Unbreak usr.sbin/makefs after r223020. Pointy hat to: mckusick END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-12T23:33:08.563896Z K 7 svn:log V 62 Use swap32() right. Submitted by: gcopper MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-12T23:45:46.849878Z K 7 svn:log V 100 Add the dag->dag instruction selector class, needed to lower LLVM instruction to IA64 instructions. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T00:55:29.193218Z K 7 svn:log V 431 Add new mutexes - one protecting the sc txqueue slist and one for ath_node Since ath_node now contains useful data that will be accessed concurrently, protect it with a mutex. Migrate the sc->sc_txnodeq out of ATH_LOCK and behind its own lock. Since the rate control logic uses state in ath_node (ie, "stuff" attached after it), add some mutexes to the rate control calls. It's likely the locking isn't completely correct yet. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-13T01:04:00.519524Z K 7 svn:log V 80 Apparently makefs needs a few more system headers to compile during buildworld. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T01:30:18.351762Z K 7 svn:log V 17 Fix another LOR. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T02:23:51.720478Z K 7 svn:log V 235 Fix another LOR, this time with the IEEE80211_NODE_LOCK() (node table lock.) free_pkts() would eventually free the last node reference, causing the node to be removed from the node table. This required the node table lock to be held. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T04:31:57.334886Z K 7 svn:log V 108 Fix ath_ahb(4) bus attach and eeprom error handling. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-13T04:40:47.630806Z K 7 svn:log V 86 o Build with "-O0 -g" by default. o Enable support for Graphviz to aid debugging. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-13T04:55:29.042717Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 avatar K 8 svn:date V 27 2011-06-13T05:22:07.135141Z K 7 svn:log V 231 Using statfs.f_fstypename rather than statfs.f_type whilst performing fstype comparsion as nullfs will copy f_type from underlayer FS. PR: bin/156258 Submitted by: Marcin Wisnicki MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T05:34:08.521649Z K 7 svn:log V 395 Expose the default ampdu TX methods for use by ath(4). The (current) aim is to leverage the existing per-TID AMPDU TX handling (negotiation, BAR/BAW tracking and handling, etc) and to simply handle the packet TX, BA response handling and retransmission in the ath(4) driver. The timeout call also should be turned into a callback so the ath(4) code can trap it and remove the TID queue pause. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2011-06-13T06:32:56.920972Z K 7 svn:log V 120 MFC r222802: Use p4prio_to_tsprio to calculate TS priority instead of using p4prio_to_rtpprio which is for RT priority. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T06:38:01.365396Z K 7 svn:log V 122 Temporary hack - this way I can store the ieee80211_debug #define in opt_ah.h . This shouldn't be merged back into -HEAD. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T06:42:25.924155Z K 7 svn:log V 1167 Begin fleshing out the AMPDU pending/running logic. If AMPDU-TX negotiation is pending, packets for that given TID should not be transmitted but instead should be queued. Once the AMPDU-TX request/response has occured, packets should be dequeued. This is so that the initial negotiated BA start stays valid (hopefully!) until the end of the request/response exchange. The transmitter must not queue packets with incrementing seqnum's until that ADDBA exchange has completed. Once AMPDU-TX is established, it then doesn't matter if they're sent aggregated or not - any seqnum being sent updates the BAW. If this isn't done, then the sender may TX a packet (say an ARP request) between the BA request and BA response. Thus the BA window start negotiated as part of the ADDBA exchange doesn't match the seqnum of the first packet received after the ADDBA exchange (as the packet in-between has helpfully updated it for you), and you end up with a BA window that doesn't match. This isn't currently important as ampdu TX is still non-functional (the ath(4) driver doesn't add sequence numbers and doesn't update the BA window); this is just in prepration for that. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T06:42:44.519083Z K 7 svn:log V 49 Cheat - set IEEE80211_DEBUG in opt_ah.h for now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T11:30:22.181736Z K 7 svn:log V 116 After being poked by bschmidt, don't go grovelling through net80211, instead just store the callbacks and use them. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T12:13:47.861942Z K 7 svn:log V 135 In prepration for breaking out the TX descriptor completion handling, begin breaking out some of the processing into helper functions. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T12:23:45.525002Z K 7 svn:log V 50 Fix broken-ness introduced in my previous commit. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-13T12:45:19.898464Z K 7 svn:log V 84 - Merge r222980 from x86: add sound(4) and common device drivers. - Fix whitespace. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T13:21:12.077544Z K 7 svn:log V 146 Reduce some duplicated code from ath_tx_processq() and the couple other places which unmap, free and call completion handlers for mbufs/ath_bufs. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-06-13T13:24:33.112957Z K 7 svn:log V 47 - Reduce diffs against i386. - Add snd_uaudio. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-13T13:28:31.388426Z K 7 svn:log V 76 Remove pc_cpumask and pc_other_cpus usage from MI code. Tested by: pluknet END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-13T13:40:12.186662Z K 7 svn:log V 314 Break out some more of the common TX completion handling code. Introduce a ath_buf completion handler. This will be set by the aggregation code to signal that it wants the buffer for further processing rather than simply free'ing it. It'll use this opportunity to check the BA if applicable, handle retries, etc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-13T15:38:31.270034Z K 7 svn:log V 546 Advance the advertised window (rcv_adv) to the currently received data (rcv_nxt) if we advertising a zero window. This can be true when ACK'ing a window probe whose one byte payload was accepted rather than dropped because the socket's receive buffer was not completely full, but the remaining space was smaller than the window scale. This ensures that window probe ACKs satisfy the assumption made in r221346 and closes a window where rcv_nxt could be greater than rcv_adv. Tested by: trasz, pho, trociny Reviewed by: silby MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-06-13T15:53:56.219396Z K 7 svn:log V 337 MFC r219925: Recognize "ro", "rdonly", "norw", "rw" and "noro" as equal options in vfs_equalopts(). This allows vfs_sanitizeopts() to filter redundant occurrences of these options. It was possible that for example both "ro" and "rw" options became active concurrently. PR: kern/133614 MFC r220040: Fix some style issues in r219925. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-06-13T15:59:21.258926Z K 7 svn:log V 58 MFC r221390: Don't pass empty mount options to nmount(2). END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-06-13T16:05:41.530867Z K 7 svn:log V 147 Use alternative, less messy solution to avoid breakage after r223020: put the snapdata structure between #ifdef _KERNEL guards. Suggested by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-13T18:27:09.074480Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-06-13T19:33:13.019090Z K 7 svn:log V 301 MFC r222586: Fix an infinite loop in vm_object_page_clean() when the filesystem returns permanent errors for some page writes. To accomodate the stable/8 locking requirements, vm page queue lock is taken around the loop in vnode_pager_undirty_pages() which modifies m->dirty field. Reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-06-13T19:40:09.106955Z K 7 svn:log V 187 Cherry-pick a single bit from r222958. Do not pass '3' as the sleepflag to bufobj_wwait() in the ffs_syncvnode(). It only mangles the priority argument of msleep(). Discussed with: jeff END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-06-13T19:45:01.641719Z K 7 svn:log V 242 Convert the allowed characters '-', '.', and ':' in a ZFS pool name to _ to avoid causing errors in the shell script. Submitted by: William Grzybowski Approved by: kib (mentor) MFC after: 7 days Sponsored by: iXsystems END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-13T20:11:28.481502Z K 7 svn:log V 460 Add a new option -P to suppress getservbyport(3) calls when printing rules. This allows one to force consistent printing of numeric port numbers like we do with -n for other tools like netstat (just that -n was already taken) rather than the service names. -P is currently unused in OpenBSD so the change is eligible for upstreaming. PR: misc/151015 Submitted by: Matt Koivisto (mkoivisto sandvine.com) Sponsored by: Sandvine Incorporated MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-06-13T20:34:12.044642Z K 7 svn:log V 122 Add bunch of Conexant codec IDs. For some of them add quirks to disable excessive signal paths to simplify tracer's life. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-13T20:36:29.857117Z K 7 svn:log V 1513 Several enhancements to the Xen block back driver. sys/dev/xen/blkback/blkback.c: o Implement front-end request coalescing. This greatly improves the performance of front-end clients that are unaware of the dynamic request-size/number of requests negotiation available in the FreeBSD backend driver. This required a large restructuring in how this driver records in-flight transactions and how those transactions are mapped into kernel KVA. For example, the driver now includes a mini "KVA manager" that allocates ranges of contiguous KVA to patches of requests that are physically contiguous in the backing store so that a single bio or UIO segment can be used to represent the I/O. o Refuse to open any backend files or devices if the system has yet to mount root. This avoids a panic. o Properly handle "onlined" devices. An "onlined" backend device stays attached to its backing store across front-end disconnections. This feature is intended to reduce latency when a front-end does a hand-off to another driver (e.g. PV aware bootloader to OS kernel) or during a VM reboot. o Harden the driver against a pathological/buggy front-end by carefully vetting front-end XenStore data such as the front-end state. o Add sysctls that report the negotiated number of segments per-request and the number of requests that can be concurrently in flight. Submitted by: kdm Reviewed by: gibbs Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-13T21:03:27.242934Z K 7 svn:log V 251 sh: Fix duplicate prototypes for builtins. Have mkbuiltins write the prototypes for the *cmd functions to builtins.h instead of builtins.c and include builtins.h in more .c files instead of duplicating prototypes for *cmd functions in other headers. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-13T21:21:02.545358Z K 7 svn:log V 650 Fix a couple of race conditions in devstat(9) initialization. In devstat_new_entry(), there is no need to initialize the queue and the mutex in this function. There are ways to do static initialization on both, so use STAILQ_HEAD_INITIALIZER and MTX_SYSINIT to initialize the queue and the mutex. In devstat_alloc(), use an atomic test and set routine to guard making our entry in /dev. Using just a plain static variable creates a race condition on multiprocessor machines. If you attempt to create a second entry in devfs, the kernel will panic. Submitted by: kdm Reviewed by: gibbs Sponsored by: Spectra Logic Corporation MFC after: 1 week. END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-06-13T22:08:24.198245Z K 7 svn:log V 362 Instead of using an atomic operation to determine whether the devstat(9) device node has been created, pass MAKEDEV_CHECKNAME in so that the devfs code will do the check. Use a regular static variable as before, that's good enough to keep us from calling into devfs most of the time. Suggested by: kib MFC after: 1 week Sponsored by: Spectra Logic Corporation END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T03:55:17.932437Z K 7 svn:log V 23 Import sendmail 8.14.5 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T03:59:08.527238Z K 7 svn:log V 92 Import errata patch as published at http://www.sendmail.com/sm/open_source/download/8.14.5/ END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T04:02:30.082306Z K 7 svn:log V 20 Tag sendmail 8.14.5 END K 10 svn:author V 2 np K 8 svn:date V 27 2011-06-14T04:20:17.257877Z K 7 svn:log V 144 MFC r222973: - driver ioctl to get SGE context for any given queue - sysctls to display the context id, cidx, and pidx of all kinds of queues. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T04:20:18.740637Z K 7 svn:log V 49 Merge sendmail 8.14.5 to HEAD MFC after: 4 days END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T04:33:43.885042Z K 7 svn:log V 74 Update DNSBL information (MAPS has been acquired, used a generic example) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T04:34:20.320417Z K 7 svn:log V 133 Minor change to force commit this file so new freebsd*.cf files are built to use the new sendmail-8.14.5/cf tree. MFC after: 4 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-14T04:37:09.871892Z K 7 svn:log V 105 MFC r222473: Add tablearg support for ipfw setfib. PR: kern/156410 MFC r222474: Wrap long line. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T06:44:42.602375Z K 7 svn:log V 38 Update notes regarding FreeBSD import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2011-06-14T06:45:48.961566Z K 7 svn:log V 36 sendmail has been updated to 8.14.5 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-14T07:20:16.440077Z K 7 svn:log V 360 Add IPv6 support to the ipfw uid/gid check. Pass an ip_fw_args structure to the check_uidgid() function, since it contains all needed arguments and also pointer to mbuf and now it is possible use in_pcblookup_mbuf() function. Since i can not test it for the non-FreeBSD case, i keep this ifdef unchanged. Tested by: Alexander V. Chernikov MFC after: 3 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-14T10:49:18.010500Z K 7 svn:log V 195 MFC 216147 [1], 219424 [2]: 216147 by delphij [1]: - Recommend a overwrite of whole geli provider before use. - Correct a typo. 219424 by pjd [2]: - Change example wording. PR: 155385 [2] END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-06-14T10:50:01.671868Z K 7 svn:log V 528 MFC 222343, 222518, 222835 MFC r222343 (pjd): Silence warnings about unsupoorted value types. MFC r222518 (pjd): Imagine situation where a security problem is found in setuid binary. User upgrades his system to fix the problem, but if he has any ZFS snapshots for the file system which contains problematic binary, any user can mount the snapshot and execute vulnerable binary. Prevent this from happening by always mounting snapshots with setuid turned off. MFC r222835: Silence notice on pool creation, import and access. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-14T10:50:16.900638Z K 7 svn:log V 176 MFC 216147 [1], 219424 [2]: 216147 by delphij [1]: - Recommend a overwrite of whole geli provider before use. 219424 by pjd [2]: - Change example wording. PR: 155385 [2] END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-14T12:06:38.878886Z K 7 svn:log V 47 Sort alias mode flags in the increasing order. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2011-06-14T12:40:55.439262Z K 7 svn:log V 261 Grab one of the ifcap bits for netmap, and enable printing in ifconfig. Document the fact that we might want an IFCAP_CANTCHANGE mask, even though the value is not yet used in sys/net/if.c (asked on -current a week ago, no feedback so i assume no objection). END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-14T13:02:26.065224Z K 7 svn:log V 34 Check nat id a bit more strictly. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-06-14T13:35:24.351558Z K 7 svn:log V 589 Implement "global" mode for ipfw nat. It is similar to natd(8) "globalport" option for multiple NAT instances. If ipfw rule contains "global" keyword instead of nat_number, then for each outgoing packet ipfw_nat looks up translation state in all configured nat instances. If an entry is found, packet aliased according to that entry, otherwise packet is passed unchanged. User can specify "skip_global" option in NAT configuration to exclude an instance from the lookup in global mode. PR: kern/157867 Submitted by: Alexander V. Chernikov (previous version) Tested by: Eugene Grosbein END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-14T14:53:17.748463Z K 7 svn:log V 3962 Lay groundwork in CAM for recording and reporting physical path and other device attributes stored in the CAM Existing Device Table (EDT). This includes some infrastructure requried by the enclosure services driver to export physical path information. Make the CAM device advanced info interface accept store requests. sys/cam/scsi/scsi_all.c: sys/cam/scsi/scsi_all.h: - Replace scsi_get_sas_addr() with a scsi_get_devid() which takes a callback that decides whether to accept a particular descriptor. Provide callbacks for NAA IEEE Registered addresses and for SAS addresses, replacing the old function. This is needed because the old function doesn't work for an enclosure address for a SAS device, which is not flagged as a SAS address, but is NAA IEEE Registered. It may be worthwhile merging this interface with the devid match interface. - Add a few more defines for some device ID fields. sbin/camcontrol/camcontrol.c: - Update for the CCB_DEV_ADVINFO interface change. cam/cam_xpt_internal.h: - Add the new fields for the physical path string to the CAM EDT. cam/cam_ccb.h: - Rename CCB_GDEV_ADVINFO to simply CCB_DEV_ADVINFO, and the ccb structure to ccb_dev_advinfo. - Add a flag that changes this CCB's action to store, rather than the default, retrieve. - Add a new buffer type, CDAI_TYPE_PHYS_PATH, for the new CAM EDT physpath field. - Remove the never-implemented transport & proto flags. cam/cam_xpt.c: cam/cam_xpt.h: - Add xpt_getattr(), which provides a wrapper for fetching a device's attribute using the GEOM strings as key. This method currently supports "GEOM::ident" and "GEOM::physpath". Submitted by: will Reviewed by : gibbs Extend the XPT_DEV_MATCH api to allow a device search by device ID. As far as the API is concerned, device ID is a binary blob to be interpreted by the transport layer. The SCSI implementation assumes it is an array of VPD device ID descriptors. sys/cam/cam_ccb.h: Create a new structure, device_id_match_pattern, and update the XPT_DEV_MATCH datastructures and flags so that this pattern type can be used. sys/cam/cam_xpt.c: - A single pattern matching on both inquiry data and device ID is invalid. Report any violators. - Pass device ID match requests through to the new routine scsi_devid_match(). The direct call of a SCSI routine is a layering violation, but no worse than the one a few lines up that checks inquiry data. Defer cleaning this up until our future, larger, rototilling of CAM. - Zero out cam_ed and cam_et nodes on allocation. Prior to this change, device_id_len and device_id were not inialized, preventing proper detection of the presence of this information. sys/cam/scsi/scsi_all.c: sys/cam/scsi/scsi_all.h: Add the scsi_match_devid() routine. Add a helper function for extracting peripherial driver names sys/cam/cam_periph.c: sys/cam/cam_periph.h: Add the cam_periph_list() method which fills an sbuf with a comma delimited list of the peripheral instances associated with a given CAM path. Add a helper functions for SCSI commands used by the SES driver. sys/cam/scsi/scsi_all.c: sys/cam/scsi/scsi_all.h: Add structure definitions and csio filling functions for the receive diagnostic results and send diagnostic commands. Misc CAM XPT cleanups. sys/cam/cam_xpt.c: Broadcast AC_FOUND_DEVICE and AC_PATH_REGISTERED events at the time async event handlers are attached even when registering just for events on a partitular SIM. Previously, you had to register for these events on all SIMs in the system in order to get the initial broadcast even though subsequent device and path arrivals would be delivered. sys/cam/cam_xpt.c: Remove SIM mutex held asserts from path accessors. CAM paths are reference counted and it is this reference count, not the sim mutex, that garantees they are stable. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-06-14T15:20:30.711341Z K 7 svn:log V 339 - Check on target wordsize instead of compile time define if we build on 64-bit PowerPC or 32-bit PowerPC. - Make gdb work on powerpc64, the code for this is obtained from ppc-linux-tdep.c. - Remove non-elf core read functionality. Implement core read functionality similar like other FreeBSD targets. - Set long double limitations. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2011-06-14T15:45:41.595789Z K 7 svn:log V 44 work area in preparation for merging netmap END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-14T16:05:00.925798Z K 7 svn:log V 405 sys/cam/scsi/scsi_da.c: - Only attempt the closing synchronize cache on a disk if it is still there. - When a device is lost, report the number of outstanding I/Os as they are drained. - When a device is lost, return any unprocessed bios with ENXIO instead of EIO. - Filter asynchronous events, but always allow cam_periph_async() to see them too. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-14T16:29:43.935913Z K 7 svn:log V 801 sys/sys/conf.h: sys/kern/kern_conf.c: Add make_dev_physpath_alias(). This interface takes the parent cdev of the alias, an old alias cdev (if any) to replace with the newly created alias, and the physical path string. The alias is visiable as a symlink to the parent, with the same name as the parent, rooted at physpath in devfs. Note: make_dev_physpath_alias() has hard coded knowledge of the Solaris style prefix convention for physical path data, "id1,". In the future, I expect the convention to change to allow "physical path quality" to be reported in the prefix. For example, a physical path based on NewBus topology would be of "lower quality" than a physical path reported by a device enclosure. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-06-14T16:50:16.107231Z K 7 svn:log V 213 Add "gid" and "group" keywords to display the effective group ID and effective group name. Also, add "egid", "egroup" and "euid" aliases. PR: bin/146331 Submitted by: Jeremie Le Hen END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-14T16:50:29.359306Z K 7 svn:log V 880 Begin making ampdu tx work (but only with non-aggregate packets.) * the TID lookup using ieee80211_gettid() was wrong, instead use the AC from the mbuf and convert that to a TID. * Since A-MPDU TX packets aren't supposed to be stuffed on the cabq when the station is in PS mode, don't do that. Instead, we'll eventually handle this lter. * Move the eventual TXQ selection out to ath_tx_start(). * write a function to assign seqno's to A-MPDU TX frames. This works enough to TX non-aggregate frame in A-MPDU but it's missing a lot of support. In particular, BAR's aren't sent when the window needs shifting (because of a TX failure) and there's currently no logic to only queue frames which fit inside the BA window. There's also a problem with the initial sequence numbers used just after the ADDBA exchange, so there's a (large) BA window shift. That needs to be fixed. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-06-14T17:09:30.300477Z K 7 svn:log V 215 We should not return ECHILD when debugging a child and the parent does a "wait4(-1, ..., WNOHANG, ...)". Instead wait(2) should behave as if the child does not wish to report status at this time. Reviewed by: jhb END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-14T17:10:32.831956Z K 7 svn:log V 2532 Plumb device physical path reporting from CAM devices, through GEOM and DEVFS, and make it accessible via the diskinfo utility. Extend GEOM's generic attribute query mechanism into generic disk consumers. sys/geom/geom_disk.c: sys/geom/geom_disk.h: sys/cam/scsi/scsi_da.c: sys/cam/ata/ata_da.c: - Allow disk providers to implement a new method which can override the default BIO_GETATTR response, d_getattr(struct bio *). This function returns -1 if not handled, otherwise it returns 0 or an errno to be passed to g_io_deliver(). sys/cam/scsi/scsi_da.c: sys/cam/ata/ata_da.c: - Don't copy the serial number to dp->d_ident anymore, as the CAM XPT is now responsible for returning this information via d_getattr()->(a)dagetattr()->xpt_getatr(). sys/geom/geom_dev.c: - Implement a new ioctl, DIOCGPHYSPATH, which returns the GEOM attribute "GEOM::physpath", if possible. If the attribute request returns a zero-length string, ENOENT is returned. usr.sbin/diskinfo/diskinfo.c: - If the DIOCGPHYSPATH ioctl is successful, report physical path data when diskinfo is executed with the '-v' option. Submitted by: will Reviewed by: gibbs Sponsored by: Spectra Logic Corporation Add generic attribute change notification support to GEOM. sys/sys/geom/geom.h: Add a new attrchanged method field to both g_class and g_geom. sys/sys/geom/geom.h: sys/geom/geom_event.c: - Provide the g_attr_changed() function that providers can use to advertise attribute changes. - Perform delivery of attribute change notifications from a thread context via the standard GEOM event mechanism. sys/geom/geom_subr.c: Inherit the attrchanged method from class to geom (class instance). sys/geom/geom_disk.c: Provide disk_attr_changed() to provide g_attr_changed() access to consumers of the disk API. sys/cam/scsi/scsi_pass.c: sys/cam/scsi/scsi_da.c: sys/geom/geom_dev.c: sys/geom/geom_disk.c: Use attribute changed events to track updates to physical path information. sys/cam/scsi/scsi_da.c: Add AC_ADVINFO_CHANGED to the registered asynchronous CAM events for this driver. When this event occurs, and the updated buffer type references our physical path attribute, emit a GEOM attribute changed event via the disk_attr_changed() API. sys/cam/scsi/scsi_pass.c: Add AC_ADVINFO_CHANGED to the registered asynchronous CAM events for this driver. When this event occurs, update the physical patch devfs alias for this pass instance. Submitted by: gibbs Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 stephen K 8 svn:date V 27 2011-06-14T17:51:46.427018Z K 7 svn:log V 56 Reviewed by: gabor (mentor) Approved by: gabor (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-14T18:19:48.136372Z K 7 svn:log V 247 Add location and pnpinfo strings for puc device ports. The location is announced during boot and contains the port number. The pnpinfo string lists the port type (PUC_TYPE_* constants). Tested by: Boris Samorodov bsam ipt ru MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-14T18:54:31.591412Z K 7 svn:log V 161 MFC 222750: Clear the device_t pointer in 'struct resource' when releasing a device as otherwise the sysctl to export rman info can dereference a stale pointer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-14T18:54:42.291689Z K 7 svn:log V 161 MFC 222750: Clear the device_t pointer in 'struct resource' when releasing a device as otherwise the sysctl to export rman info can dereference a stale pointer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-14T18:56:45.552491Z K 7 svn:log V 99 MFC 222829: Log the socket address passed as the destination to sendto() and sendmsg() via ktrace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-14T18:58:57.462786Z K 7 svn:log V 466 MFC 222530: Add a new option to toggle the display of the system idle process (per-CPU idle threads). The process is displayed by default (subject to whether or not system processes are displayed) to preserve existing behavior. The system idle process can be hidden via the '-z' command line argument or the 'z' key while top is running. When it is hidden, top more closely matches the behavior of FreeBSD <= 4.x where idle time was not accounted to any process. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-14T20:04:23.101941Z K 7 svn:log V 118 MFC r221887,r222158,r222379,r222451,r222512,r222661,r222715,r222882: sh: New testcases that already work in stable/8. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-06-14T20:30:15.985968Z K 7 svn:log V 151 Skip BAR(5) usage for SATA registers access on ICH8M Apples, because for some reason it causes system lock up. Linux does the same. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-06-14T20:30:49.305294Z K 7 svn:log V 125 Enable USB 3.0 support by default in i386 and amd64 GENERIC kernels. Discussed with: joel @ and thompsa @ MFC after: 7 days END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-14T21:37:25.244232Z K 7 svn:log V 391 sys/kern/subr_kdb.c: Modify the "alternate break sequence" detecting state machine so that only a contiguous invocation of the break sequence is accepted. The old implementation did not reset the state machine when detecting an unexpected character. While here, use an enum for the states of the machine instead of magic numbers.bmitted by: Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-14T22:37:09.838972Z K 7 svn:log V 144 MFC 187066 by trhodes: Quote the "u" as it's the name of the union, this may prevent some confusion when reading the manual page. PR: 117798 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-14T22:40:13.337500Z K 7 svn:log V 254 MFC 187663 by trhodes: When "-b" is specified, one could easily create "smaller" files that are much larger than expected (given the default size). Change "smaller files" to "split files" which is more in line with what "-b" actually does. PR: 119329 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-14T22:52:24.666312Z K 7 svn:log V 158 MFC 187627 by trhodes: Note the implication of setting the 'w' permission on directories, while here, expand the 'naughty bits' comment in BUGS. PR: 84268 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-14T23:30:48.166778Z K 7 svn:log V 131 MFC 186445 by trhodes: Netgroup database can be centralized via NIS, list it. Add a missing comma and bump doc date. PR: 127602 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-15T01:08:47.884928Z K 7 svn:log V 84 MFC 186487 by trhodes: Remove reference to unimplemented "-c" option. PR: 119338 END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-06-15T06:13:08.239081Z K 7 svn:log V 142 Missing cleanup case after completion of a snapshot vnode write claiming a released block. Submitted by: Jeff Roberson Tested by: Peter Holm END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-15T07:20:22.382237Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-15T07:29:20.950586Z K 7 svn:log V 92 Remove the usage of pc_cpumask and pc_other_cpus from ia64. Reviewed and tested by: marcel END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-15T13:10:37.117318Z K 7 svn:log V 43 - Make this build as an individual library END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-15T14:07:16.190281Z K 7 svn:log V 219 Revert changes to this file in r222417. This unconditionally enabled the boot menu on all platforms, which breaks loader completely on at least powerpc for reasons that are not understood yet. Reviewed by: Devin Teske END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-15T14:44:08.156336Z K 7 svn:log V 289 A hacky hack to make the raw xmit path use the software TX queue. I don't like that the software TX queue bit occurs at each call to raw_ic_xmit but it's enough to get the ball rolling. The motivation for this is largely so per-TID action frames (addba/delba) occur in the correct order. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-06-15T14:48:42.587442Z K 7 svn:log V 18 - Merge from HEAD END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-15T15:07:01.317676Z K 7 svn:log V 737 Don't assign sequence numbers if AMPDU-TX is in negotiation phase. net80211 only stops assigning its own sequence numbers once AMPDU-TX has finished being negotiated. It otherwise tags packets with sequence numbers. My previous patch was skipping every other sequence number during the ADDBA exchange and causing the receiver to get throughly confused for a bit. With this patch the receiver now doesn't receive such badly sequenced packets. There are still issues though with the addba BA win start versus what's already been software queued. Packets in the software queue have sequence numbers from -before- the BA window advertised in the ADDBA but are being held and arrive after the ADDBA exchange has occured. Crazy, but true. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-15T15:24:21.911045Z K 7 svn:log V 499 Misc stuff * tidy up a function call so it doesn't go over > 80 lines * add some disabled debugging for myself Non-misc stuff (just so I don't forget): The action frame is going out with AC pri = 3 (AC_VO); thus it's going out whilst the queued hardware frames in the other pri (eg AC=0/TID=0) are also queued. So the addba makes it out before the hardware queued frames before it. The solution may be to somehow delaying queueing the ADDBA frame until all the hardware-queued frames are sent. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-06-15T18:05:08.158599Z K 7 svn:log V 231 With the restructuring of the block reclaimation code, the notification messages for a filesystem being out of space need to be moved so that they do not print out until after a failed cleanup attempt. Suggested by: Jeff Roberson END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-15T19:09:58.011754Z K 7 svn:log V 85 Don't attempt to create the base directory when -d is specified. MFC after: 1 month END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-06-15T19:15:50.914780Z K 7 svn:log V 178 Add -ffreestanding to the command line, so taht inflate.c compiles and link properly with llvm. PR: arm/156771 Submitted by: Damjan Marion END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-06-15T19:33:02.931419Z K 7 svn:log V 90 Eliminate extraneous pipelines and tr calls. Approved by: kib (mentor) MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2011-06-15T19:53:08.296109Z K 7 svn:log V 59 Hide driver revision behind bootverbose. Approved by: mav END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-06-15T20:34:40.876518Z K 7 svn:log V 667 MFC r222454: In soreceive_generic(), if MSG_WAITALL is set but the request is larger than the receive buffer, we have to receive in sections. When notifying the protocol that some data has been drained the lock is released for a moment. Returning we block waiting for the rest of data. There is a race, when data could arrive while the lock was released and then the connection stalls in sbwait. Fix this by checking for data before blocking and skip blocking if there are some. PR: kern/154504 Reported by: Andrey Simonenko Tested by: Andrey Simonenko Reviewed by: rwatson Approved by: pjd (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-15T21:48:10.215980Z K 7 svn:log V 120 sh: Add support for named character classes in bracket expressions. Example: case x in [[:alpha:]]) echo yes ;; esac END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-15T21:58:01.137545Z K 7 svn:log V 249 In sendrecv function, change the receive timeout value between retries to increase in steps of MINTMO, instead of doubling the timeout for every retry. Obtained from: Juniper Networks Fixed by: Santhanakrishnan Balraj END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-15T22:04:14.838723Z K 7 svn:log V 426 Added sendrecv_tftp function instead of sendrecv for use by tftp. In sendrecv_tftp: * Upon receving an unexpected block of data or error, resend the ACK immediately instead of waiting till the expiry of receive data timeout to resend the ACK. * change the receive timeout value between retries to be 2xMINTMO. Obtained from: Juniper Networks Fixed by: Santhanakrishnan Balraj END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-15T22:08:18.649654Z K 7 svn:log V 283 Currently tftp code in the loader retransmits the previous packet if it receives any unwanted packet(non-tftp). Change this to retransmit the packet(request or ack) only after a timeout. Obtained from: Juniper Networks Fixed by: Santhanakrishnan Balraj END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-15T22:13:22.180205Z K 7 svn:log V 1474 (1) When sending the TFTP RRQ packet to read a file, send along the "blksize" option specified in RFC2348, and the "tsize" option specified in RFC2349. Add code to parse the TFTP Option Acknowledgement (OACK) packet as specified in RFC2347. For TFTP servers which support the "blksize" option, we can specify a TFTP Data block size larger than the default 512 bytes specified in RFC1350. This offers greater read performance when downloading files. We request an initial size of 1428 bytes, which is less than the Ethernet MTU of 1500 bytes. If the TFTP server sends back an OACK packet, then use the block size specified in the OACK packet. Most times it is usually the same value as what we request. If the TFTP server supports RFC2348, we will see performance improvements by transferring files over TFTP with larger block sizes. If we do not get back an OACK packet, then we most likely we are interoperating with a legacy TFTP server that does not support TFTP extension options, so default to the block size of 512 bytes. (2) If the "tftp.blksize" environment variable is set, then take that value and use it when sending the TFTP RRQ packet, instead of 1428. This allows us to set different values of "tftp.blksize" in the loader, so that we can test out different TFTP block sizes at run time. Obtained from: Juniper Networks Fixed by: rodrigc END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-15T22:15:28.481677Z K 7 svn:log V 27 Increase WARNS level to 2. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-06-15T22:41:55.095254Z K 7 svn:log V 322 Don't include curcpu in the mask which is used as the IPI cookie as we have to ignore it when sending the IPI anyway. Actually I can't think of a good reason why this ever was done that way in the first place as it's not even usefull for debugging. While at it replace the use of pc_other_cpus as it's slated for deorbit. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-06-15T23:19:09.625278Z K 7 svn:log V 126 Ensure that filesystem metadata contained within persistent snapshots is always kept consistent. Suggested by: Jeff Roberson END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-15T23:22:35.878770Z K 7 svn:log V 1013 Bring back following change which was undone in previous commit: ------------------------------------------------------------------------ r172854 | marius | 2007-10-21 10:03:18 -0700 (Sun, 21 Oct 2007) | 16 lines Changed paths: M /head/lib/libstand/tftp.c - Given that we tell the compiler that struct ip is packed and 32-bit aligned, GCC 4.2.1 also generates code for sendudp() that assumes this alignment. GCC 4.2.1 however doesn't 32-bit align wbuf, causing the loader to crash due to an unaligned access of wbuf in sendudp() when netbooting sparc64. Solve this by specifying wbuf as packed and 32-bit aligned, too. As for lastdata and readudp() this currently is no issue when compiled with GCC 4.2.1, though give lastdata the same treatment as wbuf for consistency and possibility of being affected in the future. [1] - Sprinkle const on a lookup table. ------------------------------------------------------------------------ END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-15T23:38:15.396155Z K 7 svn:log V 147 Do not install the rescue tools onto the install CD. Since it is read only, they are very unlikely to be needed and take up a great deal of space. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-15T23:41:25.780241Z K 7 svn:log V 115 Manually backout openssh5.8-server-logging.diff which was distributed within openssh5.8-dynwindow_noneswitch.diff. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-06-15T23:45:35.661597Z K 7 svn:log V 109 Manually backout openssh5.8-peaktput.diff which was distributed within openssh5.8-dynwindow_noneswitch.diff. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-06-15T23:50:27.459847Z K 7 svn:log V 405 Add support for the newly added SCTP API. In particular add support for: * SCTP_SNDINFO, SCTP_PRINFO, SCTP_AUTHINFO, SCTP_DSTADDRV4, and SCTP_DSTADDRV6 cmsgs. * SCTP_NXTINFO and SCTP_RCVINFO cmgs. * SCTP_EVENT, SCTP_RECVRCVINFO, SCTP_RECVNXTINFO and SCTP_DEFAULT_SNDINFO socket option. * Special association ids (SCTP_FUTURE_ASSOC, ...) * sctp_recvv() and sctp_sendv() functions. MFC after: 1 month. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-15T23:56:40.629991Z K 7 svn:log V 101 Make the bootonly CD smaller by discarding static libraries that are not useful without a toolchain. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-16T01:52:42.544089Z K 7 svn:log V 1032 MFC r222795 (jkim) + 222967: Validate INT 15h and 16h vectors more strictly. Traditionally these entry points are fixed addresses and (U)EFI CSM specification also mandated that. Unfortunately, (U)EFI CSM specification does not specifically mention this is to call service routine via interrupt vector table or to jump directly to the entry point. As a result, some CSM seems to install two routines and acts differently, depending on how it was executed, unfortunately. When INT 15h is used, it calls a function pointer (which is probably a UEFI service function). When it jumps directly to the entry point, it executes a simple and traditional INT 15h service routine. Therefore, actually there are two possible fixes, i. e., this fix or jumping directly to the fixed entry point. However, we chose this fix because a) keyboard typematic support via BIOS is becoming extremely rarer and b) we cannot support random service routine installed by a firmware or a boot loader. This should fix Lenovo X220 laptop, specifically. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-16T02:16:53.129988Z K 7 svn:log V 64 Specify correct RFC2347 for TFTP options in diagnostic message. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2011-06-16T02:22:24.671047Z K 7 svn:log V 130 Use size of int to fetch sysctl kern.sched.cpusetsize because it had switched from long to int type in kernel. Fixed by: pluknet END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-06-16T02:27:05.974826Z K 7 svn:log V 117 Clarify that the TFTP blocksize (RFC2348) or non-standard TFTP rollover option can be used to transfer larger files. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2011-06-16T05:26:03.054646Z K 7 svn:log V 71 Fixing compilation bustage by introducing another forward declaration. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2011-06-16T07:14:55.544595Z K 7 svn:log V 80 Unbreaking build on sparc64. Submitted by: Garrett Cooper END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-16T07:16:02.871937Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-16T07:25:53.173318Z K 7 svn:log V 103 Remove entirely pc_other_cpus usage and pc_cpumask usage from sparc64. Tested and reviewed by: marius END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-16T07:27:13.746507Z K 7 svn:log V 98 Remove pc_other_cpus and pc_cpumask usage from powerpc support. Tested and reviewed by: andreast END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-06-16T08:31:06.673132Z K 7 svn:log V 45 Revert r222688. Requested by: Mikolaj Golub END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-06-16T08:44:26.320050Z K 7 svn:log V 387 "HAST currently doesn't support 'async' mode, so working over WAN is not common use case for now, which makes your changes low priority. High priority for HAST is working over LAN." -pjd So this little fork of the hastd would aim at optimizing it for good performance over WAN network. Hopefully it will be useful for somebody else and and end up at least partially in the main tree. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-06-16T09:37:20.130189Z K 7 svn:log V 127 Change i_len in ieee80211req to be unsigned and fix other signed/unsigned issues. Reviewed by: bschmidt Obtained from: NetBSD END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-16T10:41:59.844218Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-16T12:24:02.320750Z K 7 svn:log V 24 Merge from HEAD@222977. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-06-16T12:28:37.090637Z K 7 svn:log V 761 It's a bit odd, but "make update" in src/ can also update the ports/, doc/, and now www/ trees, but only using the "cvsup" transport. When "make update" is run using a tree's makefile, it can also use "cvs" (except for www/) and "svn" (only src/). Clean up documentation and code regarding "make update": - Increase oddness by adding support for WWWSUPFILE and NO_WWWUPDATE to Makefile.inc1 (analogous to PORTSSUPFILE/NO_PORTSUPDATE and DOCSUPFILE/NO_DOCUPDATE; WWWSUPFILE already supported by www/Makefile). - Document all trees that support CVS_UPDATE. - Document all trees that support SUP_UPDATE. - Document SVN_UPDATE. - Document NO_WWWUPDATE. - make.conf(5) mistakenly said that *SUPFILE* had defaults. - Add an example entry for WWWSUPFILE. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-16T12:41:37.242499Z K 7 svn:log V 327 - Add ":origin" label to the interface id for resolvconf(8). - Add -u option to enable adding :[RA-source-address] to the interface id. - s/INET6_ADDRSTRLEN/sizeof(ntopbuf)/ - Fix a bug that can prevent -D from being overridden by -d. - /-P pidfile/-p pidfile/ for consistency with rtadvd(8). - Fix WARNS. Discussed with: ume END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-16T12:57:33.543265Z K 7 svn:log V 34 - Check RTM_VERSION. - Fix WARNS. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2011-06-16T15:35:12.268367Z K 7 svn:log V 138 Using the correct format string(%zu) for size_t type. This should fix 64 bits builds. Submitted by: Garrett Cooper END