ƒ´}247665 173 230 236 1042 113 174 917 247 114 116 105 158 190 149 247 99 120 214 303 280 410 204 204 259 152 186 409 148 185 215 563 170 271 209 128 161 272 105 308 187 192 164 560 98 137 121 387 175 237 267 130 185 145 131 155 110 381 511 131 380 380 136 355 340 316 499 178 398 4976 344 718 155 139 187 126 111 847 190 329 99 120 511 231 340 316 499 685 152 252 223 255 264 246 258 278 262 238 244 242 216 182 500 183 376 376 151 167 131 240 149 190 103 268 1408 699 302 213 227 227 352 163 342 377 359 512 99 120 227 646 246 453 133 161 590 315 309 310 366 137 472 395 345 978 136 158 237 163 229 250 162 946 187 128 133 191 414 844 214 696 347 759 374 196 277 289 499 235 192 183 191 191 322 199 337 K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-02T18:40:04.044384Z K 7 svn:log V 133 Garbage collect NTFS bits which are now completely disconnected from the tree since few months. This patch is not targeted for MFC. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-02T18:51:26.419867Z K 7 svn:log V 138 Fix ipfw table argument parsing/printing. Fix style. PR: kern/175909 Submitted by: Daniel Hagerty MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-02T21:11:30.631590Z K 7 svn:log V 949 - Implement two new system calls: int bindat(int fd, int s, const struct sockaddr *addr, socklen_t addrlen); int connectat(int fd, int s, const struct sockaddr *name, socklen_t namelen); which allow to bind and connect respectively to a UNIX domain socket with a path relative to the directory associated with the given file descriptor 'fd'. - Add manual pages for the new syscalls. - Make the new syscalls available for processes in capability mode sandbox. - Add capability rights CAP_BINDAT and CAP_CONNECTAT that has to be present on the directory descriptor for the syscalls to work. - Update audit(4) to support those two new syscalls and to handle path in sockaddr_un structure relative to the given directory descriptor. - Update procstat(1) to recognize the new capability rights. - Document the new capability rights in cap_rights_limit(2). Sponsored by: The FreeBSD Foundation Discussed with: rwatson, jilles, kib, des END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-02T21:12:54.769881Z K 7 svn:log V 21 Regen after r247667. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-02T21:16:40.622983Z K 7 svn:log V 82 Add support for bindat(2) and connectat(2). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 np K 8 svn:date V 27 2013-03-02T21:59:07.484078Z K 7 svn:log V 825 MFC r234831, r234833, r237263**, r237436*, r237439, r237463, r237512, r237587, r237799, r237819, r237831, r238028, r238054, r238313, r239102, r239258, r239259, r239264*, r239266, r239336, r239338*, r239339, r239341, r239344, r240443, r240451, r240452*, r240453, r241397, r241398, r241399, r241401, r241409, r241416, r241493, r244551, r244580, r245243, r245274*, r245276*, r245434*, r245517, r245518, r245520, r245567, r245933, r245935, r245936, r246093, r246385, r246575, r247062, r247122, r247289, r247291, r247347, r247355. This brings stable/8's cxgbe(4) up to date with what's in head right now. One major difference is the missing t4_tom (TCP Offload Module); there are no plans to backport it to 8. Build tested with make universe (with -DMAKE_JUST_KERNELS) * partial ** partial manual backport, not really an MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-02T22:19:17.289732Z K 7 svn:log V 154 MFcalloutng: Give OFED Linux wrapper own "expires" field instead of abusing callout's c_time, which will change its type and units with calloutng commit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-02T22:24:43.702220Z K 7 svn:log V 22 Minor sync with head. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-02T22:28:20.450434Z K 7 svn:log V 24 Polish few spaces/tabs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-02T22:34:33.442905Z K 7 svn:log V 13 MFC @r247673 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-02T22:41:06.054494Z K 7 svn:log V 66 Add protective parentheses for macro argument, missed in r247671. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-02T23:40:42.571240Z K 7 svn:log V 98 If all ioctls are allowed, cap_ioctls_get(2) will return CAP_IOCTLS_ALL. Update regression tests. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-03-03T00:37:34.914671Z K 7 svn:log V 57 MFC r247441: Properly handle '-h' argument. PR: 176332 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-03T01:02:57.291445Z K 7 svn:log V 150 Fix-up r247622 by also renaming pv_list iterator into the xen pmap verbatim copy. Sponsored by: EMC / Isilon storage division Reported by: tinderbox END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-03T01:06:24.279391Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-03T01:10:49.393353Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-03T01:26:11.567249Z K 7 svn:log V 117 Fixup XEN pmap to cope with removal of left/right iterators from pages. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-03T01:36:31.544170Z K 7 svn:log V 210 Two out of three times that vm_page_find_least() is called, it's going to return the vm object's first page. In those cases, there is no need to traverse the trie. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-03-03T02:11:03.651824Z K 7 svn:log V 187 libedit does not need to be linked with ncurses libedit uses the terminfo headers but doesn't really need to be linked with ncurses. Discussed with: christos@NetBSD MFC after; 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-03-03T06:42:36.126645Z K 7 svn:log V 314 Remove the extra parenthesis from the cv_init() macro. They are not necessary because we already use parenthesis in zfs_cv_init(). This fixes a long standing bug where there would be an extra ")" at the end of the string. This extra parenthesis would show up in the WCHAN of the process (top, stty status, etc.). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-03T07:09:25.331430Z K 7 svn:log V 111 MFC r246921: Do not update the fsinfo block on each update of any fat block. Postpone the flush to VFS_SYNC(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-03T07:27:15.335797Z K 7 svn:log V 111 MFC r246921: Do not update the fsinfo block on each update of any fat block. Postpone the flush to VFS_SYNC(). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T07:45:40.900638Z K 7 svn:log V 163 MFS 9->8 r234737: Fix several 'format string is not a literal' warnings in sysinstall. Since sysinstall does not exist anymore in head, this is a direct commit. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T07:50:33.325171Z K 7 svn:log V 57 MFS 9->8 r244573: Fix typo. (fixing them as I find them) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T07:54:28.583487Z K 7 svn:log V 91 MFS 9->8 r245438: Oops, r186202 (4 years ago) forgot to remove Tape from the F1 Help file. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T08:02:07.962992Z K 7 svn:log V 313 MFS 9->8 r247241: Oops, r186202 (over 4 years ago) forgot to remove Tape from the F1 Help file. Direct commit to stable/9 (no sysinstall in head). MFS 9->8 r247242: Oops, r215291 (over 2 years ago) forgot to remove mention of "medium" from the F1 Help file. Direct commit to stable/9 (no sysinstall in head). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T08:04:11.512747Z K 7 svn:log V 53 MFS 9->8 r244676: Fix another typo while we're here. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T08:17:17.143629Z K 7 svn:log V 90 MFS 9->8 r215224: We still support PLIP devices, so mention them in addition to ethernet. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T08:21:17.230369Z K 7 svn:log V 119 MFS 9->8 r209778: Add further documentation for netDev in install.cfg to reflect the new usage. Approved by: cperciva END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T08:51:56.598682Z K 7 svn:log V 467 MFS 9->8 r217491 with slight modification: Reduce the amount of text users need to read on each screen. Also try and make it more relevant to modern systems: for example users will be familiar with the MBR but possibly less so with MS-DOS. After installation has finished don't return to the main menu but exit. Slight modification: Ignore the last sentence (need feedback from brucec before carrying that back to 8 where sysinstall is still the main installer). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T08:56:10.912400Z K 7 svn:log V 75 MFS 9->8 the sysinstall portion of r223492: Remove duplicated header files END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-03T09:09:35.812972Z K 7 svn:log V 175 Migrate the call to parent->if_transmit() to a platform function - ieee80211_parent_transmit(ic, m). This allows me to enforce that the lock is being held when transmitting. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T09:09:59.678817Z K 7 svn:log V 113 MFS 9->8 r209782: Add support for remote logging to syslogd via an install.cfg variable. Approved by: cperciva END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-03T09:11:24.186598Z K 7 svn:log V 36 MFcalloutng: Some whitespace fixes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-03T09:13:17.994606Z K 7 svn:log V 69 Remove unused TIME_T_MAX macro from kern_timeout.c. Tune some style. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T09:13:18.385692Z K 7 svn:log V 176 MFS 9->8 r247267: Oops, r55392 (over 13 years ago) forgot to classify the new HTTP Proxy for the options dialog (causing "" to be displayed for the HTTP media type). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-03T09:18:15.369686Z K 7 svn:log V 13 MFC @r247700 END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T09:21:18.630771Z K 7 svn:log V 212 MFS 9->8 r209481: Update the man page to reflect the changes to the netDev configuration variable. Approved by: cperciva MFS 9->8 r209446: Remove unnecessarily inflammatory commentary. Approved by: cperciva END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T09:23:52.153479Z K 7 svn:log V 92 MFS 9->8 r215314: ipv6_enable has been obsoleted in favour of ipv6_activate_all_interfaces. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T09:26:58.533452Z K 7 svn:log V 97 MFS 9->8 r244688: Fix error message to be accurate for when ProgName is not "sysinstall" (oops?) END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2013-03-03T09:47:47.556447Z K 7 svn:log V 67 Fix a bug extracting files from dist scheme Obtained from: PC-BSD END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-03T10:02:08.611309Z K 7 svn:log V 464 Migrate the vap if_transmit calls to ieee80211_vap_transmit(). * Do a mechanical conversion of vap ifp -> ieee80211_vap_transmit(). * Tidy up the hostap pspoll receive code - have it call either ieee80211_parent_transmit() or ieee80211_vap_transmit() as appropriate. * Tidy up the hwmp discover code to send via ieee80211_vap_transmit() as we shouldn't ever see encapsulated frames here. Tested: * AR5416, STA mode TODO: * Lots, lots more hostap testing! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-03T10:05:15.601854Z K 7 svn:log V 4 MFH END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-03T10:52:41.278337Z K 7 svn:log V 46 Create project branch for porting libzfs_core END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-03-03T11:09:55.296360Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-03T13:39:54.457046Z K 7 svn:log V 291 - Use TRUE/FALSE in lieu of 0/1 for boolean_t variables. - Remove useless braces. - Now that 'callout migration entity' has been replaced by 'callout execution entity' rename functions and modify comments accordingly. - Move DCPU_DECLARE at the beginning of the file. Requested by: attilio END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-03T13:53:58.419909Z K 7 svn:log V 80 Fix a braino. Pointy hat to me, I've realized I was wrong after a cup of coffe. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-03T14:05:03.506591Z K 7 svn:log V 139 Implement buffer size checking in ipfw(8) add cmd. PR: bin/65961 Submitted by: Eugene Grosbein MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-03T14:42:15.826487Z K 7 svn:log V 171 libedit: Revert r247683 to fix buildworld. I think r247683 is wrong because libedit.so actually uses symbols from libcurses.so. Since it breaks the build, revert it now. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-03T14:47:02.641360Z K 7 svn:log V 35 Remove a couple of unused include. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-03T15:01:33.380899Z K 7 svn:log V 90 callwheelmask and callwheelsize are always greater than zero. Switch their type to u_int. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-03T15:02:56.117826Z K 7 svn:log V 50 MAINTAINERS: Document my maintainership of sh(1). END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-03T15:19:49.690391Z K 7 svn:log V 36 Merge head r236314 through r247716. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T16:16:10.471330Z K 7 svn:log V 60 MFC r232297: Grammar: tzsetup now has more than one option. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-03-03T16:17:09.181042Z K 7 svn:log V 18 Fix 'make depend' END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-03T17:33:59.873282Z K 7 svn:log V 285 sh: When executing a trap, keep exit status along with evalskip. This ensures 'return' in a trap returns the correct status to the caller. If evalskip is not set or if it is overridden by a previous evalskip, keep the old behaviour of restoring the exit status from before the trap. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T17:39:29.846064Z K 7 svn:log V 415 MFC r230005: Use a reasonable-sized buffer when formatting error messages about installing zoneinfo. While we're in the vicinity, add some missing error checking to eliminate an unhelpful error message when unlink() fails. /me is embarrassed by the quality of his 16-year-old code. The whole thing is awful and could stand a complete rewrite. PR: 164038 Submitted by: Devin Teske (but implemented differently) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T18:59:59.896983Z K 7 svn:log V 36 MFC r227934: Port to new libdialog. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-03-03T19:02:11.697164Z K 7 svn:log V 285 MFC r246978: - Make sure to set an error code when trying to obtain a data descriptor for a section of type SHT_NULL. - Update the man page to reflect the fact that elf_getdata() and elf_rawdata() may return with an error of ELF_E_SECTION. Approved by: rstone (co-mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-03-03T19:02:23.197708Z K 7 svn:log V 285 MFC r246978: - Make sure to set an error code when trying to obtain a data descriptor for a section of type SHT_NULL. - Update the man page to reflect the fact that elf_getdata() and elf_rawdata() may return with an error of ELF_E_SECTION. Approved by: rstone (co-mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-03T19:10:28.111897Z K 7 svn:log V 44 Fix typos in hint names. MFC after: 1 week END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T19:12:07.052238Z K 7 svn:log V 259 Dummy commit to show r247722 was (in addition to being an MFC for r227934), an MFC for r227947: calloc +1 DIALOG_LISTITEM to prevent possible wild pointer access in dlg_default_listitem(). and also for r228176: Sync xdialog_menu() implementation with sade. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T19:20:30.371095Z K 7 svn:log V 244 MFC r230299: Fix #ifdef VERBOSE for UTC case Update verbose output to match what actually happens when selecting the UTC option, and when the -n option is used. Patch updated slightly for new libdialog. PR: bin/164042 Submitted by: dteske END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T19:26:05.446168Z K 7 svn:log V 220 MFC r230296: Don't write /var/db/zoneinfo when zone is not actually changed. If the specified zone file does not exist or the -n flag is specified, do not update /var/db/zoneinfo. PR: bin/164039 Submitted by: dteske END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-03T19:31:44.051203Z K 7 svn:log V 403 MFC r230520: Clean up reinstall option and remove duplicate code - Move the reinstall logic to be before menus are initialised (menus are not needed when reinstalling a zonefile). - Remove unnecessary re-initialization of path_db. - Update variable name and error message because we now use the zone name relative to /usr/share/zoneinfo, not the full path. PR: bin/164041 Submitted by: dteske END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2013-03-03T20:10:56.543047Z K 7 svn:log V 81 Add an option for finding sparse files. Reviewed by: iedowse MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-03T20:37:27.143415Z K 7 svn:log V 305 We don't need to reinitialize the root of the page cache trie on every vm object allocation. We can, instead, rely on the type stability of the vm object zone. (Note that we already assert that the page cache trie is empty in the vm object zone destructor.) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-03T21:48:40.703504Z K 7 svn:log V 4877 Merge * r233937 - Improve BPF locking model * r233938 - Improve performace for writer-only BPF users * r233946 - Fix build * r235744 - Fix (new) panic on attaching to non-existent interface * r235745 - Fix old panic when BPF consumer attaches to destroying interface * r235746 - Call bpf_jitter() before acquiring BPF global lock * r235747 - Make most BPF ioctls() SMP-safe. * r236231 - Fix BPF_JITTER code broken by r235746. * r236261 - Save the previous filter right before we set new one. * r236262 - Fix style(9) nits, reduce unnecessary type castings. * r236559 - Fix panic introduced by r235745 * r236806 - Fix typo introduced in r236559. r233937 - Improve BPF locking model. Interface locks and descriptor locks are converted from mutex(9) to rwlock(9). This greately improves performance: in most common case we need to acquire 1 reader lock instead of 2 mutexes. - Remove filter(descriptor) (reader) lock in bpf_mtap[2] This was suggested by glebius@. We protect filter by requesting interface writer lock on filter change. - Cover struct bpf_if under BPF_INTERNAL define. This permits including bpf.h without including rwlock stuff. However, this is is temporary solution, struct bpf_if should be made opaque for any external caller. r233938 - Improve performace for writer-only BPF users. Linux and Solaris (at least OpenSolaris) has PF_PACKET socket families to send raw ethernet frames. The only FreeBSD interface that can be used to send raw frames is BPF. As a result, many programs like cdpd, lldpd, various dhcp stuff uses BPF only to send data. This leads us to the situation when software like cdpd, being run on high-traffic-volume interface significantly reduces overall performance since we have to acquire additional locks for every packet. Here we add sysctl that changes BPF behavior in the following way: If program came and opens BPF socket without explicitly specifyin read filter we assume it to be write-only and add it to special writer-only per-interface list. This makes bpf_peers_present() return 0, so no additional overhead is introduced. After filter is supplied, descriptor is added to original per-interface list permitting packets to be captured. Unfortunately, pcap_open_live() sets catch-all filter itself for the purpose of setting snap length. Fortunately, most programs explicitly sets (event catch-all) filter after that. tcpdump(1) is a good example. So a bit hackis approach is taken: we upgrade description only after second BIOCSETF is received. Sysctl is named net.bpf.optimize_writers and is turned off by default. - While here, document all sysctl variables in bpf.4 r233946 Fix build broken by r233938. r235744 Fix panic on attaching to non-existent interface (introduced by r233937, pointed by hrs@) Fix panic on tcpdump being attached to interface being removed (introduced by r233937, pointed by hrs@ and adrian@) Protect most of bpf_setf() by BPF global lock Add several forgotten assertions (thanks to adrian@) Document current locking model inside bpf.c Document EVENTHANDLER(9) usage inside BPF. r235745 Fix old panic when BPF consumer attaches to destroying interface. 'flags' field is added to the end of bpf_if structure. Currently the only flag is BPFIF_FLAG_DYING which is set on bpf detach and checked by bpf_attachd() Problem can be easily triggered on SMP stable/[89] by the following command (sort of): 'while true; do ifconfig vlan222 create vlan 222 vlandev em0 up ; \ tcpdump -pi vlan222 & ; ifconfig vlan222 destroy ; done' Fix possible use-after-free when BPF detaches itself from interface, freeing bpf_bif memory, while interface is still UP and there can be routes via this interface. Freeing is now delayed till ifnet_departure_event is received via eventhandler(9) api. Convert bpfd rwlock back to mutex due lack of performance gain (currently checking if packet matches filter is done without holding bpfd lock and we have to acquire write lock if packet matches) r235746 Call bpf_jitter() before acquiring BPF global lock due to malloc() being used inside bpf_jitter. Eliminate bpf_buffer_alloc() and allocate BPF buffers on descriptor creation and BIOCSBLEN ioctl. This permits us not to allocate buffers inside bpf_attachd() which is protected by global lock. r235747 Make most BPF ioctls() SMP-safe. r236559 Fix panic introduced by r235745. Panic occurs after first packet traverse renamed interface. Add several comments on locking r236231 Fix BPF_JITTER code broken by r235746. r236261 - Save the previous filter right before we set new one. - Reduce duplicate code and make it little easier to read. r236262 Fix style(9) nits, reduce unnecessary type castings, etc., for bpf_setf(). r236806 Fix typo introduced in r236559. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-03T22:33:13.121989Z K 7 svn:log V 248 MFC r246371: sh: Do not test for digit_contig in mksyntax. ISO/IEC 9899:1999 (E) 5.2.1p3 guarantees that the values of the characters 0123456789 are contiguous. The generated syntax.c and syntax.h remain the same. Submitted by: Christoph Mallon END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2013-03-03T23:01:46.631712Z K 7 svn:log V 620 Improves and enhances using the "installPackages=" variable. Adds "pkgExt=" variable to set if pkgs are .tbz or .txz or other. Auto-detects if packages are PKGNG or old PKG format. Auto-bootstrap of PKGNG for the new installed environment. Fixes issues with installing packages from local media, such as DVD/USB. Switch to using a space-delimiter for installPackages, since a number of packages use a "," in their version string. Fix pc-sysinstall to ignore install scripts, and not hang on user interaction prompts when installing pkgs. Add pkg2ng command as apart of pkgng bootstrap process. Obtained from: PC-BSD END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2013-03-03T23:07:27.455440Z K 7 svn:log V 58 Use GNOP to force ZFS pools to 4k. Obtained from: PC-BSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-03T23:23:35.379179Z K 7 svn:log V 47 Plug memory leaks in file descriptors passing. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-03T23:25:45.570998Z K 7 svn:log V 95 Use dedicated malloc type for filecaps-related data, so we can detect any memory leaks easier. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-03-03T23:26:17.349624Z K 7 svn:log V 33 Import libyaml 0.1.4 into vendor END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-03-03T23:27:21.569929Z K 7 svn:log V 18 Tag libyaml 0.1.4 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-03T23:39:30.431866Z K 7 svn:log V 754 For some reason when I started to pass filedescent structures instead of pointers to the file structure receiving descriptors stopped to work when also at least few kilobytes of data is being send. In the kernel the soreceive_generic() function doesn't see control mbuf as the first mbuf and unp_externalize() is never called, first 6(?) kilobytes of data is missing as well on receiving end. This breaks for example tmux. I don't know yet why going from 8 bytes to sizeof(struct filedescent) per descriptor (or even to 16 bytes per descriptor) breaks things, but to work-around it for now use 8 bytes per file descriptor at the cost of memory allocation. Reported by: flo, Diane Bruce, Jan Beich Simple testcase provided by: mjg END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-04T00:07:19.586843Z K 7 svn:log V 95 Add a method to set/clear the VMF field in the TX descriptor. Obtained from: Qualcomm Atheros END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T00:07:23.868203Z K 7 svn:log V 232 Remove the boot-time cache support and rely on UMA boot-time slab cache for allocating the nodes before to have the possibility to carve directly from the UMA subsystem. Sponsored by: EMC / Isilon storage division Reviewed by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T00:16:45.419837Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T00:21:38.150119Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T01:14:06.298040Z K 7 svn:log V 415 MFC r230005: Use a reasonable-sized buffer when formatting error messages about installing zoneinfo. While we're in the vicinity, add some missing error checking to eliminate an unhelpful error message when unlink() fails. /me is embarrassed by the quality of his 16-year-old code. The whole thing is awful and could stand a complete rewrite. PR: 164038 Submitted by: Devin Teske (but implemented differently) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T01:22:07.502512Z K 7 svn:log V 135 MFC only the whitespace changes* from r227934: Port to new libdialog. * In other words, no changes to dialog; whitespace changes only. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T01:32:24.516845Z K 7 svn:log V 244 MFC r230299: Fix #ifdef VERBOSE for UTC case Update verbose output to match what actually happens when selecting the UTC option, and when the -n option is used. Patch updated slightly for new libdialog. PR: bin/164042 Submitted by: dteske END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T01:35:56.523062Z K 7 svn:log V 220 MFC r230296: Don't write /var/db/zoneinfo when zone is not actually changed. If the specified zone file does not exist or the -n flag is specified, do not update /var/db/zoneinfo. PR: bin/164039 Submitted by: dteske END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T01:47:37.256025Z K 7 svn:log V 403 MFC r230520: Clean up reinstall option and remove duplicate code - Move the reinstall logic to be before menus are initialised (menus are not needed when reinstalling a zonefile). - Remove unnecessary re-initialization of path_db. - Update variable name and error message because we now use the zone name relative to /usr/share/zoneinfo, not the full path. pr: bin/164041 Submitted by: dteske END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-03-04T01:56:00.082249Z K 7 svn:log V 587 Add Portsnap build code. To set up portsnap builds: 1. Edit build.conf, 2. Run setup.sh and follow the instructions it prints, 3. Run keygen.sh and follow the instructions it prints. After that, # build.sh snap does a portsnap build and generates a snapshot tarball (these are used to provide a faster bootstrap than downloading 23000+ individual files), # build.sh update does a portsnap build without a snapshot tarball, and # upload.sh uploads files over SSH to the target host. Alternatively, # loop.sh & will do a continuous loop of builds and uploads with one snapshot per day. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:19:55.678224Z K 7 svn:log V 57 Constify where possible. Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:03.395887Z K 7 svn:log V 156 Due to calendar(1)'s abuse of the C preprocessor "unix" gets expanded to "1". 'Fix' this. PR: bin/175790 Submitted by: ak Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:06.218658Z K 7 svn:log V 127 Fix typo ('1' != 'l') PR: bin/175975 Submitted by: William Ahern Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:08.515269Z K 7 svn:log V 159 devd: Use volatile sig_atomic_t for the flag set by a signal handler. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:12.328440Z K 7 svn:log V 168 devd: Remove call to _exit() from signal handler, which also sets a stop flag. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:15.076809Z K 7 svn:log V 150 devd: Simplify while (1) { if (x) break; } to while (!x) {}. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:17.499320Z K 7 svn:log V 162 devd: Use the standard constructor of std::string instead of string(""). Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:19.737382Z K 7 svn:log V 182 devd: Avoid unnecessary temporary objects (and simplify the code) when handling std::string. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:22.202927Z K 7 svn:log V 166 devd: Remove empty virtual destructor from class, which has noch subclasses. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:24.523972Z K 7 svn:log V 142 devd: Remove unnecessary empty default constructors. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:26.780373Z K 7 svn:log V 148 devd: Use string::empty() instea of string::length() == 0. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:29.045887Z K 7 svn:log V 146 devd: Use simpler dst += *x instead of str.append(x, 1). Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:31.347342Z K 7 svn:log V 120 devd: Correct typo in comment. Submitted by: Christoph Mallon Approved by: cperciva (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T02:21:34.032015Z K 7 svn:log V 87 Remove check for NULL prior to free(9) and m_freem(9). Approved by: cperciva (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-04T02:36:04.291947Z K 7 svn:log V 404 Wrap some locks around the mesh transmit path. The mesh forwarding frames path is a little special - one of the paths involves rewriting the DA and then forwarding the frame direct to the parent interface rather than going via the vap layer. This is likely not a "good" solution moving forward, but I'll talk with Monthadar about how to fix this. So for now, just wrap the parent call in the TX lock. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-03-04T05:26:09.859710Z K 7 svn:log V 86 Add portsnap mirroring code, previously in the (now defunct) CVS projects repository. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-03-04T05:46:35.696994Z K 7 svn:log V 283 MFC r226775: - Add support for a "!" character in regex matching in devd(8). It inverts the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-03-04T05:46:54.926684Z K 7 svn:log V 283 MFC r226775: - Add support for a "!" character in regex matching in devd(8). It inverts the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-04T06:13:26.691025Z K 7 svn:log V 59 Fix spelling. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-04T06:26:25.903705Z K 7 svn:log V 75 Simplify Boolean expressions. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-04T07:11:10.511052Z K 7 svn:log V 39 Make a pass over most of the comments. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-04T07:20:59.584904Z K 7 svn:log V 147 A Boolean is more appropriate than an int here. Use what I think is a slightly better variable name. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-04T07:25:11.235546Z K 7 svn:log V 57 Fix a typo. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-04T07:40:49.766759Z K 7 svn:log V 95 add a method to set/clear the VMF field in the TX descriptor. Obtained from: Qualcomm Atheros END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-04T09:35:50.005210Z K 7 svn:log V 12 MFC @247774 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-03-04T10:41:54.079703Z K 7 svn:log V 172 If we're using a PIPT L2 cache, only merge 2 segments if both the virtual and the physical addreses are contiguous. Submitted by: Thomas Skibo END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T11:09:56.772540Z K 7 svn:log V 1311 - Make callout(9) tickless, relying on eventtimers(4) as backend for precise time event generation. This greatly improves granularity of callouts which are not anymore constrained to wait next tick to be scheduled. - Extend the callout KPI introducing a set of callout_reset_sbt* functions, which take a sbintime_t as timeout argument. The new KPI also offers a way for consumers to specify precision tolerance they allow, so that callout can coalesce events and reduce number of interrupts as well as potentially avoid scheduling a SWI thread. - Introduce support for dispatching callouts directly from hardware interrupt context, specifying an additional flag. This feature should be used carefully, as long as interrupt context has some limitations (e.g. no sleeping locks can be held). - Enhance mechanisms to gather informations about callwheel, introducing a new sysctl to obtain stats. This change breaks the KBI. struct callout fields has been changed, in particular 'int ticks' (4 bytes) has been replaced with 'sbintime_t' (8 bytes) and another 'sbintime_t' field was added for precision. Together with: mav Reviewed by: attilio, bde, luigi, phk Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo (amd64, sparc64), marius (sparc64), ian (arm), markj (amd64), mav, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T11:22:19.608346Z K 7 svn:log V 603 MFcalloutng (r244355): Make loadavg calculation callout direct. There are several reasons for it: - it is very simple and doesn't worth context switch to SWI; - since SWI is no longer used here, we can remove twelve years old hack, excluding this SWI from from the loadavg statistics; - it fixes problem when eventtimer (HPET) shares interrupt with some other device, and that interrupt thread counted as permanent loadavg of 1; now loadavg accounted before that interrupt thread is scheduled. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, Fabian Keil, markj END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-03-04T11:27:41.571434Z K 7 svn:log V 208 Import libyaml as libbsdyml (private brand name) LibYAML is a YAML 1.1 parser and emitter under MIT license which will soon be used by the pkg boostrap (usr.bin/pkg) and bhyve Reviewed by: roberto, antoine END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T11:34:31.829737Z K 7 svn:log V 117 Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. PR: bin/164976 Submitted by: dteske END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T11:40:52.589903Z K 7 svn:log V 131 MFC r247780: Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. PR: bin/164976 Submitted by: dteske END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-04T11:43:20.917070Z K 7 svn:log V 131 MFC r247780: Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. PR: bin/164976 Submitted by: dteske END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T11:51:46.460899Z K 7 svn:log V 256 MFcalloutng: Convert sleepqueue(9) bits to the new callout KPI. Take advantage of the possibility to run callback directly from hw interrupt context. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T11:55:32.039199Z K 7 svn:log V 68 Style fix: remove useless braces. Sorry, my bad. Submitted by: bde END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T12:20:48.982022Z K 7 svn:log V 246 MFcalloutng: Extend condvar(9) KPI introducing sbt variant of cv_timedwait. This rely on the previously committed sleepq_set_timeout_sbt(). Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T12:33:40.434194Z K 7 svn:log V 280 Evaluations on the likelyhood of empty object cache cannot be made in general way but must be evaluated case by case. Embedd the decision in the caller themselves rather than in a general purpose KPI. Sponsored by: EMC / Isilon storage division Reported by: alc Reviewed by: alc END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T12:48:41.979044Z K 7 svn:log V 263 MFcalloutng: Introduce sbt variants of msleep(), msleep_spin(), pause(), tsleep() in the KPI, allowing to specify timeout in 'sbintime_t' rather than ticks. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T13:10:59.403581Z K 7 svn:log V 415 Merge from vmcontention: As vm objects are type-stable there is no need to initialize the resident splay tree pointer and the cache splay tree pointer in _vm_object_allocate() but this could be done in the init UMA zone handler. The destructor UMA zone handler, will further check if the condition is retained at every destruction and catch for bugs. Sponsored by: EMC / Isilon storage division Submitted by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T13:14:59.204094Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-04T13:17:52.742346Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-04T13:57:46.306371Z K 7 svn:log V 131 Modernize some portions of the ports man page. Stop documenting other operating systems's default patha Approved by: bcr (mentor) END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T14:00:58.856843Z K 7 svn:log V 550 MFcalloutng (r244249, r244306 by mav): - Switch syscons from timeout() to callout_reset_flags() and specify that precision is not important there -- anything from 20 to 30Hz will be fine. - Reduce syscons "refresh" rate to 1-2Hz when console is in graphics mode and there is nothing to do except some polling for keyboard. Text mode refresh would also be nice to have adaptive, but this change at least should help laptop users who running X. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T15:03:52.150720Z K 7 svn:log V 150 Fix build with DIAGNOSTIC/CALLOUT_PROFILING options turned on. Reported by: kib, David Wolfskill Pointy-hat to: davide END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-03-04T15:30:38.874496Z K 7 svn:log V 355 MFC r247159 Improvements for newer mxge nics: - Some mxge nics may store the serial number in the SN2 field of the EEPROM. These will also have an SN=0 field, so parse the SN2 field, and give it precedence. - Skip MXGEFW_CMD_UNALIGNED_TEST on mxge nics which do not require it. This saves roughly 10ms per port at device attach time. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-03-04T15:32:38.999888Z K 7 svn:log V 36 MFC r247160 Bump mxge copyright. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-03-04T15:34:59.034471Z K 7 svn:log V 69 Add myself to access.doc Approved by: core (kib), doceng (implicit) END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T15:57:41.145523Z K 7 svn:log V 494 MFcalloutng: kern_nanosleep() is now converted to use tsleep_sbt(). With this change nanosleep() and usleep() can handle sub-tick precision for timeouts. Also, try to help coalesce of events passing as argument to tsleep_bt() a precision value calculated as a percentage of the sleep time. This percentage is default 5%, but it can tuned according to users need via the sysctl interface. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T16:07:55.171369Z K 7 svn:log V 219 MFcalloutng (r244255 by mav, with minor changes): Specify that syslog doesn't need exactly 5 wakeups per second. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T16:16:23.337818Z K 7 svn:log V 213 MFcalloutng (r236314 by mav): Specify that wakeup rate of 7.5-10Hz is enough for yarrow harvesting thread. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T16:25:12.918491Z K 7 svn:log V 214 MFcalloutng (r244251 with minor changes): Specify that precision of 0.5s is enough for resource limitation. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T16:41:27.989947Z K 7 svn:log V 270 MFcalloutng: Fix kern_select() and sys_poll() so that they can handle sub-tick precision for timeouts (in the same fashion it was done for nanosleep() in r247797). Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-04T16:44:19.917585Z K 7 svn:log V 45 MFC r246361 ... bump .Dd for content change. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-04T16:50:01.085487Z K 7 svn:log V 379 MFC r246134 ... Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid making temporary copies of the strings, and avoid doing byte at a time append operations, on the most-used code path. On a 1.2 GHz ARM processor this reduces the time to parse the config files from 13 to 6 seconds. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T16:55:16.247655Z K 7 svn:log V 299 MFcalloutng: - Rewrite kevent() timeout implementation to allow sub-tick precision. - Make the interval timings for EVFILT_TIMER more accurate. This also removes an hack introduced in r238424. Sponsored by: Google Summer of Code 2012, iXsystems inc. Tested by: flo, marius, ian, markj, Fabian Keil END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-04T17:35:10.976079Z K 7 svn:log V 252 MFC 199757: - For 350 chips, don't set various INTR bits in TX control word; turning INTR bits on seems to confuse hardware TX engine. - For 350 chips, set TX desc's buffer physical address before turning on the TX desc valid bit. PR: kern/85886 END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-04T17:39:17.636372Z K 7 svn:log V 885 MFC r246121 r246361 ... Fix a descriptor leak in devd. Clients reading /var/run/devd.pipe can close their socket connection any time, and devd only notices that when it gets an error trying to write an event to the client. On a system with no device change activity, clients could connect and disappear repeatedly without devd noticing, leading to an ever-growing list of open socket descriptors in devd. Now devd uses poll(2) looking for POLLHUP on all existing clients every time a new client connection is established, and also periodically (once a minute) to proactively find zombie clients and reap the socket descriptors. It also now has a connection limit, configurable with a new -l command line arg. When the maximum number of connections is reached it stops accepting new connections until some current clients drop off. Bump .Dd in for content change (r246361). END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T18:07:28.384242Z K 7 svn:log V 41 Merge from head (and resolve conflicts). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-04T18:28:24.042278Z K 7 svn:log V 66 MFC 205541,205592: Implement /proc/filesystems. PR: kern/142595 END K 10 svn:author V 3 des K 8 svn:date V 27 2013-03-04T18:46:55.910881Z K 7 svn:log V 144 Merge upstream r634:646: correctly parse mixed quoted / unquoted text. See http://www.openpam.org/wiki/Errata#Configurationparsing for details. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-03-04T18:51:53.530216Z K 7 svn:log V 71 Merge upstream r634:646: correctly parse mixed quoted / unquoted text. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-04T19:01:38.573348Z K 7 svn:log V 131 Do not suddenly fail on some rulesets if -n (syntax check only) is specified and ipfw(4) module is not loaded. MFC after: 2 weeks END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T19:10:39.555660Z K 7 svn:log V 154 MFcalloutng: Dcoument the new functions added to condvar(9), sleep(9), sleepqueue(9) KPIs. Also document recent changes in timeout(9) and eventtimers(4). END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T21:09:22.313389Z K 7 svn:log V 67 Use C99 'bool' rather than Machish 'boolean_t'. Requested by: jhb END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-03-04T21:18:45.516781Z K 7 svn:log V 853 Re-enable CTL in GENERIC on i386 and amd64, but turn on the CTL disable tunable by default. This will allow GENERIC configurations to boot on small memory boxes, but not require end users who want to use CTL to recompile their kernel. They can simply set kern.cam.ctl.disable=0 in loader.conf. The eventual solution to the memory usage problem is to change the way CTL allocates memory to be more configurable, but this should fix things for small memory situations in the mean time. UPDATING: Explain the change in the CTL configuration, and how users can enable CTL if they would like to use it. sys/conf/options: Add a new option, CTL_DISABLE, that prevents CTL from initializing. ctl.c: If CTL_DISABLE is turned on, don't initialize. i386/conf/GENERIC, amd64/conf/GENERIC: Re-enable device ctl, and add the CTL_DISABLE option. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-04T21:20:13.389953Z K 7 svn:log V 95 Add quirk to enable headphones redirection on Lenovo X220. PR: kern/174876 MFC after: 1 week END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-04T21:35:49.042146Z K 7 svn:log V 36 Handle multiple M2D_OBJROOTS better END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-04T21:36:34.178378Z K 7 svn:log V 41 Move STAGING related setup to bsd.sys.mk END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T21:52:12.747829Z K 7 svn:log V 96 Complete r247813: Use true/false instead of TRUE/FALSE. Reported by: attilio Requested by: jhb END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-04T22:04:14.774260Z K 7 svn:log V 321 MFC r209583 ... Expand system into my_system, and add the necessary tidyness that we need. Close the pidfile. Then close all descriptors >= 3 to avoid information leakage to children. This solves the problem of not being able to restart devd when you have, for example, a dhclient forked to configure your network... END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-03-04T22:07:36.885015Z K 7 svn:log V 749 Fix assertion failure when using userland DTrace probes from the pid provider on a kernel compiled with INVARIANTS. sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c: In fasttrap_probe_pid(), attempts to write to the address space of the thread that fired the probe must be performed with the process of the thread held. Use _PHOLD() to ensure this is the case. In fasttrap_probe_pid(), use proc_write_regs() instead of calling set_regs() directly. proc_write_regs() performs invariant checks to verify the calling environment of set_regs(). PROC_LOCK()/UNLOCK() around the call to proc_write_regs() so that it's invariants are satisfied. Sponsored by: Spectra Logic Corporation Reviewed by: gnn, rpaulo MFC after: 1 week END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-03-04T22:41:49.246221Z K 7 svn:log V 118 - Bump __FreeBSD_version after recent callout(9) changes. - Add an entry in UPDATING to notice users about breakages. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-03-04T23:07:40.131638Z K 7 svn:log V 603 First, sync to internal shared code, and then Fixes: - flow control - don't override user value on re-init - fix to make 1G optics work correctly - change to interrupt enabling - some bits were incorrect for certain hardware. - certain stats fixes, remove a duplicate increment of ierror, thanks to Scott Long for pointing these out. - shared code link interface changed, requiring some core code changes to accomodate this. - add an m_adj() to ETHER_ALIGN on the recieve side, this was requested by Mike Karels, thanks Mike. - Multicast code corrections also thanks to Mike Karels. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-03-04T23:15:07.716411Z K 7 svn:log V 254 Fix a small, but important bug, a task drain was mistakenly being compiled only when setting LEGACY_TX, this means you would not get the drain when needed on detach!! Thanks to Bryan Venteicher (bryanv@freebsd.org) for catching this little gremlin!! :) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-04T23:15:25.913642Z K 7 svn:log V 666 MFC ... r210609 - remove unused string r210610 - avoid copy ctors by using prefix operators r213646 - allow spacey things (liberal whitespace parsing) r236388 - libc++ compatibility (add :: prefix to bind() call) r240823 - use O_CLOEXEC for open instead of separate fcntl(2) call r243932 - prefer init expression to assignment in ctor r209583 ... Expand system into my_system, and add the necessary tidyness that we need. Close the pidfile. Then close all descriptors >= 3 to avoid information leakage to children. This solves the problem of not being able to restart devd when you have, for example, a dhclient forked to configure your network... END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-04T23:22:37.071438Z K 7 svn:log V 281 MFC r246134 ... Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid making temporary copies of the strings, and avoid doing byte at a time append operations, on the most-used code path. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-03-05T00:52:14.412040Z K 7 svn:log V 99 Add FreeBSD Update build and mirroring code (formerly in the now-defunct CVS projects repository). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-05T06:41:39.305227Z K 7 svn:log V 180 MFC r247443: Refresh vendor driver version which adds ARC-1224 support. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-05T06:43:54.002778Z K 7 svn:log V 192 MFC r247594: Fix a typo in mfi_stp_cmd() that would give wrong assignment. Submitted by: Sascha Wildner Obtained from: DragonFly rev 0dc98fff2206d7bb78ce5e07ac34d6954e4bd96a END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-03-05T07:00:05.853043Z K 7 svn:log V 403 Only set the barrier flag if the feature was negotiated When the VirtIO barrier feature is not negotiated, the driver must enforce the proper ordering for BIO_ORDERED BIOs. All the in-flight BIOs must complete before starting the BIO, and the ordered BIO must complete before subsequent BIOs can start. Also fix a few whitespace nits. Reported by: neel Approved by: grehan (mentor) MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-05T08:08:16.594375Z K 7 svn:log V 138 Simplify TAILQ usage and avoid additional memory allocations. Tested by: Eugene M. Zheganin Sponsored by: Nginx, Inc END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-05T08:09:53.501000Z K 7 svn:log V 100 WiP merge of libzfs_core (MFV r238590, r238592) not yet working, ioctl handling needs to be changed END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-05T09:07:01.919978Z K 7 svn:log V 91 Import the likely() compat macro. Sponsored by: The FreeBSD Foundation MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-05T09:07:58.378015Z K 7 svn:log V 99 Import the drm_mm_debug_table() function. Sponsored by: The FreeBSD Foundation MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-05T09:27:21.422323Z K 7 svn:log V 99 Import the drm_global references helpers. Sponsored by: The FreeBSD Foundation MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-05T09:49:34.289915Z K 7 svn:log V 229 Import the preliminary port of the TTM. The early commit is done to facilitate the off-tree work on the porting of the Radeon driver. Sponsored by: The FreeBSD Foundation Debugged and tested by: dumbbell MFC after: 1 month END K 10 svn:author V 7 fabient K 8 svn:date V 27 2013-03-05T10:18:48.022744Z K 7 svn:log V 102 Add a generic way to call per event allocate / release function. Reviewed by: mav MFC after: 1 month END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-03-05T11:02:05.072461Z K 7 svn:log V 239 g_label_ntfs.c: Mark structures as __packed Without this, read data is mis-interpreted. This could trigger a panic, as was the case on one computer where computed "recsize" was zero, leading to a call to g_read_page() asking for 0 bytes. END