ƒ²244147 196 878 272 204 115 141 143 122 195 345 153 433 1238 254 187 356 316 117 193 230 232 287 163 180 128 196 1320 144 104 193 158 190 137 134 154 198 166 444 299 412 163 599 446 128 330 299 340 944 448 157 197 153 281 137 426 383 190 572 224 225 225 228 272 155 264 529 182 102 151 113 256 205 646 160 132 126 159 152 293 596 400 305 133 528 146 140 156 144 140 317 183 310 186 232 805 241 449 203 199 184 381 187 187 240 206 158 136 121 165 155 296 155 323 323 323 179 179 179 136 374 106 417 347 133 301 495 423 163 275 163 768 156 191 261 635 159 574 356 445 173 121 350 143 288 287 243 179 153 226 237 423 246 246 246 198 198 198 288 288 288 347 168 233 142 204 123 135 170 138 106 156 143 259 209 273 418 151 319 2808 279 116 147 167 161 234 335 125 124 104 259 120 169 178 244 226 286 1093 K 10 svn:author V 6 davide K 8 svn:date V 27 2012-12-12T12:02:58.704665Z K 7 svn:log V 782 Various improvements: - Fix build (OFED-related bits). - Change the new KPI for precision. Now an additional struct bintime argument is used to specify precision. This way we can express precision tolerance as an absolute value, which gives us the maximum flexibility. The old services can specify precision tolerance in terms of percentage of passed time in 'ticks'. - Allow the possibility to choose between getbinuptime() or binuptime(), using a threshold value to discriminate between the two. Users can choose threshold via sysctl to fit their needs. The rationale behind this choice relies on the fact that for long timeouts the impact of the relative measurement of getbinuptime() is relatively low. - Adapt nanosleep(), poll(), select() to these changes. Reviewed by: mav END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-12-12T12:14:05.887114Z K 7 svn:log V 176 FREQ2BT is an heavy 64-bit division. There's no need to compute that everytime we enter in callout_reset_on(), in particular if the input is a costant and precalculated value. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-12-12T12:24:54.015164Z K 7 svn:log V 108 Precision-calculation code for old KPI doesn't work very well in case timeout is short. Suggested by: mav END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-12-12T12:37:43.731576Z K 7 svn:log V 20 MFC as per r244149. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-12T13:27:13.237319Z K 7 svn:log V 45 Also create a lockfiles/ directory per-arch. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-12T13:33:11.836436Z K 7 svn:log V 47 Also create lockfiles/ subdir here, if needed. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-12T15:27:33.652620Z K 7 svn:log V 30 Eliminate redundant variable. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-12T15:45:03.960983Z K 7 svn:log V 102 Use kern.max_pid sysctl to obtain maximum PID number instead of using local define. Reviewed by: jhb END K 10 svn:author V 3 smh K 8 svn:date V 27 2012-12-12T16:14:14.520142Z K 7 svn:log V 252 Renamed zfs trim stats removing duplicate zio_trim identifier from the name Added description option to kstats. Added descriptions for zio_trim kstats PR: kern/173113 Submitted by: Steven Hartland Reviewed by: pjd Approved by: pjd MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2012-12-12T16:59:07.638713Z K 7 svn:log V 61 Add myself as a new src committer Approved by: pjd (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-12T17:41:21.866507Z K 7 svn:log V 336 Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it, but later after processing and freeing the tag, we need to jump back again to the findpcb label. Since the fwd_tag pointer wasn't NULL we tried to process and free the tag for second time. Reported & tested by: Pawel Tyll MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-12-12T17:49:01.535629Z K 7 svn:log V 1141 Fix a regression caused by SVN r222417. Prior to r222417, setting `password' in loader.conf(5) did not prevent boot but instead only prevented changes to boot options by prompting for password if autoboot failed or the user interrupted the countdown sequence. After r222417 the same machine with `password' set in loader.conf(5) would no longer boot without _always_ entering the password. This patch restores the old (8.x and older) functionality for password in loader.conf(5) while adding a new bootlock_password feature to replace the edge-case should anybody desire the regressed functionality (HINT: great for PXE servers and/or private distributions). loader.conf(5) was updated to be more clear with-respect to password setting (previous text was misleading). Documentation (loader.conf(5) and check-password.4th(8)) has been updated to include notes on the new bootlock_password setting. Special thanks to Alex Verbod for bringing this to my attention and helping to refine the loader.conf(5) text. PR: conf/170110 Submitted by: Vitaly Zakharov Reviewed by: Alexander Verbod END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-12-12T19:25:48.919745Z K 7 svn:log V 158 Create unique MAC addresses for virtio devices that are created with non-zero PCI function numbers. Remove obsolete reference to CFE. Obtained from: NetApp END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-12-12T19:45:36.888677Z K 7 svn:log V 92 Properly reset the tx/rx rings when a guest requests a device reset. Obtained from: NetApp END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-12T20:55:30.549205Z K 7 svn:log V 259 Set default policies for dealing with SVN conflicts. For background updates, smash any local changes. For makeworld or build commands that do not specify -novcs, keep local changes and for later resolution. The latter is not yet tested. Suggested by: beat END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-12-12T22:01:10.081938Z K 7 svn:log V 220 sh: Detect and flag write errors on stdout in builtins. If there is a write error on stdout, a message will be printed (to stderr) and the exit status will be changed to 2 if it would have been 0 or 1. PR: bin/158206 END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-12T22:25:31.763628Z K 7 svn:log V 19 Add my ex-mentors. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-13T00:44:23.985656Z K 7 svn:log V 98 Give credit where credit is due. Requested by: Ãlvaro Castillo Approved by: cperciva (implicit) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-13T01:39:49.970647Z K 7 svn:log V 134 Change progress indicator for downloading patches. Use a percent style indicator instead of emitting one long line of patch numbers. END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-12-13T01:44:58.849281Z K 7 svn:log V 138 Reluctantly remove one of the most extraordinary numeric conversion routines I have ever seen and replace with something far more boring. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-12-13T01:58:11.563765Z K 7 svn:log V 191 Rename fbsdrun.* -> bhyverun.* bhyve is intended to be a generic hypervisor, and not FreeBSD-specific. (renaming internal routines will come later) Reviewed by: neel Obtained from: NetApp END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-12-13T02:21:05.378289Z K 7 svn:log V 70 Use even more conventional conversion routines. Reported by: peterj@ END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-12-13T03:33:01.648756Z K 7 svn:log V 86 Disable interrupts in filter in order to avoid interrupt storm and CPU starvation END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-12-13T03:34:24.907970Z K 7 svn:log V 34 Add memory barrier macros for ARM END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-12-13T03:35:47.010900Z K 7 svn:log V 101 Prevent possible usage of uninitialized pbase variable by checking return value of fdt_get_range END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-13T06:17:05.454821Z K 7 svn:log V 1226 MFC r242958: Add the wait6(2) system call. It takes POSIX waitid()-like process designator to select a process which is waited for. The system call optionally returns siginfo_t which would be otherwise provided to SIGCHLD handler, as well as extended structure accounting for child and cumulative grandchild resource usage. Allow to get the current rusage information for non-exited processes as well, similar to Solaris. The explicit WEXITED flag is required to wait for exited processes, allowing for more fine-grained control of the events the waiter is interested in. Fix the handling of siginfo for WNOWAIT option for all wait*(2) family, by not removing the queued signal state. PR: standards/170346 MFC r243133: Style fixes for r242958. MFC r243134: Alphabetically reorder the forward-declarations of the structures. Add the declaration for enum idtype, to be used later. MFC r243135: Move the definition of the idtype_t from sys/types.h to sys/wait.h. Fix the bug, use #if __BSD_VISIBLE instead of #if defined(__BSD_VISIBLE), since __BSD_VISIBLE is always defined. Reformat the comments from the Solaris style to KNF. MFC r243136: Restore the proper handling of the pid 0 for waitpid(2). Fix the style around. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-13T06:17:05.658413Z K 7 svn:log V 48 Make a commented-out line dependent on VERBOSE. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-13T06:20:01.336666Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-13T06:24:54.533912Z K 7 svn:log V 100 MFC r242960: Implement the waitid() SUSv4 function using wait6() system call. PR: standards/170346 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-13T06:27:58.704157Z K 7 svn:log V 66 MFC r242961: Document wait6() and waitid(). PR: standards/170346 END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-13T06:40:23.985692Z K 7 svn:log V 94 Be less picky about how qmanager is started. This is useful for debug instances of qmanager. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-13T06:42:30.686932Z K 7 svn:log V 41 OK, maybe not _quite_ that loose a test. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-12-13T06:42:44.991886Z K 7 svn:log V 39 Add the common FreeBSD SVN properties. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-12-13T06:45:45.857061Z K 7 svn:log V 59 Bump MAX_COLS to 512 to take advantage of wider terminals. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-13T09:41:32.660646Z K 7 svn:log V 105 Fix the location of auditdistd configuration file. Reported by: Johan Hendriks END K 10 svn:author V 3 smh K 8 svn:date V 27 2012-12-13T09:55:26.798439Z K 7 svn:log V 74 Fixed missing 'n' of \n for my committers line Approved by: avg (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-13T11:11:15.481855Z K 7 svn:log V 347 Fix problem in r238990. The LLE_LINKED flag should be tested prior to entering llentry_free(), and in case if we lose the race, we should simply perform LLE_FREE_LOCKED(). Otherwise, if the race is lost by the thread performing arptimer(), it will remove two references from the lle instead of one. Reported by: Ian FREISLICH END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-13T12:48:57.642636Z K 7 svn:log V 202 Initialize state id prior to attaching state to key hash. Otherwise a race can happen, when pf_find_state() finds state via key hash, and locks id hash slot 0 instead of appropriate to state id slot. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-13T12:51:22.616486Z K 7 svn:log V 315 Merge rev. 1.119 from OpenBSD: date: 2009/03/31 01:21:29; author: dlg; state: Exp; lines: +9 -16 ... this also firms up some of the input parsing so it handles short frames a bit better. This actually fixes reading beyond mbuf data area in pfsync_input(), that may happen at certain pfsync datagrams. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-13T15:19:37.321415Z K 7 svn:log V 68 Loop back new version information for bug fixes submitted upstream. END K 10 svn:author V 3 smh K 8 svn:date V 27 2012-12-13T17:06:38.967909Z K 7 svn:log V 506 Upgrades trim free request sizes before inserting them into to free map, making range consolidation much more effective particularly for small deletes. This reduces memory used by the free map as well as reducing the number of bio requests down to geom required to process all deletes. In tests this achieved a factor of 10 reduction of trim ranges / geom call downs. While I'm here correct the description of zio_vdev_io_start. PR: kern/173254 Submitted by: Steven Hartland Approved by: pjd (mentor) END K 10 svn:author V 3 smh K 8 svn:date V 27 2012-12-13T17:39:07.859529Z K 7 svn:log V 353 Added vfs.zfs.vdev.trim_on_init sysctl which allows full vdev trim on initialisation to be enabled (1) / disabled (0) defaults to enabled. This is useful for devices which have a slow trim speed and are either new or have otherwise already been wiped e.g. secure erase. PR: kern/173116 Submitted by: Steven Hartland Approved by: pjd (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-13T19:29:44.496803Z K 7 svn:log V 36 Fix build with KTR_CALLOUT enabled. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-12-13T20:07:11.310081Z K 7 svn:log V 234 Make kern.tc_timepercentage procedural, so that everytime we change its value, the variables which depends from it are changed accordingly. While here, rename the aforementioned sysctl to something more appropriate. Reviewed by: mav END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-13T21:27:20.228556Z K 7 svn:log V 200 Revert r243960 based on feedback regarding keeping x86 headers unified (mdf@, tijl@) and use of KASSERT/systm.h in bus.h (zeising@, bde@). Alternate implementation will be made in a separate commit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-13T21:39:59.308557Z K 7 svn:log V 247 - Fix bug in TIMESEL() macro, incorrectly using (get)binuptime() functions. - Make TIMESEL() macro return flag reporting which of functions was used. - Use the above flag to simplify the code. - Make some minor optimizations. Reviewed by: davide END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-13T21:40:11.436913Z K 7 svn:log V 845 Add bus_space_read_8 and bus_space_write_8 for amd64. Rather than trying to KASSERT for callers that invoke this on IO tags, either do nothing (for write_8) or return ~0 (for read_8). Using KASSERT here just makes bus.h too messy from both polluting bus.h with systm.h (for any number of drivers that include bus.h without first including systm.h) or ports that use bus.h directly (i.e. libpciaccess) as reported by zeising@. Also don't try to implement all of the other bus_space functions for 8 byte access since realistically only these two are needed for some devices that expose 64-bit memory-mapped registers. Put the amd64-specific functions here rather than sys/amd64/include/bus.h so that we can keep this header unified for x86, as requested by mdf@ and tijl@. Submitted by: Carl Delsey MFC after: 3 days END K 10 svn:author V 3 smh K 8 svn:date V 27 2012-12-13T22:03:07.568996Z K 7 svn:log V 355 Fixes zfs receive errors caused by snapshot replication being processed in a random order instead of creation order. Eliminates needless filesystem renames caused by removed parent snapshots which subsequently causes many more errors. PR: kern/172259 Submitted by: Steven Hartland Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after: 2 weeks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-12-13T23:03:37.225656Z K 7 svn:log V 63 Add driver for PrimeCell Vectored Interrupt Controller (PL190) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-13T23:05:45.242252Z K 7 svn:log V 104 Use correct precision for legacy callouts. Zero flags mean precision of half tick, not a full interval. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-12-13T23:19:13.378839Z K 7 svn:log V 59 Add support for QEMU's version of Versatile Platform Board END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-12-13T23:32:47.636602Z K 7 svn:log V 184 Teach sysctl(8) about parsing a file (while I'm there also give it capability of parsing both = and : formats). Submitted by: hrs (initial version, bugs are mine) MFC after: 3 months END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T00:13:29.331891Z K 7 svn:log V 45 - Extend precision range. - Fix sysctl name. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2012-12-14T05:27:56.915607Z K 7 svn:log V 330 virtio: Start taskqueues threads after attach cannot fail If virtio_setup_intr() failed during boot, we would hang in taskqueue_free() -> taskqueue_terminate() for all the taskq threads to terminate. This will never happen since the scheduler is not running by this point. Reported by: neel, grehan Approved by: grehan (mentor) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2012-12-14T07:48:03.247143Z K 7 svn:log V 287 Create projects branch for vmxnet driver development This will be used to import a port of the OpenBSD if_vic vmxnet2 driver, and for the eventual development of a vmxnet3 driver. The goal is to replace the existing the drivers provided in the VMware FreeBSD tools that are quite poor. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-14T08:02:35.406919Z K 7 svn:log V 94 Fix VIMAGE build broken in r244185. Submitted by: Nikolai Lifanov END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2012-12-14T08:07:37.116680Z K 7 svn:log V 476 Initial import of the OpenBSD if_vic ethernet driver This started off as a quick and dirty port done on a boring flight, but has basically turned into a complete rewrite of much of the original code, making all bugs my own. There are still a couple of XXX comments to be addressed, and more research on the ESXi and Fusion black boxes needs to be completed. The rest of the work needed to hook this to the build will come in a later commit. Approved by: grehan (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-12-14T08:52:08.394034Z K 7 svn:log V 130 MFC r243021: return ERANGE if the buffer is too small to contain the login as documented in the manpage Reviewed by: cognet, kib END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-12-14T08:53:25.039915Z K 7 svn:log V 131 MRC r243021: return ERANGE if the buffer is too small to contain the login as documented in the manpage Reviewed by: cognet, kib END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-12-14T08:54:52.837151Z K 7 svn:log V 131 MFC r243021: return ERANGE if the buffer is too small to contain the login as documented in the manpage Reviewed by: cognet, kib END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-12-14T09:00:18.728891Z K 7 svn:log V 134 Add pci id for the xeon hd4000 (IvyBridge server GT2) Submitted by: François Tigeot Obtained from: dragonfly END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-12-14T11:38:15.462110Z K 7 svn:log V 180 MFC r242130: Improve libgeom XML parsing error handling. - Abort parsing and return an error if we run out of memory. - Return EILSEQ from geom_xml2tree() for XML syntax errors. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-12-14T12:37:35.248936Z K 7 svn:log V 64 Add an #include guard to the sys/fnv_hash.h. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-14T13:01:16.711246Z K 7 svn:log V 167 Fix error in r235991. No-sleep version of IFNET_RLOCK() should be used here, since we may hold the main pf rulesets rwlock. Reported by: Fleuriot Damien END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T14:45:18.430870Z K 7 svn:log V 436 Make precision representation single-sided: 0/+prec instead of -prec/+prec. Double-sided representation appeared to be useful in very small number of cases, while atempts to adapt single-sided APIs to double-sided backend caused big mistakes on long periods without giving any benefits. Depending on CPU activity, new implementation caps mistake by 1ms..0.5s on long intervals, still staying within specified precision on short ones. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-14T14:52:54.892421Z K 7 svn:log V 86 Refactor. Make it so that the build userid can be something other than ports-. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T14:54:07.871070Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-14T14:59:35.063427Z K 7 svn:log V 55 Comment cleanup to go with new code that is still WIP. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-14T15:01:23.136471Z K 7 svn:log V 21 Whitespace cleanups. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-14T15:03:12.510662Z K 7 svn:log V 163 If we are not going to clear the dump (we are either just checking if the dump exists or we want to keep it), open device read-only. Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-14T15:04:39.553480Z K 7 svn:log V 112 The clear option (-c) is not compatible with keep (-k) and compress (-z) options. Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-14T15:12:08.612167Z K 7 svn:log V 553 - When checking if a dump exists on the given device there is no need to provide dump directory. Eliminate this redundant argument. This changes the usage, but the only risk here is that a warning will be printed about directory given as device. - Update usage of -C option. - When clearing dump header from the given device there is also no need to provide dump directory, although additional arguments for -c were not documented. - Document that -v can be used with -c and that list of devices can be given. Obtained from: WHEEL Systems END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-14T15:17:53.211999Z K 7 svn:log V 64 Parameterize uid. Rip out special hard-coding of ports-. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T15:37:32.679973Z K 7 svn:log V 40 Slightly tune time conversion constant. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T16:04:09.245186Z K 7 svn:log V 34 Document new precision arguments. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-14T16:12:16.504672Z K 7 svn:log V 63 Un-hardwire ports- if PORTBUILD_USER/_GROUP are defined. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T16:28:10.282616Z K 7 svn:log V 60 Use system-wide precision level for legacy callout(9) APIs. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-14T18:30:01.738395Z K 7 svn:log V 197 Minor refactoring prior to .symbols file changes - Combine .if x and .if !x using .else - Separate out beforelinking dependency - Add comments to clarify .if nesting Sponsored by: ADARA Networks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T21:22:23.463798Z K 7 svn:log V 503 Add some simple adaptiveness to the maximal next even lookup depth. If callout_process() was called two times within the same millisecond, limit lookup by 1/16s instead of default 1/2s. On the amd64 test system it reduces usleep(1) time from 8us to 6us, handling about 180K callouts and thread wakeups per second in one stream with not full CPU load. That is the only price of staying with the callwheel data structure. Unless at some point we want to sleep/lookup for minutes, it doesn't look high. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-14T21:49:06.580770Z K 7 svn:log V 302 The group list for a non-default export entry (a host/subnet one) was being copied from the wrong place. This patch fixes that. This could cause access failures for mapped users, when the group permissions were needed. PR: 147998 Submitted by: Christopher Key (cjk32 at cam.ac.uk) MFC after: 2 weeks END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-14T21:52:57.777516Z K 7 svn:log V 206 Delete old ioat branch, where no work was ever done. We are ready to push an ioat driver to a projects branch, but will do it on a freshly created branch, rather than doing an MFC to this old ioat branch. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-14T21:55:32.911593Z K 7 svn:log V 35 Create new branch for ioat driver. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-14T22:23:36.964167Z K 7 svn:log V 429 Add ioat driver and test tool. ioat is also referred to as Crystal Beach DMA and is a Platform Storage Extension (PSE) on E5 (Sandy Bridge) Intel Xeon processors. This driver currently supports DMA descriptors only and is part of a larger effort to upstream an interconnect between multiple systems using the Non-Transparent Bridge (NTB) PSE. Sponsored by: Intel Submitted by: jimharris, Carl Delsey END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-14T22:45:03.513263Z K 7 svn:log V 51 Vendor import of NetBSD's (un)vis(3) at 2012-12-14 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-14T22:47:09.550931Z K 7 svn:log V 45 Tag 2012-12-14 import of NetBSD's (un)vis(3) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-14T23:04:56.632242Z K 7 svn:log V 61 Vendor import of NetBSD's (un)vis(3) at 2012-12-14 (2nd one) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-14T23:06:31.071610Z K 7 svn:log V 49 Tag 2nd 2012-12-14 import of NetBSD's (un)vis(3) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-14T23:07:25.593011Z K 7 svn:log V 45 Add a guide to upgrading (un)vis(3) imports. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-14T23:13:06.673432Z K 7 svn:log V 224 Make dcons input polling adaptive, reducing poll rate to 1Hz after several minutes of inactivty to reduce global interrupt rate. Most of users never used FireWire debugging, so it is not very useful to consume power by it. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-15T00:03:35.206191Z K 7 svn:log V 88 Put shared library debug info into separate .symbols file Sponsored by: ADARA Networks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-15T02:02:11.367972Z K 7 svn:log V 217 Remove a special case for XEN, which is erronous and makes vfork(2) behaviour to differ from the documented, only on XEN. If there are any issues with XEN pmap left, they should be fixed in pmap. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-15T02:03:06.917915Z K 7 svn:log V 94 Line up the continuation backslashes. Sponsored by: The FreeBSD Foundation MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-15T02:03:59.515031Z K 7 svn:log V 139 Fix a typo, resulting in the NULL pointer dereference. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-15T02:04:46.728931Z K 7 svn:log V 712 When mnt_vnode_next_active iterator cannot lock the next vnode and yields, specify the user priority for the yield. Otherwise, a higher-priority (kernel) thread could fall into the priority-inversion with the thread owning the mutex lock. On single-processor machines or UP kernels, do not loop adaptively when the next vnode cannot be locked, instead yield unconditionally. Restructure the iteration initializer and the iterator to remove code duplication. Put the code to fetch and lock a vnode next to the current marker, into the mnt_vnode_next_active() function, and use it instead of repeating the loop. Reported by: hrs, rmacklem Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T07:11:16.192524Z K 7 svn:log V 148 Make led(4) fire callouts at 10Hz only when there is at least one LED that is requested to blink. Do not fire if all LEDs are static (usual case). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-15T08:29:22.707348Z K 7 svn:log V 352 Merge from head r244157: Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it, but later after processing and freeing the tag, we need to jump back again to the findpcb label. Since the fwd_tag pointer wasn't NULL we tried to process and free the tag for second time. Reported & tested by: Pawel Tyll END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-12-15T08:53:58.367714Z K 7 svn:log V 108 Fix extending filesystems of weird size by making sure the actual size is always multiple of fragment size. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T09:24:17.802818Z K 7 svn:log V 106 Add callout_reset_flags() to the new KPI. Most of callout consumers now don't bother about CPU argument. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-12-15T09:50:31.844096Z K 7 svn:log V 93 Push vendor/illumos/dist to illumos-gate 13894:f4af77f6bbd2 (illumos zfs issues #3397 #3398) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-12-15T10:02:11.492933Z K 7 svn:log V 289 MFV r244245: Merge two zdb bugfixes from vendor (illumos) illumos-gate 13894:f4af77f6bbd2 3397 zdb output is too verbose 3398 zdb can't dump feature flags zap objects References: https://www.illumos.org/issues/3397 https://www.illumos.org/issues/3398 MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-12-15T10:27:07.248167Z K 7 svn:log V 90 MFC r244027: Add support for various Yamaha keyboards. MFC after: 1 week PR: usb/174254 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-12-15T10:30:06.638323Z K 7 svn:log V 90 MFC r244027: Add support for various Yamaha keyboards. MFC after: 1 week PR: usb/174254 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T10:44:16.043587Z K 7 svn:log V 147 Switch syscons from timeout() to callout_reset_flags() and specify that precision is not important there -- anything from 20 to 30Hz will be fine. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T10:46:57.705742Z K 7 svn:log V 113 Switch atkbd watchdog from timeout() to callout_reset_flags() and specify that precision is not important there. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T10:48:10.526415Z K 7 svn:log V 66 Specify that precision of 0.5s is enough for resource limitation. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-12-15T10:56:16.671042Z K 7 svn:log V 39 Regenerate usb.conf MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T11:44:04.713177Z K 7 svn:log V 29 Add msleep_spin_flags() KPI. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T11:49:32.229857Z K 7 svn:log V 73 Specify that wakeup rate of 7.5-10Hz is OK for yarrow harvesting thread. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T12:19:24.081404Z K 7 svn:log V 63 Specify that syslog doesn't need exactly 5 wakeups per second. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-15T13:27:45.602376Z K 7 svn:log V 199 Vendor import of OpenBSM 1.2-alpha3. This eliminates most local patches made relative to OpenBSM 1.2-alpha2 in order to build OpenBSM as part of the FreeBSD base. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-15T13:29:16.927021Z K 7 svn:log V 59 Tag OpenBSM 1.2-alpha3. Obtained from: TrustedBSD Project END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T14:34:32.595243Z K 7 svn:log V 227 MFC r243899: Use Bernard Baruch's full name. The words "old than" seem to be quoted as "older than" by some sources, so use the more likely and grammatically correct text. PR: docs/173868 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T14:34:33.687197Z K 7 svn:log V 227 MFC r243899: Use Bernard Baruch's full name. The words "old than" seem to be quoted as "older than" by some sources, so use the more likely and grammatically correct text. PR: docs/173868 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T14:34:33.873086Z K 7 svn:log V 227 MFC r243899: Use Bernard Baruch's full name. The words "old than" seem to be quoted as "older than" by some sources, so use the more likely and grammatically correct text. PR: docs/173868 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T14:36:40.974371Z K 7 svn:log V 84 MFC r244017: Sync with Library of Congress list. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T14:36:41.230374Z K 7 svn:log V 84 MFC r244017: Sync with Library of Congress list. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T14:36:41.732691Z K 7 svn:log V 84 MFC r244017: Sync with Library of Congress list. Approved by: cperciva (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T14:45:32.954870Z K 7 svn:log V 44 Add several functions for KPI completeness. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-15T14:59:00.444101Z K 7 svn:log V 277 Merge OpenBSM 1.2-alpha3 from the vendor branch to 10-CURRENT; this version included various upstreamed patches from the FreeBSD base to make OpenBSM compile more easily with bmake, higher warning levels, clang, and several other loose ends. Obtained from: TrustedBSD Project END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T15:01:46.408842Z K 7 svn:log V 14 MFC @ r244264 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-12-15T15:21:09.720848Z K 7 svn:log V 320 Four .c files from OpenBSM are used, in modified form, by the kernel to implement the BSM audit trail format. Rename the kernel versions of the files to match the userspace filenames so that it's easier to work out what they correspond to, and therefore ensure they are kept in-sync. Obtained from: TrustedBSD Project END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-12-15T17:19:36.936372Z K 7 svn:log V 250 In pfioctl, if the permission checks failed we returned with vnet context set. As the checks don't require vnet context, this is fixed by setting vnet after the checks. PR: kern/160541 Submitted by: Nikos Vassiliadis (slightly different approach) END K 10 svn:author V 3 phk K 8 svn:date V 27 2012-12-15T17:54:29.251378Z K 7 svn:log V 41 Update to the new and brighter pkg world END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-12-15T18:19:48.724052Z K 7 svn:log V 204 New devstat metrics for devstat_compute_statistics(): DSM_TOTAL_DURATION DSM_TOTAL_DURATION_READ DSM_TOTAL_DURATION_WRITE DSM_TOTAL_DURATION_FREE DSM_TOTAL_DURATION_OTHER DSM_TOTAL_BUSY_TIME END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-12-15T18:21:09.974568Z K 7 svn:log V 398 Change `iostat -Ix` to display total duration of transactions instead of average duration, and total busy time instead of %. This looks more useful when one runs `iostat -Ix` periodically to collect statistics: e.g. now it is possible to calculate busy % between two runs subtracting total busy times and dividing per time period. Average duration and % busy are still available via `iostat -x`. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-12-15T20:04:24.265325Z K 7 svn:log V 331 In additional to the tailq of IPv6 addresses add the hash table. For now use 256 buckets and fnv_hash function. Use xor'ed 32-bit s6_addr32 parts of in6_addr structure as a hash key. Update in6_localip and in6_is_addr_deprecated to use hash table for fastest lookup. Sponsored by: Yandex LLC Discussed with: dwmalone, glebius, bz END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-12-15T21:06:14.136855Z K 7 svn:log V 68 Fix a comment in an asm block to work with compilers other than GCC END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-12-15T21:12:13.989406Z K 7 svn:log V 179 Recognise vfpv2 as a value for the ARM .fpu asm directive. Clang generates these even when building soft floating-point code Submitted by: Daisuke Aoyama END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-15T21:15:43.006209Z K 7 svn:log V 71 Move assignment out of the loop. It should not change the code logic. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-12-15T21:24:31.612819Z K 7 svn:log V 672 Don't define CTORS_SECTION_ASM_OP and DTORS_SECTION_ASM_OP on arm when built with clang. When these are defined the lists are defined similar to: asm(".section .ctors"); STATIC func_ptr __CTOR_LIST__[1] = { (func_ptr) (-1) }; asm(".section .dtors"); STATIC func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) }; The problem is clang will move the two arrays out of the .ctors and .dtors sections causing these sections to contain a single null address. By not defining these macros we use the version of the code that places the arrays is their sections by using __attribute__((section(".ctors"))) and similar for .dtors. Submitted by: Daisuke Aoyama END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-12-15T21:33:12.506980Z K 7 svn:log V 61 Also remove -Werror on arm with clang as there are warnings. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-12-15T21:47:05.976779Z K 7 svn:log V 96 Ignore a warning in ubldr where clang doesn't understand the %D printf specifier from libstand. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-15T21:57:34.778032Z K 7 svn:log V 165 MFC r243079: Add option to suppress just the plot in ministat while still retaining the relative comparison (i.e., useful part). Approved by: cperciva (implicit) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-15T22:26:16.570427Z K 7 svn:log V 542 sbuf_trim() cannot be used on sbuf with drain function set. This fixes panic when listing sysctls on INVARIANTS-enabled kernel while having wbwd loaded. This panic was not fatal, at worst one additional space was printed. Also sbuf_trim() makes some sense even if drain function is set. The drain function is called only when buffer is to be expanded. So we could still trim existing buffer before drain is called. In this case it worked just fine - the trailing space was correctly trimmed. Obtained from: WHEEL Systems MFC after: 1 week END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-12-16T00:20:16.712872Z K 7 svn:log V 65 Fix comment to represent actual file purpose Spotted by: gavin@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-12-16T00:57:14.463783Z K 7 svn:log V 480 Prefer x2apic mode when running inside a virtual machine. Provide a tunable 'machdep.x2apic_desired' to let the administrator override the default behavior. Provide a read-only sysctl 'machdep.x2apic' to let the administrator know whether the kernel is using x2apic or legacy mmio to access local apic. Tested with Parallels Desktop 8 and bhyve hypervisors. Also tested running on bare metal Intel Xeon E5-2658. Obtained from: NetApp Discussed with: jhb, attilio, avg, grehan END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-12-16T01:20:08.610930Z K 7 svn:log V 262 Modify the default behavior of bhyve such that it no longer forces the use of x2apic mode on the guest. The guest can decide whether or not it wants to use legacy mmio or x2apic access to the APIC by writing to the MSR_APICBASE register. Obtained from: NetApp END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T07:09:52.476830Z K 7 svn:log V 352 - Remove c_staiter field from the struct callout and use c_links.tqe instead. It is possible because callout can't be both on the callwheel and the cc_expireq at the same time. - Remove use of the cc_exec_next field. Since cc_expireq has no extra elements we can always fetch first elements out of it and don't need to keep pointer to the next one. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T09:39:20.558048Z K 7 svn:log V 81 Cleanup tabs and whitespaces in modified code. Should be no functional changes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T10:12:40.697776Z K 7 svn:log V 29 Document more new functions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T11:16:13.813093Z K 7 svn:log V 257 Mostly out of fun, teach i8254 eventtimer driver to program only LSB for very short time intervals (<214us). This allows to get less then 22us usleep(1) time from this anscient timer. It is even better then HPET time now, just with much higher CPU usage. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T13:56:38.024926Z K 7 svn:log V 51 Use 'cred' variable. Obtained from: WHEEL Systems END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-16T14:01:56.305364Z K 7 svn:log V 190 MFC: r243782 Add an nfssvc() option to the kernel for the new NFS client which dumps out the actual options being used by an NFS mount. This will be used to add a "-m" option to nfsstat(1). END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T14:09:18.927990Z K 7 svn:log V 194 Continue fun of r244287: do not write i8254 mode register if the same value was already written earlier. This reduces usleep(1) latency with i8254 eventtimer from 22 to 19.5us. Hinted by: bde END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-16T14:10:12.805382Z K 7 svn:log V 145 MFC: r243783 Add a "-m" option to nfsstat, which dumps out the actual options used by all NFS mounts. Works for the new/default NFS client only. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-16T14:13:10.393827Z K 7 svn:log V 82 MFC: r243784 Document the "-m" option added by r243783. This is a content change. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T14:14:18.529641Z K 7 svn:log V 61 Make the check easier to read. Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T14:24:59.094560Z K 7 svn:log V 133 Don't add audit record when coredumps are disabled or name cannot be expanded. Discussed with: rwatson Obtained from: WHEEL Systems END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-12-16T14:37:25.905418Z K 7 svn:log V 142 When growing a filesystem, don't leave unused space at the end if there is not enough room for a full cylinder group. Reviewed by: mckusick@ END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T14:53:27.346025Z K 7 svn:log V 330 Move expand_name() after process lock is released. This fixed panic where we hold mutex (process lock) and try to obtain sleepable lock (vnode lock in expand_name()). The panic could occur when %I was used in kern.corefile. Additionally we avoid expand_name() overhead when coredumps are disabled. Obtained from: WHEEL Systems END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T16:55:11.568003Z K 7 svn:log V 150 MFC r236866,r236867: - Consistenly mention columns and fields - Add -b to short error messages Approved by: kevlo Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T16:55:40.774814Z K 7 svn:log V 150 MFC r236866,r236867: - Consistenly mention columns and fields - Add -b to short error messages Approved by: kevlo Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T16:55:59.124213Z K 7 svn:log V 150 MFC r236866,r236867: - Consistenly mention columns and fields - Add -b to short error messages Approved by: kevlo Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T16:59:42.586216Z K 7 svn:log V 102 MFC r227162: Add missing static keywords to cut(1) Approved by: ed Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T16:59:44.673492Z K 7 svn:log V 102 MFC r227162: Add missing static keywords to cut(1) Approved by: ed Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T16:59:59.375357Z K 7 svn:log V 102 MFC r227162: Add missing static keywords to cut(1) Approved by: ed Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T17:01:23.241573Z K 7 svn:log V 192 MFC r243320,r243474: Add 'w' flag to: Use whitespace (spaces and tabs) as the delimiter. Consecutive spaces and tabs count as one single field separator. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T17:01:23.560356Z K 7 svn:log V 192 MFC r243320,r243474: Add 'w' flag to: Use whitespace (spaces and tabs) as the delimiter. Consecutive spaces and tabs count as one single field separator. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T17:01:23.588691Z K 7 svn:log V 192 MFC r243320,r243474: Add 'w' flag to: Use whitespace (spaces and tabs) as the delimiter. Consecutive spaces and tabs count as one single field separator. Approved by: cperciva (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T19:51:34.978837Z K 7 svn:log V 254 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. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-12-16T20:43:29.234911Z K 7 svn:log V 73 Restore pre-r234898 printing of boot loader and path. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-12-16T20:54:07.029935Z K 7 svn:log V 137 Revert r237842 and switch back to SCHED_ULE. All problems I encountered with the latter have been fixed with r241780. MFC after: 3 days END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T20:58:39.121300Z K 7 svn:log V 46 Give one failure mode a better error message. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T21:02:29.333993Z K 7 svn:log V 107 Remove group-friendly umask. Remove hardcoding of gcc. Make the .updated file only after update success. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T21:04:07.454906Z K 7 svn:log V 27 Remove hard-coding of gcc. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T21:05:54.549007Z K 7 svn:log V 39 Remove potentially unneccessary chown. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T21:10:22.460972Z K 7 svn:log V 74 Get rid of group writeability. Don't write .updated until it really has. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T21:13:40.176556Z K 7 svn:log V 42 Further work to parameterize uid and gid. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T22:06:28.052217Z K 7 svn:log V 14 MFC @ r244314 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T22:59:25.499695Z K 7 svn:log V 64 Prefer snprintf() over sprintf(). Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T22:59:58.983272Z K 7 svn:log V 51 Sort flags properly. Obtained from: WHEEL Systems END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-16T23:00:13.233374Z K 7 svn:log V 163 Minor wording improvments to some manual pages Approved by: bcr (mentor) Obtained from: DragonflyBSD (a5294ca835317c68c919ab43936da4f05ab6e926) MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T23:04:31.329184Z K 7 svn:log V 116 Make use of the fact that we changed working directory to the dump directory earlier. Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T23:06:12.495942Z K 7 svn:log V 180 Implement -m option to savecore(8) that allows to limit number of kernel dumps stored. Once the limit is reached it restarts from 0. Reviewed by: avg Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T23:09:27.503849Z K 7 svn:log V 325 With rotating kernel dumps the higest dump number is not necessarily the last one. To make it easier to find the last one create symlinks with 'last' suffix that will point to the files of the last coredump, eg.: info.last -> info.5 textdump.tar.last.gz -> textdump.tar.5.gz Reviewed by: avg Obtained from: WHEEL Systems END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-16T23:23:34.514137Z K 7 svn:log V 55 Try to push the mount points down one directory. WIP. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T23:29:56.246785Z K 7 svn:log V 226 Use new savecore(8) option and limit number of kernel dumps that will be kept around to the 10 most recent ones. Add UPDATING entry with info how to return to the previous behaviour (no limits). Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-16T23:41:34.357719Z K 7 svn:log V 2714 MFC r243719,r243720,r243722,r243723,r243726,r243727,r243746: r243719: IFp4 @208450: Remove redundant call to AUDIT_ARG_UPATH1(). Path will be remembered by the following NDINIT(AUDITVNODE1) call. Sponsored by: The FreeBSD Foundation (auditdistd) r243720: IFp4 @208381: For VOP_GETATTR() we just need vnode to be shared-locked. Sponsored by: The FreeBSD Foundation (auditdistd) r243722: IFp4 @208382: Currently on each record write we call VFS_STATFS() to get available space on the file system as well as VOP_GETATTR() to get trail file size. We can assume that trail file is only updated by the audit worker, so instead of asking for file size on every write, get file size on trail switch only (it should be zero, but it's not expensive) and use global variable audit_size protected by the audit worker lock to keep track of trail file's size. This eliminates VOP_GETATTR() call for every write. VFS_STATFS() is satisfied from in-memory data (mount->mnt_stat), so shouldn't be expensive. Sponsored by: The FreeBSD Foundation (auditdistd) r243723: IFp4 @208383: Currently when we discover that trail file is greater than configured limit we send AUDIT_TRIGGER_ROTATE_KERNEL trigger to the auditd daemon once. If for some reason auditd didn't rotate trail file it will never be rotated. Change it by sending the trigger when trail file size grows by the configured limit. For example if the limit is 1MB, we will send trigger on 1MB, 2MB, 3MB, etc. This is also needed for the auditd change that will be committed soon where auditd may ignore the trigger - it might be ignored if kernel requests the trail file to be rotated too quickly (often than once a second) which would result in overwriting previous trail file. Sponsored by: The FreeBSD Foundation (auditdistd) r243726: IFp4 @208451: Fix path handling for *at() syscalls. Before the change directory descriptor was totally ignored, so the relative path argument was appended to current working directory path and not to the path provided by descriptor, thus wrong paths were stored in audit logs. Now that we use directory descriptor in vfs_lookup, move AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() calls to the place where we hold file descriptors table lock, so we are sure paths will be resolved according to the same directory in audit record and in actual operation. Sponsored by: The FreeBSD Foundation (auditdistd) Reviewed by: rwatson r243727: IFp4 @208452: Audit handling for missing events: - AUE_READLINKAT - AUE_FACCESSAT - AUE_MKDIRAT - AUE_MKFIFOAT - AUE_MKNODAT - AUE_SYMLINKAT Sponsored by: FreeBSD Foundation (auditdistd) r243746: Fix one more compilation issue. Sponsored by: FreeBSD Foundation (auditdistd) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-12-16T23:46:59.381782Z K 7 svn:log V 186 - Fix strtol() error handling. - Add a range condition of given FIB number and the related error messages. - Fix free() problem. Spotted by: Artyom Mirgorodskiy Discussed with: glebius END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-16T23:53:46.626552Z K 7 svn:log V 24 Fix the build with gcc. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2012-12-17T00:04:43.137544Z K 7 svn:log V 52 Fix whitespace bug Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2012-12-17T00:06:20.164394Z K 7 svn:log V 72 Fix mbuf leak in a very rare error case Approved by: grehan (implicit) END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-17T00:17:18.999367Z K 7 svn:log V 65 Turn off .ssh directory creation. It is not in the right place. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-17T00:22:48.085992Z K 7 svn:log V 137 Fix default location of various subdirs (clients/ and so forth). Turn off the creation of the .ssh directory; it is in the wrong place. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-17T00:31:55.169873Z K 7 svn:log V 237 Fix the gssd daemon so that it uses syslog() to report an error instead of calling err() when it is daemonized, so that the error gets logged. Discussed with: rwatson, jhb Tested by: Illias A. Marinos, Herbert Poeckl MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-12-17T00:34:07.615917Z K 7 svn:log V 30 amd64 only has rela sections. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-17T00:42:23.986435Z K 7 svn:log V 28 Tighten up error condition. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-17T00:55:17.357548Z K 7 svn:log V 9 Cleanup. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-17T01:01:39.374039Z K 7 svn:log V 162 Tried to switch too much away from ports-. There must be one place in the database that sorts through which machines belong to which arch, and this is it. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-17T01:10:06.032721Z K 7 svn:log V 24 Move usr3 away for now. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-17T05:13:15.728039Z K 7 svn:log V 77 MFC r243836: Print the frame addresses for the backtraces on i386 and amd64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-17T05:15:51.002921Z K 7 svn:log V 86 MFC r244076: Do not ignore zero address, possibly returned by the vm_map_find() call. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-17T05:18:16.248876Z K 7 svn:log V 151 MFC r244077: Add amd64-specific ddb command "show pte". The command displays the hierarchy of the page table entries which map the specified address. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-17T05:31:42.242756Z K 7 svn:log V 130 MFC r241836: Remove {harp,hfa,idt} man pages as they were removed in r179308. PR: docs/171234 Approved by: cperciva (implicit) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-12-17T06:01:57.322031Z K 7 svn:log V 189 Make sure to stop both TX and RX MACs in ale_stop_mac(). Previously it used to stop TX MAC only such that MAC reconfiguration after getting a link didn't work as expected. PR: kern/173652 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-12-17T06:35:15.454402Z K 7 svn:log V 996 Note that the manual page of less(1) says: Note that a preprocessor cannot output an empty file, since that is interpreted as meaning there is no replacement, and the origi- nal file is used. To avoid this, if LESSOPEN starts with two ver- tical bars, the exit status of the script becomes meaningful. If the exit status is zero, the output is considered to be replace- ment text, even if it empty. If the exit status is nonzero, any output is ignored and the original file is used. For compatibil- ity with previous versions of less, if LESSOPEN starts with only one vertical bar, the exit status of the preprocessor is ignored. Use two pipe symbols for zless, so that zless'ing a compressed empty file will give output rather than being interpreted as its compressed form, which is typically a binary. Thanks Mark Nudelman for pointing out this difference and the suggested solution. Reported by: Matthias Meyser PR: bin/168839 END