ıj202050 196 435 142 229 126 151 154 133 163 163 371 305 158 185 135 167 128 147 358 249 249 257 136 102 209 156 583 278 209 156 115 149 137 202 116 125 465 370 122 135 226 324 207 217 109 134 262 119 875 389 185 285 285 186 374 150 374 437 1261 143 465 142 239 400 1888 151 341 269 359 360 170 984 182 156 322 161 230 363 501 130 265 141 252 495 155 146 146 244 306 149 143 192 416 176 353 110 122 224 650 290 126 438 108 243 110 150 110 305 217 117 181 148 246 112 283 143 143 262 620 162 784 200 139 147 270 113 216 221 452 124 134 150 392 153 155 213 250 127 224 1916 163 406 305 290 239 463 150 130 658 403 412 225 312 312 328 142 302 149 381 440 418 140 236 355 590 250 389 489 142 161 266 137 326 326 177 177 585 166 166 340 340 137 248 348 348 219 219 219 381 381 381 177 300 300 255 164 164 K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-10T22:34:18.998440Z K 7 svn:log V 342 Merge change r198561 from projects/mips to head: r198561 | thompsa | 2009-10-28 15:25:22 -0600 (Wed, 28 Oct 2009) | 4 lines Allow a scratch buffer to be set in order to be able to use setenv() while booting, before dynamic kenv is running. A few platforms implement their own scratch+sprintf handling to save data from the boot environment. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-10T23:37:04.300253Z K 7 svn:log V 48 implement hash table for wakeup channel lookups END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-10T23:51:02.782810Z K 7 svn:log V 133 MFC rev 201269, 201373: o Revamp bus_space access functions (201269). o Change BUS_SPACE_MAXADDR from 2^32-1 to 2^64-1 (201373). END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-11T00:11:16.929248Z K 7 svn:log V 32 add basic descriptor management END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-01-11T00:18:40.957553Z K 7 svn:log V 55 Add the Globetrotter GE40x. Submitted by: Mike Tancsa END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-11T00:22:47.244684Z K 7 svn:log V 60 - opt out of supporting SIGIO for now - white space cleanup END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T00:40:19.665696Z K 7 svn:log V 41 Move this to the right location. Grump. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T00:41:14.557544Z K 7 svn:log V 71 This was somehow copied to the wrong place :(. Remove the spare copy. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-11T00:51:25.225413Z K 7 svn:log V 69 integrate bulk of kern_descrip.c - excluding procstat and vnode bits END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-11T02:31:00.471830Z K 7 svn:log V 274 MFC r201143: Apply OpenSolaris revision 8021:b8fe9660eb2d which brings our zpool to version 14, making it possible for zpools created on OpenSolaris 2009.06 be used on FreeBSD. PR: kern/141800 Submitted by: mm Reviewed by: pjd, trasz Obtained from: OpenSolaris onnv-gate END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-11T03:00:17.173459Z K 7 svn:log V 208 Add a new option, -q howmany, which when used in conjuction with -w, exits netstat after _howmany_ outputs. Requested by: thomasa Reviewed by: freebsd-net (bms, old version in early 2007) MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T03:43:18.727255Z K 7 svn:log V 66 Merge from projects/mips to head by hand: copy over cfe_env.c... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T04:13:06.526771Z K 7 svn:log V 93 Merge from projects/mips to head by hand: Defintions for cavium uart (do they belong here?) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T04:29:26.526757Z K 7 svn:log V 43 Cope with the move and if_timer going way. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T04:38:37.567851Z K 7 svn:log V 75 Cope with the octeon1->cavium move. Note: none of this junk belongs here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T04:40:38.015625Z K 7 svn:log V 36 Cope with the octeon1->cavium move. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T04:49:44.672389Z K 7 svn:log V 55 Attempt to cope with the dev/rmi -> mips/rmi/dev move. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-11T05:05:28.941291Z K 7 svn:log V 263 - fix v*slab functions - use pthread cond functions instead of sleep wakeup - move uma_zone and uma_keg into unet_uma_core.c - don't use kernel struct mtx wrappers for locking - don't use kernel malloc - in theory uma now only needs some additional initializers END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-11T05:19:51.663760Z K 7 svn:log V 151 MFC: r201538, r201539 Catch up with the VFS_VPTOFH(9) -> VOP_VPTOFH(9) repocopy that happened almost three years ago in r166794. Add a missing word. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-11T05:26:18.653340Z K 7 svn:log V 151 MFC: r201538, r201539 Catch up with the VFS_VPTOFH(9) -> VOP_VPTOFH(9) repocopy that happened almost three years ago in r166794. Add a missing word. END K 10 svn:author V 5 harti K 8 svn:date V 27 2010-01-11T09:16:42.760160Z K 7 svn:log V 162 Fix the previous commit (still not used to svn vs. cvs). Use the define from paths.h for the default temporary directory and remove and unneccessary getenv call. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T09:57:29.046441Z K 7 svn:log V 45 Allow utmpx to be displayed using getent(1). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T10:12:35.011189Z K 7 svn:log V 9 snapshot END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-11T10:15:16.158210Z K 7 svn:log V 112 If filemon device cannot be opened, add some advice to the error message on possible ways to solve the problem. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-11T10:16:12.519189Z K 7 svn:log V 60 Add back include of after last merge from trunk. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-11T10:30:57.913582Z K 7 svn:log V 486 Add Dir_FindHereOrAbove() function from NetBSD: revision 1.40 date: 2004/02/03 19:25:29; author: chuck; state: Exp; lines: +86 -3 add parent directory search for make as discussed on tech-toolchain. - new dir.c function: Dir_FindHereOrAbove: Search for a path in the current directory and then all the directories above it in turn until the path is found or we reach the root ("/"). Submitted by: obrien, Simon Gerarty Obtained from: NetBSD END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-11T10:40:15.667312Z K 7 svn:log V 181 Use Dir_FindHereOrAbove() function to recurse up directory tree to look for sys.mk. Submitted by: obrien, Simon Gerraty Reviewed by: John Birrell END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-11T10:41:51.925785Z K 7 svn:log V 112 Add stub versions of database functions, in case we do not want to compile jbuild with MySQL or SQLite support. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-11T10:49:34.643932Z K 7 svn:log V 60 Don't stage vimage.h, vinet.h, vinet6.h which were removed. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T11:09:03.986557Z K 7 svn:log V 21 documentation update END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T12:31:36.269897Z K 7 svn:log V 58 Make "shutdown" lines fit properly when using 80 columns. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-11T12:32:06.177973Z K 7 svn:log V 46 MFC: r200026,201801: Swap carp(4) log levels. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-11T12:35:16.925323Z K 7 svn:log V 109 MFC r200770: Remove VI_OBJDIRTY and make sure that OBJ_MIGHTBEDIRTY is set only for vnode-backed vm objects. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T15:12:13.641244Z K 7 svn:log V 22 data start flowing... END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-01-11T15:51:13.858498Z K 7 svn:log V 33 Eliminate an unused declaration. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-01-11T16:01:20.744422Z K 7 svn:log V 372 Simplify pmap_init(). Additionally, correct a harmless misbehavior on i386. Specifically, where locore had created large page mappings for the kernel, the wrong vm page array entries were being initialized. The vm page array entries for the pages containing the kernel were being initialized instead of the vm page array entries for page table pages. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T16:27:56.201297Z K 7 svn:log V 278 Don't include when using . libopie includes both and in this case and uses some #defines to let the code use struct utmpx and its utility functions. We'd better not include here, because maybe it will not be present in the future. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T16:30:09.625897Z K 7 svn:log V 28 missing argument for free() END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T16:31:29.942323Z K 7 svn:log V 41 add dn_sched_wf2q.c and glue for modules END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T17:14:10.479347Z K 7 svn:log V 133 Get sb_zbpci.c compiling again after the macros PCI_BUSMAX, PCI_SLOTMAX and PCI_FUNCMAX were moved to pcireg.h. Submitted by: neel@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T17:14:46.138427Z K 7 svn:log V 231 Remove redundant interrupt mapper code. We don't need to disable the interrupt sources feeding into a hardintr anymore. The mips_mask_hard_irq() function does that for us while an interrupt is being processed. Submitted by: neel@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T17:16:06.074985Z K 7 svn:log V 114 Fix bug in cfe_enumenv(). The CFE API to invoke is CFE_CMD_ENV_ENUM and not CFE_CMD_ENV_SET. Submitted by: neel@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T17:29:20.264446Z K 7 svn:log V 124 Correct a path in an include I missed earlier Remove references to if_watchdog. The rge_watchdog routine was empty anyway. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T17:34:32.043319Z K 7 svn:log V 15 whitespace fix END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T17:35:34.635092Z K 7 svn:log V 40 make dummynet consume packets correctly END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-11T17:58:15.823338Z K 7 svn:log V 170 Rather than using an extra variable, only call uname if really needed and then directly assign the result. Submitted by: jmallett MFC after: 24 days X-MFC with: r201815 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T18:08:39.219139Z K 7 svn:log V 25 pass more stats upstream END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-11T18:10:13.972781Z K 7 svn:log V 779 Use io(4) for I/O port access on ia64, rather than through sysarch(2). I/O port access is implemented on Itanium by reading and writing to a special region in memory. To hide details and avoid misaligned memory accesses, a process did I/O port reads and writes by making a MD system call. There's one fatal problem with this approach: unprivileged access was not being prevented. /dev/io serves that purpose on amd64/i386, so employ it on ia64 as well. Use an ioctl for doing the actual I/O and remove the sysarch(2) interface. Backward compatibility is not being considered. The sysarch(2) approach was added to support X11, but support for FreeBSD/ia64 was never fully implemented in X11. Thus, nothing gets broken that didn't need more work to begin with. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T18:35:58.818315Z K 7 svn:log V 297 Make utmpx work with csh without modifying anything in contrib/tcsh. Eventually we should get rid of UTMPX_FILE, because maybe in the very far future we have some kind of high-tech logging daemon -- who knows. For now, just set UTMPX_FILE to the file our implementation uses. Discussed with: mp END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T18:39:11.171668Z K 7 svn:log V 94 Reduce ut_line to 16. After some thinking I realized 32 bytes here is just a waste of space. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-11T18:42:29.343702Z K 7 svn:log V 192 MFC 201522: Expose the upper 256 ptys in the default devfs rules. I should have updated this when expanding the old pty(4) driver to use 512 ptys by default. This is more important for 7.x. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-11T18:44:41.745778Z K 7 svn:log V 192 MFC 201522: Expose the upper 256 ptys in the default devfs rules. I should have updated this when expanding the old pty(4) driver to use 512 ptys by default. This is more important for 7.x. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T18:48:45.436062Z K 7 svn:log V 95 Merge HEAD to remove conflicts. This should be the final merge before importing it into HEAD. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T19:04:24.965636Z K 7 svn:log V 281 Using svn cp rather than cp to copy these files over had the benefit of preserving their history. It had the problem that it also copied over mergeinfo data. Since we're retiring the projects/mips branch, I'm removing the svn:mergeinfo property from them all. Submitted by: jhb END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T19:10:29.958315Z K 7 svn:log V 59 Enable the code to shut down sessions at the end properly. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T19:21:52.606723Z K 7 svn:log V 281 Using svn cp rather than cp to copy these files over had the benefit of preserving their history. It had the problem that it also copied over mergeinfo data. Since we're retiring the projects/mips branch, I'm removing the svn:mergeinfo property from them all. Submitted by: jhb END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-01-11T19:30:23.652632Z K 7 svn:log V 339 MFC: r201029 When porting the experimental nfs subsystem to the FreeBSD8 krpc, I added 3 functions that were already in the experimental client under different names. This patch deletes the functions in the experimental client and renames the calls to use the other set. (This is just removal of duplicated code and does not fix any bug.) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-01-11T19:52:40.804135Z K 7 svn:log V 1162 When renaming a directory it passes through several intermediate states. First its new name will be created causing it to have two names (from possibly different parents). Next, if it has different parents, its value of ".." will be changed from pointing to the old parent to pointing to the new parent. Concurrently, its old name will be removed bringing it back into a consistent state. When fsck encounters an extra name for a directory, it offers to remove the "extraneous hard link"; when it finds that the names have been changed but the update to ".." has not happened, it offers to rewrite ".." to point at the correct parent. Both of these changes were considered unexpected so would cause fsck in preen mode or fsck in background mode to fail with the need to run fsck manually to fix these problems. This update changes these errors to be expected so that in preen mode fsck will simply fix these transitional errors. For now, background fsck will note these errors, but will need additional kernel support to fix them, so will simply ignore them rather than fail. A future update will allow background fsck to fix these problems. Reported by: jeff END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T19:59:12.163302Z K 7 svn:log V 52 Only define UTMPX_FILE on FreeBSD. Proposed by: mp END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-01-11T20:05:38.949979Z K 7 svn:log V 367 This update utilizes new fsck sysctl commands that allow fsck running in background mode to correct expected inconsistencies that arise during directory rename (see immediately previous update to this file for details). If run on a kernel without the new functionality, background fsck will simply ignore these inconsistencies rather than fail. Reported by: jeff END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T20:07:24.430528Z K 7 svn:log V 51 Mute a compiler warning about a missing prototype. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T20:23:17.017468Z K 7 svn:log V 147 Also use MIN_SIZEOF() for the line name inside the lastlog code. The use of MIN_SIZEOF() doesn't seem to be used consistenly throughout the code. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-11T20:32:51.067465Z K 7 svn:log V 302 Sync mxge(4) with head: r197391: Add support for TX throttling r198250: Move mxge(4)'s NIC watchdog reset handler from a callout to a taskqueue r198303: Make mxge do a better job recovering from NIC h/w faults r200845: Don't take the driver mutex in mxge_tick() r201758: Remove extraneous semicolons END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-01-11T20:44:05.505554Z K 7 svn:log V 1789 Background: When renaming a directory it passes through several intermediate states. First its new name will be created causing it to have two names (from possibly different parents). Next, if it has different parents, its value of ".." will be changed from pointing to the old parent to pointing to the new parent. Concurrently, its old name will be removed bringing it back into a consistent state. When fsck encounters an extra name for a directory, it offers to remove the "extraneous hard link"; when it finds that the names have been changed but the update to ".." has not happened, it offers to rewrite ".." to point at the correct parent. Both of these changes were considered unexpected so would cause fsck in preen mode or fsck in background mode to fail with the need to run fsck manually to fix these problems. Fsck running in preen mode or background mode now corrects these expected inconsistencies that arise during directory rename. The functionality added with this update is used by fsck running in background mode to make these fixes. Solution: This update adds three new fsck sysctl commands to support background fsck in correcting expected inconsistencies that arise from incomplete directory rename operations. They are: setcwd(dirinode) - set the current directory to dirinode in the filesystem associated with the snapshot. setdotdot(oldvalue, newvalue) - Verify that the inode number for ".." in the current directory is oldvalue then change it to newvalue. unlink(nameptr, oldvalue) - Verify that the inode number associated with nameptr in the current directory is oldvalue then unlink it. As with all other fsck sysctls, these new ones may only be used by processes with appropriate priviledge. Reported by: jeff Security issues: rwatson END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-11T21:01:35.222296Z K 7 svn:log V 60 Make lastlogin(1) more graphically consistent with last(1). END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-11T21:17:49.120681Z K 7 svn:log V 246 Our standard "xterm" termcap entry supports colour, so this tip is redundant. As it happens, "xterm-color" has just been an alias for "xterm" since src/share/termcap/termcap.src 1.131 in September 2002. PR: docs/132959 Approved by: ed (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-11T21:21:30.023372Z K 7 svn:log V 177 Adjust a comment to reflect reality, as we have proper source address selection, even for IPv4, since r183571. Pointed out by: Jase Thew (bazerka beardz.net) MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-11T21:23:59.578332Z K 7 svn:log V 261 MFC: Merge older mxge(4) fixes/improvements from head: r193250: Set an rx jumbo cluster to the correct size for bus_dmamap_load_mbuf_sg() r194836: Initial mtu r195818: Rename hw.mxge.rss_hash_type -> hw.mxge.rss_hashtype r197391: Add support for TX throttling END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-11T21:32:39.330169Z K 7 svn:log V 262 MFC: Merge older mxge(4) fixes/improvements from head: r193250: Set an rx jumbo cluster to the correct size for bus_dmamap_load_mbuf_sg() r194836: Initial mtu r195818: Rename hw.mxge.rss_hash_type -> hw.mxge.rss_hashtype r197391: Add support for TX throttling. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-11T22:08:59.147167Z K 7 svn:log V 73 Fix reporting of 10G Twinax media Reported by: mjacob MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-11T22:25:09.462072Z K 7 svn:log V 886 Update mxge(4) firmware to 1.4.48b (latest available) from Myricom. Pertinant highlights from Myricom CHANGES file include: - Make sure invalid external smbus activity cannot affect performance - Fix to avoid a bug where the link could sometimes stay reported as up on after unplugging the cable. - For 8B NIC, make smbus connection passive at init to avoid possible address conflicts - Increase number of slices to 17 for multi-slice fw - Fix a bug where packets dropped because of link_overflow could be occasionally reported as bad_crc32 - Add selectable failover strategy for dual-port chip: symmetric or primary/backup - On failover, send RARP broadcast to make the change immediately known to the network - Change endianess for PCI Device Serial Number - For dual-port NICs, time to failover is now a few microsecs instead of a few millisecs. MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-11T22:28:40.872285Z K 7 svn:log V 85 Use better default RSS hash (src + dst, rather than just src port) MFC after:3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T22:31:47.989164Z K 7 svn:log V 62 start implementing commands with the new IP_DUMMYNET3 sockopt END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-01-11T22:34:25.132205Z K 7 svn:log V 230 Change DDB show prison: - name some columns more closely to the user space variables, as we do for host.* or allow.* (in the listing) already. - print pr_childmax (children.max). - prefix hex values with 0x. MFC after: 3 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T22:35:19.444269Z K 7 svn:log V 67 remove some debugging messages, start implementing the new sockopt END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-01-11T22:42:06.915141Z K 7 svn:log V 132 Cast 64-bit quantity to intptr_t rather than int so as to work properly with 64-bit architectures (such as amd64). Reported by: bz END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-11T22:46:24.826941Z K 7 svn:log V 270 Now that this branch has been merged to head, delete it. We may start another branch in the future, but this one is so damaged we have to retire it now (it is much easier than fixing it). Please do an svn switch svn://svn.freebsd.org/base/head on any existing trees. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-11T22:57:52.203166Z K 7 svn:log V 408 Add multichannel (4.0 and 7.1) playback support. 5.1 mode support blocked now due to unidentified synchonization problem. For 7.1 soundcards 5.1 support handled correctly via software upmix done by sound(4). Stereo stream is no more duplicated to all ports. If you loose sound, check you are using right connectors. Front speakers connector is usually green, center/LFE - orange, rear - black, side - gray. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-11T23:00:17.948780Z K 7 svn:log V 36 clean up a bit the pipe flush code. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-11T23:15:11.894046Z K 7 svn:log V 168 Report ZFS filesystem version instead of the zpool version when we say it. Reported by: Yuri Pankov (on -fs@) Submitted by: delphij Approved by: pjd MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-11T23:32:36.078348Z K 7 svn:log V 45 Set svn:executable to *. MFC after: 1 month END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-01-11T23:33:30.320454Z K 7 svn:log V 154 Cast 64-bit quantity to intptr_t rather than int so as to work properly with 64-bit architectures (such as amd64). Reported by: Xin LI and Josh Paetzel END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-01-12T00:04:13.584147Z K 7 svn:log V 399 MFC r201544 An existing incomplete ARP entry would expire a subsequent statically configured entry of the same host. This bug was due to the expiration timer was not cancelled when installing the static entry. Since there exist a potential race condition with respect to timer cancellation, simply check for the LLE_STATIC bit inside the expiration function instead of cancelling the active timer. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-12T01:30:05.957071Z K 7 svn:log V 59 Update manuals of sem_open and sem_init. Submitted by: ru END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T06:00:56.760334Z K 7 svn:log V 51 MFC r201443: Add vlan(4) to all GENERIC kernels. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T06:04:32.537464Z K 7 svn:log V 51 MFC r201443: Add vlan(4) to all GENERIC kernels. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T06:09:56.224633Z K 7 svn:log V 148 MFC r201953: Correct the explination text for the kern.ngroups. It reflects the number of supplemental groups, not the total number of groups. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T06:11:36.809581Z K 7 svn:log V 210 MFC r201954: Update the comment on printing group membership to reflect that fact that each group the process is a member of is printed rather than an entry for each group the user could be a member of. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T06:14:24.964423Z K 7 svn:log V 54 MFC r201955: Improve the comment about CMGROUP_MAX. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-12T07:02:54.995916Z K 7 svn:log V 49 implement callout support using pthread condvars END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T07:33:33.078803Z K 7 svn:log V 97 MFC r201444: The size of credential messages is limited by CMGROUP_MAX rather than NGROUPS. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-12T07:34:23.659133Z K 7 svn:log V 324 Since ut_id is binary, just use a hash function to generate ut_id. I also wanted to include ut_pid into the hash as well, effectively only allowing ulog_logout() to be called by the same pid, but in practice this doesn't work, because ulog_log{in,out}_pseudo() spawn a process. I could use the parent process ID, though... END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T07:40:58.023551Z K 7 svn:log V 81 Cap ngroups_max and (INT_MAX-1), any larger and we'll overflow the int counters. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T07:49:34.848546Z K 7 svn:log V 257 Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic kern.ngroups+1. kern.ngroups can range from NGROUPS_MAX=1023 to INT_MAX-1. Given that the Windows group limit is 1024, this range should be sufficient for most applications. MFC after: 1 month END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T07:55:02.140367Z K 7 svn:log V 15 MFH at r202143 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T09:06:36.008827Z K 7 svn:log V 28 add support for hash tables END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T09:07:55.064238Z K 7 svn:log V 129 move the tagging out of the main function. add a flag for schedulers to indicate whether they can handle multiple queues or not. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-12T09:55:25.032603Z K 7 svn:log V 558 Fix allocation policy of utx.active. It is a bad idea to always overwrite the first DEAD_PROCESS/invalid entry we see, because there may be another DEAD_PROCESS entry further on whose ut_id value matches the record we want to add, making getutxid() return multiple records. Be sure to scan the file for an exact match and only overwrite DEAD_PROCESS/invalid entries when no exact match was found. This still keeps the file size to a minimum, because the maximum size of the file will be limited to the highest amount of logins at a certain moment in time. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-12T10:06:32.421932Z K 7 svn:log V 198 Fix an off-by-one introduced in the previous commit. When receiving a partial match, we should overwrite the record itself. Because we call lseek() afterwards, we get the offset of the next to it. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T10:13:09.865375Z K 7 svn:log V 32 add removal code, fix some bugs END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-12T11:11:25.726958Z K 7 svn:log V 345 Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P', as different nearby ones, and was grabbed by MIXER_xxx() handler. While there, replace '(cmd & MIXER_xxx(0)) == MIXER_xxx(0)' expressions with more correct '(cmd & ~0xff) == MIXER_READ(0)'. Use of bit operations to compare numeric fields doesn't looks sane. MFC after: 1 month END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T13:45:40.179993Z K 7 svn:log V 14 save snapshot END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-12T14:43:34.767436Z K 7 svn:log V 151 According to lockf(3): File locks are released on first close by the locking process of any file descriptor for the file. No need to call it then. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-12T15:15:55.318230Z K 7 svn:log V 19 Fix man page refs. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-12T16:32:59.231112Z K 7 svn:log V 54 Add link(), symlink(), and linkat() calls to filemon. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-12T16:33:55.643544Z K 7 svn:log V 14 Bump version. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-12T16:40:13.782550Z K 7 svn:log V 212 Align buffer size to LCM of 128bytes, required by hardware, and alignment of current format. This fixes problems with non-power-of-2 number of channels. Enable 5.1 formats support, as they are working fine now. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2010-01-12T17:03:55.424504Z K 7 svn:log V 121 Bug fix: add a missing initializer. Submitted by: Luca Pizzamiglio PR: i386/142742 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T17:34:10.780059Z K 7 svn:log V 23 remove some logverbose END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-12T17:38:23.865255Z K 7 svn:log V 84 Remove useless .TE groff macro. Submitted by: Joerg Sonnenberger MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-12T17:50:26.303843Z K 7 svn:log V 56 Update, reflecting added multichannel playback support. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-12T17:59:58.936237Z K 7 svn:log V 151 Spell "Hz" correctly wherever it is user-visible. PR: bin/142566 Submitted by: N.J. Mann njm njm.me.uk Approved by: ed (mentor) MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-12T18:07:12.682482Z K 7 svn:log V 15 Various fixes. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-12T18:20:20.550370Z K 7 svn:log V 187 Declare the kern.ngroups sysctl to be read-only, but tunable at boot for better error reporting. Submitted by: Matthew Fleming MFC After: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-12T18:47:40.776575Z K 7 svn:log V 51 MFC 201202: Use reallocf() to simplify some logic. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-12T18:47:52.266848Z K 7 svn:log V 51 MFC 201202: Use reallocf() to simplify some logic. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-12T19:41:07.068985Z K 7 svn:log V 169 Make default recording source choosing more intelligent. Change default recording level from 0 to 75. It should increase chances for things to work just out of the box. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-12T19:55:07.282769Z K 7 svn:log V 527 MFC 201215: Add support for configuring vlan(4) interfaces as child devices similar to wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '.'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_ in the description of cloned_interfaces. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-12T19:59:54.163038Z K 7 svn:log V 66 linkat() is only available for FreeBSD_version 800032 and higher. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-12T20:06:04.001257Z K 7 svn:log V 691 MFC 201215: Add support for configuring vlan(4) interfaces as child devices similar to wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '.'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_ in the description of cloned_interfaces. The changes for 7.x are a bit larger as they introduce childif_create() and childif_destroy() and move ifn_start() and ifn_stop() from rc.d/netif to network.subr. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-12T20:10:40.321554Z K 7 svn:log V 107 Make OSS_GETVERSION ioctl supported also for DSP devices, same as 4Front and Linux do. MFC after: 1 month END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-01-12T20:52:41.863129Z K 7 svn:log V 44 Fix svn properties and remove a P4 keyword. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-01-12T20:55:12.315233Z K 7 svn:log V 52 Add a regular comment explaining what this file is. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-12T21:17:36.380893Z K 7 svn:log V 177 Place proper svn:keywords tag on all these files. They were created somehow without them on projects/mips, and that mistake was propigated over to head. Submitted by: rpaulo@ END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T21:27:38.165564Z K 7 svn:log V 19 snapshot for today END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-12T21:36:08.303335Z K 7 svn:log V 123 Set the svn:eol-style = native and svn:mime-type = text/plain properties on all files in this tree. Submitted by: rpaulo@ END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-12T21:45:03.794540Z K 7 svn:log V 123 Miscellaneous mdoc, spelling and inconsistency fixes. PR: 142573, 142576 (mostly) Submitted by: brucec MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-12T22:06:53.864848Z K 7 svn:log V 360 Several improvements to the handling of the utmpx files. - Just use O_EXLOCK instead of calling lockf() by hand. This will already provide exclusive file access. - Let the functions use stdio instead of operating on the file descriptors directly. When utmp and lastlogin files get a bit bigger, it will read chunks of 4K instead of 197 bytes at a time. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-01-12T22:22:27.126346Z K 7 svn:log V 29 Update mesh code to to D4.0. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-12T22:28:59.205285Z K 7 svn:log V 37 MFC: r197276 Correct a sysctl name. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-12T23:33:14.758594Z K 7 svn:log V 56 mostly formatting changes. pipe flush still not working END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-01-13T03:16:31.029491Z K 7 svn:log V 295 Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than using PPP over serial. uhsoctl(1) is used to initiate and close the WAN connection. Obtained from: Fredrik Lindberg END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2010-01-13T06:47:27.826494Z K 7 svn:log V 57 Change precedence order of searching for root directory. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T07:17:16.584835Z K 7 svn:log V 64 Just use an iovec instead of copying things around unnecessary. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-13T08:21:19.476924Z K 7 svn:log V 118 - copy in kern_intr.c as unet_kern_intr.c - eliminate cpu binding - remove some unneeded references to scheduler code END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-13T08:53:23.455049Z K 7 svn:log V 153 Return SEM_FAILED instead of NULL, though there are same, but the SEM_FAILED is more suitable name. In function, sem_close(), always set errno on error. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-13T12:21:58.624373Z K 7 svn:log V 33 some documentation and API fixes END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-01-13T14:17:21.876266Z K 7 svn:log V 132 - Fix some style bugs in tmpfs_mount(). [1] - Remove a stale comment about tmpfs_mem_info() 'total' argument. Reported by: bde [1] END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:29:55.560162Z K 7 svn:log V 1823 Implement . The utmpx interface is the standardized interface of the user accounting database. The standard only defines a subset of the functions that were present in System V-like systems. I'd like to highlight some of the traits my implementation has: - The standard allows the on-disk format to be different than the in-memory representation (struct utmpx). Most operating systems don't do this, but we do. This allows us to keep our ABI more stable, while giving us the opportunity to modify the on-disk format. It also allows us to use a common file format across different architectures (i.e. byte ordering). - Our implementation of pututxline() also updates wtmp and lastlog (now called utx.log and utx.lastlogin). This means the databases are more likely to be in sync. - Care must be taken that our implementation discard any fields that are not applicable. For example, our DEAD_PROCESS records do not hold a TTY name. Just a time stamp, a record identifier and a process identifier. It also guarantees that strings (ut_host, ut_line and ut_user) are null terminated. ut_id is obviously not null terminated, because it's not a string. - The API and its behaviour should be conformant to POSIX, but there may be things that slightly deviate from the standard. This implementation uses separate file descriptors when writing to the log files. It also doesn't use getutxid() to search for a field to overwrite. It uses an allocation strategy similar to getutxid(), but prevents DEAD_PROCESS records from accumulating. Make sure libulog doesn't overwrite the manpages shipped with our C library. Also keep the symbol list in Symbol.map sorted. I'll bump __FreeBSD_version later this evening. I first want to convert everything to and get rid of . END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:45:39.462389Z K 7 svn:log V 72 Merge HEAD, so I can cherry pick my changes that need to go in to HEAD. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:49:35.187588Z K 7 svn:log V 314 Let csh(1) use utmpx instead of utmp. csh allows you to monitor the utmp(x) file to monitor certain user logins. Unfortunately it needs to directly stat() this file. I don't want to break this module , but eventually it shouldn't do that. The idea of the getutxent(3) API is to hide file access. Approved by: mp END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:50:58.025324Z K 7 svn:log V 213 Migrate finger(1) towards utmpx. It was already ported to use libulog, which makes it simpler now. Be sure to catch the error returned by setutxdb(). Otherwise it may perform a lookup on the utx.active database. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:54:32.257639Z K 7 svn:log V 198 Port ppp(8) to utmpx. A nice thing about utmpx is that it makes it very easy to log sessions that don't use TTYs. This is because the file is not indexed by TTY slots anymore. Silence from: brian END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:56:54.064850Z K 7 svn:log V 147 Port everything in bin/ from utmp to utmpx. date: use libc utmpx routines instead of the ones provided by libulog. pax: don't depend on END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:58:49.567931Z K 7 svn:log V 371 Migrate init(8) towards utmpx. According to a comment, we cannot safely remove utmpx entries here anymore. This is because the libc routines may block on file locking. In an ideal world login(1) should just remove the entries, which is why I'm disabling this code for now. If it turns out we get lots of stale entries here, we should figure out a way to deal with that. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T17:59:23.721711Z K 7 svn:log V 59 Port the remaining apps in sbin/ to utmpx; only reboot(8). END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:02:30.022377Z K 7 svn:log V 39 Let libopie use utmpx instead of utmp. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:06:31.254172Z K 7 svn:log V 566 Port last(1) to use utmpx. Basically there are three major things I changed about last(1): - It should use ut_type instead of determining by hand what type of record was given. - It should now keep track of ut_id's instead of TTYs. This means the ttylist has been renamed to the idlist, storing all the ut_id's it has processed until the next reboot. - I've removed the signal handler. Because our wtmp is rotated so often, it makes little sense. Even on a simple piece of hardware it should be capable of grinding through megabytes of logs in a second. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:08:00.700054Z K 7 svn:log V 311 Allow getent(1) to display utmpx entries as well. Because getutxent also matches the typical get*ent format of library routines, I thought it would be a good idea to teach it how to read utmpx databases. getent(1) just gives a raw dump, which is very useful when debugging problems related to parsing/logging. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:09:21.513425Z K 7 svn:log V 320 Port w(1) to utmpx. Let it print "-" when the TTY string is empty. In this case, it must also make sure it doesn't match processes who also have no controlling TTY. Otherwise it will print random kernel processes when trying to pick the best matching process. Eventually it should look at the value of ut_pid as well. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:09:54.806248Z K 7 svn:log V 133 Perform all trivial ports to utmpx for usr.bin/. They were already converted to use libulog, so it's easy to convert them to utmpx. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-13T18:12:21.904374Z K 7 svn:log V 219 MFC 199607, 200797, 201270, 201669: Use pthread_once() to initialize the thread-local storage for localtime() and gmtime() and _once() to initialize gmt state rather than home-rolled versions using pthread mutex locks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-13T18:12:37.375969Z K 7 svn:log V 219 MFC 199607, 200797, 201270, 201669: Use pthread_once() to initialize the thread-local storage for localtime() and gmtime() and _once() to initialize gmt state rather than home-rolled versions using pthread mutex locks. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:14:59.253898Z K 7 svn:log V 236 Port ac(8) to utmpx. Similar to last(1), it must compare ut_id's instead of TTYs to determine whether a session has been terminated. It must also use ut_type to determine the type of the login record instead figuring it out by itself. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:15:46.083750Z K 7 svn:log V 51 Port timed away from logwtmp(3). Let it use utmpx. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:17:12.526484Z K 7 svn:log V 210 Port lastlogin(8) to utmpx. While there, fix a bug I introduced previously. We must reopen the database for each username passed on the command line. We must rewind the database and search from the beginning. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:17:53.455685Z K 7 svn:log V 58 Port all applications in usr.sbin/ from libulog to utmpx. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:24:04.530571Z K 7 svn:log V 289 Remove `dead code' from rlogind. - It shouldn't call logwtmp(). Applications like login(1) already make sure both login and logout entries are written to the storage. - There's no need to restore permissions on the pseudo-terminal, since it should be garbage collected by the kernel. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:25:43.943576Z K 7 svn:log V 348 Port comsat to utmpx. It seems comsat stats the utmpx database each 15 seconds to see whether it has been changed. I am changing this behaviour to look at the utmpx database upon processing. I don't want to allow direct interference with the database files. I also wonder whether this optimization has any measurable performance benefit nowadays. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:28:41.136252Z K 7 svn:log V 326 Port ftpd to utmpx. Unfortunately I have to partially wreck its functionality, though. ftpd used to keep a file descriptor to the wtmp, which allowed it to work from within a chroot. The current utmpx implementation doesn't offer a way to do this. Maybe we can address this in the future, if it turns out to be a real issue. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:28:58.850318Z K 7 svn:log V 49 Port all apps in libexec/ from libulog to utmpx. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:32:31.295285Z K 7 svn:log V 144 Let pam_lastlog use utmpx instead of libulog's utmpx interface. It will still use ulog_login(3) and ulog_logout(3), which will remain present. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:37:42.659417Z K 7 svn:log V 263 Let telnetd build without utmp and logwtmp(3). Just like rlogind, there is no need to change the ownership of the terminal during shutdown anymore. Also don't call logwtmp, because the login(1)/PAM is responsible for doing this. Also use SHUT_RDWR instead of 2. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:43:32.034314Z K 7 svn:log V 498 Make OpenSSH work with utmpx. - Partially revert r184122 (sshd.c). Our ut_host is now big enough to fit proper hostnames. - Change config.h to match reality. - defines.h requires UTMPX_FILE to be set by before it allows the utmpx code to work. This makes no sense to me. I've already mentioned this upstream. - Add our own platform-specific handling of lastlog. The version I will send to the OpenSSH folks will use proper autoconf generated definitions instead of `#if 1'. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:46:50.524734Z K 7 svn:log V 158 Forgot a part that was missing in the previous commit. There is no need to call trimdomain() anymore now that ut_host is big enough to fit decent hostnames. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:53:06.644340Z K 7 svn:log V 297 Remove utmpx stub from libulog. I'm not increasing the shlib major version for this, because not a single application outside the base system should have used these functions in such a short timespan. Rewrite ulog_login(3) and ulog_logout(3) to build on top of the utmpx implementation in libc. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T18:59:51.122948Z K 7 svn:log V 397 Remove login(3), logout(3) and logwtmp(3) from libutil. These functions only apply to utmp(5). They cannot be kept intact when moving towards utmpx. The login(3) function would break, because its argument is an utmp structure. The logout(3) and logwtmp(3) functions cannot be used, since they provide a functionality which partially overlaps. Increment SHLIB_MAJOR to 9 to indicate the removal. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T19:03:48.213348Z K 7 svn:log V 51 Remove and its corresponding manual page. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T19:07:48.978911Z K 7 svn:log V 70 Let rc and periodic infrastructure and newsyslog use the utmpx files. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T19:25:03.339661Z K 7 svn:log V 174 Complete the migration towards utmpx. - Add a notice to UPDATING, explaining users may need to recompile applications that use the old database. - Bump __FreeBSD_version. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-13T19:46:53.020624Z K 7 svn:log V 43 basic glue and packet flow now operational END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T19:55:51.764002Z K 7 svn:log V 230 MFC: 197164 Factor out the duplicated macro for the device type used in the OFW device tree for PCI bridges and add a new one for PCI Express. While at it, take advantage of the former for the rman(9) work- around in jbusppm(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T19:56:02.519892Z K 7 svn:log V 230 MFC: 197164 Factor out the duplicated macro for the device type used in the OFW device tree for PCI bridges and add a new one for PCI Express. While at it, take advantage of the former for the rman(9) work- around in jbusppm(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T19:59:13.445207Z K 7 svn:log V 82 MFC: r200815, r200816 Provide and consume missing module dependency information. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T19:59:19.754734Z K 7 svn:log V 82 MFC: r200815, r200816 Provide and consume missing module dependency information. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:03:24.780317Z K 7 svn:log V 489 MFC: r200874 Enroll these drivers in multipass probing. The motivation behind this is that the JBus to EBus bridges share the interrupt controller of a sibling JBus to PCIe bridge (at least as far as the OFW device tree is concerned, in reality they are part of the same chip) so we have to probe and attach the latter first. That happens to be also the case due to the fact that the JBus to PCIe bridges appear first in the OFW device tree but it doesn't hurt to ensure the right order. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:05:32.504828Z K 7 svn:log V 71 MFC: r200876 Make these constants unsigned which is more appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:05:35.637455Z K 7 svn:log V 71 MFC: r200876 Make these constants unsigned which is more appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:07:45.706877Z K 7 svn:log V 244 MFC: r200878 - Add macros for the states of the interrupt clear registers. - Change INTMAP_VEC() to take an INO as its second argument rather than an INR. The former is what I actually intended with this macro and how it's currently used. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:07:46.633242Z K 7 svn:log V 244 MFC: r200878 - Add macros for the states of the interrupt clear registers. - Change INTMAP_VEC() to take an INO as its second argument rather than an INR. The former is what I actually intended with this macro and how it's currently used. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T20:25:45.751286Z K 7 svn:log V 46 Remove this branch. This is now part of HEAD. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T20:30:16.480961Z K 7 svn:log V 156 Add a missing $FreeBSD$ string. I was requested to add this string to any file that was modified by my commit, which I forgot to do so. Requested by: des END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:32:54.668855Z K 7 svn:log V 252 MFC: r200879 - Add support for the JBus to EBus bridges which hang off of nexus(4) and are found in sun4u and sun4v machines based on the Fire ASIC. - Initialize the configuration space of the PCI to EBus variant the same way as OpenSolaris does. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:33:00.574755Z K 7 svn:log V 252 MFC: r200879 - Add support for the JBus to EBus bridges which hang off of nexus(4) and are found in sun4u and sun4v machines based on the Fire ASIC. - Initialize the configuration space of the PCI to EBus variant the same way as OpenSolaris does. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:35:27.727367Z K 7 svn:log V 123 MFC: r200880 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:35:37.474180Z K 7 svn:log V 123 MFC: r200880 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:35:43.028780Z K 7 svn:log V 123 MFC: r200880 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:40:49.087563Z K 7 svn:log V 285 MFC: r200914 Don't use an out register to hold the vector number across the call of the interrupt handler in intr_fast() as the handler might clobber it (no in-tree handler currently does but an upcoming one will). While at it, tidy the register usage in the interrupt counting code. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:40:51.555709Z K 7 svn:log V 285 MFC: r200914 Don't use an out register to hold the vector number across the call of the interrupt handler in intr_fast() as the handler might clobber it (no in-tree handler currently does but an upcoming one will). While at it, tidy the register usage in the interrupt counting code. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:41:27.845938Z K 7 svn:log V 285 MFC: r200914 Don't use an out register to hold the vector number across the call of the interrupt handler in intr_fast() as the handler might clobber it (no in-tree handler currently does but an upcoming one will). While at it, tidy the register usage in the interrupt counting code. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:48:42.615739Z K 7 svn:log V 82 MFC: r200815, r200816 Provide and consume missing module dependency information. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:51:21.618553Z K 7 svn:log V 204 MFC: r200915 Don't probe the bq4802 variant found in Ultra 25 and 45 for now as this chip isn't MC146818 compatible and requires different handlers (but which I can't test due to lack of such hardware). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:51:23.188919Z K 7 svn:log V 204 MFC: r200915 Don't probe the bq4802 variant found in Ultra 25 and 45 for now as this chip isn't MC146818 compatible and requires different handlers (but which I can't test due to lack of such hardware). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-01-13T20:54:18.209641Z K 7 svn:log V 158 Update to Fredrik's latest uhso driver. This changes port detection, adds comments and other code nits. Submitted by: Fredrik Lindberg END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:59:36.319461Z K 7 svn:log V 69 MFC: r200916 Remove devices which are/were only relevant for sun4u. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T20:59:42.337448Z K 7 svn:log V 69 MFC: r200916 Remove devices which are/were only relevant for sun4u. END