ňa185938 62 194 177 420 154 611 158 250 134 135 131 135 153 165 144 185 126 150 223 641 207 204 254 201 163 297 525 232 178 139 139 181 215 142 114 112 133 128 251 150 144 163 143 171 189 275 817 277 237 237 199 264 176 355 152 356 419 170 303 439 220 176 297 K 10 svn:author V 2 ps K 8 svn:date V 27 2008-12-11T16:48:35.375301Z K 7 svn:log V 102 Fix a leak introduced in r185902. We should free the devspec if we've successfully found a zfs pool. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-11T18:07:54.411661Z K 7 svn:log V 85 MFC r185557: Prevent creation of the duplicated negative entries. Requested by: jhb END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-11T18:32:05.276658Z K 7 svn:log V 328 Don't forget to add "npts" to rlimit_ident[] as well. When I added RLIMIT_NPTS, I forgot to add it to rlimit_ident[]. Make sure the rlimit_ident[] array is always RLIM_NLIMITS elements big. So if we ever forget to add new rlimits to this list again. it will contain a null pointer, instead of random data. Spotted by: rwatson END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-11T21:08:14.908516Z K 7 svn:log V 58 Add entries for some Option, Sierra and Stelera 3G cards. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-11T21:44:02.947426Z K 7 svn:log V 519 Add kqueue()-support to pseudo-terminal master devices. One thing I didn't expect many applications to use, was kqueue() on pseudo-terminal master devices. There are applications that use kqueue() on the TTY itself (rtorrent, etc). That doesn't mean we shouldn't implement this. Libraries like libevent use kqueue() by default, which means they wouldn't be able to use kqueue(). The old TTY layer implements a very broken version of kqueue() by performing the actual polling on the TTY device. Discussed with: peter END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T22:20:36.842490Z K 7 svn:log V 64 L2 handling needs to be re-written - disable TOE for the moment END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-11T22:28:29.186814Z K 7 svn:log V 153 Merge r185857 from head to stable/7: Move syncache flag definitions below data structure, compress some vertical whitespace. Approved by: re (gnn) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T22:51:11.171038Z K 7 svn:log V 40 Add entry for if_transmit and if_qflush END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T23:01:58.192841Z K 7 svn:log V 41 update to reflect absence of RTF_CLONING END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T23:04:34.088880Z K 7 svn:log V 37 update to reflect absence of cloning END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-11T23:13:02.252623Z K 7 svn:log V 39 Format and wrap function declarations. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T23:15:15.356556Z K 7 svn:log V 59 - update types of refcnt and flags - fix dangling sentence END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-11T23:17:48.242946Z K 7 svn:log V 69 Remove superfluous return statements from the end of void functions. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T23:41:49.482530Z K 7 svn:log V 50 remove reference to RTF_LLINFO in non-netatm code END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-11T23:59:32.543893Z K 7 svn:log V 91 remove NATM until it is updated to handle virtual circuit management without route cloning END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T00:02:34.910799Z K 7 svn:log V 32 remove use of addloop / remloop END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T00:44:19.761519Z K 7 svn:log V 56 remove reference to obsolete LLINFO and WASCLONED flags END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T00:56:00.504676Z K 7 svn:log V 128 - remove cloning related fields from rtentry (genmask, parent, llinfo) - move refcnt and flags together and convert both to int END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-12T00:57:38.860929Z K 7 svn:log V 545 Add a new VOP, VOP_VPTOCNP, which translates a vnode to its component name on a best-effort basis. Teach vn_fullpath to use this new VOP if a regular VFS cache lookup fails. This VOP is designed to supplement the VFS cache to provide a better chance that a vnode-to-name lookup will succeed. Currently, an implementation for devfs is being committed. The default implementation is to return ENOENT. A big thanks to kib for the mentorship on this, and to pho for running it through his stress test suite. Reviewed by: arch Approved by: kib END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-12T00:58:52.345852Z K 7 svn:log V 111 Add a new error VOP, VOP_ENOENT. This function will simply return ENOENT. Reviewed by: arch Approved by: kib END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-12T00:59:36.232945Z K 7 svn:log V 108 Add a simple VOP_VPTOCNP implementation for deadfs which returns EBADF. Reviewed by: arch Approved by: kib END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-12T01:00:38.692783Z K 7 svn:log V 158 Implement VOP_VPTOCNP for devfs. Directory and character device vnodes are properly translated to their component names. Reviewed by: arch Approved by: kib END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T01:01:03.059127Z K 7 svn:log V 106 - remove or hide cloning related flags from world compile - refcnt is now an int - update netstat/route.c END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-12T01:08:28.367989Z K 7 svn:log V 68 Add a man page for VOP_VPTOCNP. Reviewed by: arch Approved by: kib END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-12T01:26:11.977655Z K 7 svn:log V 200 It seems there are still issues on multicast perfect filtering. Disable it until I find spare time to analyze the issue. Reported by: Goran Lowkrantz hidden-powers DOT com> MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-12-12T01:36:50.326631Z K 7 svn:log V 431 Consider processes attaching/detaching from tun(4) devices as being link state changes. This change modifies tunopen and tunclose to call the if_link_state_change() function. Among other things, this will result in devd(8) receiving events from devctl(4) for linkup/link down. This allows us to do several useful things, including initializing tunnel parameters and adding routes. Discussed on: freebsd-net@ MFC after: 2 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-12T01:46:59.886199Z K 7 svn:log V 135 Pass RTF_RNH_LOCKED to rtalloc1 sunce the node head is locked, this avoids a recursive lock panic on inet6 detach. Reviewed by: kmacy END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T02:07:45.835775Z K 7 svn:log V 84 RTF_RNH_LOCKED needs to be passed in the flags arg not report, apologies to thompsa END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T02:11:49.988247Z K 7 svn:log V 45 IFC 185919:185965 daily merge from -CURRENT END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T03:23:50.457083Z K 7 svn:log V 45 IFC 185919:185966 daily merge from -CURRENT END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-12T04:29:47.686950Z K 7 svn:log V 86 Bump __FreeBSD_version for the new VOP_VPTOCNP addition. Approved by: kib (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-12T05:42:57.392748Z K 7 svn:log V 122 - Drop a reference to an older 'kdb' debugger that FreeBSD never had. - Tweak a word choice. - Drop a reference to Alpha. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T05:45:39.886920Z K 7 svn:log V 48 fix support and capabilities MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T05:59:59.110936Z K 7 svn:log V 22 kill unused type decl END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T06:00:15.930804Z K 7 svn:log V 20 compare ptr to NULL END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T06:01:09.954756Z K 7 svn:log V 41 o fix comments o gratuitous style change END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T06:01:30.183700Z K 7 svn:log V 36 o fix comment o compare ptr to NULL END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-12T06:03:08.338355Z K 7 svn:log V 158 misc cleanups: o remove excessive ()'s o kill pointless blank lines o add comment markers for some questionable code o compare ptr's to NULL o kill dead code END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T06:06:49.604746Z K 7 svn:log V 56 change INVARIANTS to DIAGNOSTICS for debugging messages END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T06:30:09.769446Z K 7 svn:log V 50 update copyright to reflect years more accurately END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T06:33:54.988010Z K 7 svn:log V 69 don't make RTM_RESOLVE return EINVAL - it is still needed for compat END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-12T07:34:42.681857Z K 7 svn:log V 49 need to do a WUNLOCK if LLE_EXCLUSIVE was passed END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-12T11:10:10.304299Z K 7 svn:log V 79 Do not leak defs_de_interlock on error. Another pointy hat for my collection. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-12T11:43:48.023285Z K 7 svn:log V 92 Begin the sysinstall cleanup. Remove the support for configuring OSF binary compatibility. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-12T11:58:27.152273Z K 7 svn:log V 177 Remove the offer to install Linux compatibility on i386 in the mainline portion of sysinstall. Leave it to be treated as a regular package along with all the other packages... END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-12T12:06:28.712529Z K 7 svn:log V 724 The userland_sysctl() function retries sysctl_root() until returned error is not EAGAIN. Several sysctls that inspect another process use p_candebug() for checking access right for the curproc. p_candebug() returns EAGAIN for some reasons, in particular, for the process doing exec() now. If execing process tries to lock Giant, we get a livelock, because sysctl handlers are covered by Giant, and often do not sleep. Break the livelock by dropping Giant and allowing other threads to execute in the EAGAIN loop. Also, do not return EAGAIN from p_candebug() when process is executing, use more appropriate EBUSY error [1]. Reported and tested by: pho Suggested by: rwatson [1] Reviewed by: rwatson, des MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-12T12:12:36.539626Z K 7 svn:log V 184 Reference the vmspace of the process being inspected by procfs, linprocfs and sysctl kern_proc_vmmap handlers. Reported and tested by: pho Reviewed by: rwatson, des MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-12T13:09:52.372345Z K 7 svn:log V 144 MFC r185634: Improve db_backtrace() for compat ia32 on amd64. 32bit image enters the kernel via Xint0x80_syscall(). Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-12T13:21:31.137905Z K 7 svn:log V 144 MFC r185634: Improve db_backtrace() for compat ia32 on amd64. 32bit image enters the kernel via Xint0x80_syscall(). Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-12T14:03:04.592351Z K 7 svn:log V 106 Uio_yield() already does DROP_GIANT/PICKUP_GIANT, no need to repeat this around the call. Noted by: bde END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-12T14:06:21.219695Z K 7 svn:log V 171 Mark the evtchn interrupt as MPSAFE and respect the INTR_MPSAFE flags passed when binding event channels to handlers. Add svn:keywords to the files in sys/dev/xen/xenpci. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-12T14:57:25.392378Z K 7 svn:log V 81 Add a field to disambiguate between multiple threads awaiting callchain capture. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-12T15:56:38.186213Z K 7 svn:log V 260 Move the check for the ending char in the partition name where it was before -- the check is only made when getdisklabel() returns valid info. On passing, use MAXPARTITIONS to identify the max partition number, instead of the hardwired 'h' MFC after: 4 weeks END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-12T16:09:34.020172Z K 7 svn:log V 57 Expose symbol `PMC_FN_USER_CALLCHAIN' to assembler code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-12T16:12:19.353310Z K 7 svn:log V 259 Merge r185929 from stable/7 to releng/7.1: Merge r185813 from head to stable/7: Update comment on INP_TIMEWAIT to say what it's about, as we caution regarding the misplacement of flags in inp_vflag in an earlier comment. Approved by: re (gnn) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-12T16:37:15.004986Z K 7 svn:log V 322 Merge r185930 from stable/7 to releng/7.1: Merge r185855 from head to stable/7: Move flag definitions for t_flags and t_oobflags below the definition of struct tcpcb so that the structure definition is a bit more vertically compact. Can't yet fit it on one printed page, though. Approved by: re (gnn) END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2008-12-12T16:41:12.180151Z K 7 svn:log V 73 Add in some more device ID's and a generic catch-all. Submitted by: LSI END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-12T16:52:33.117251Z K 7 svn:log V 206 Merge r185944 from stable/7 to releng/7.1: Merge r185857 from head to stable/7: Move syncache flag definitions below data structure, compress some vertical whitespace. Approved by: re (gnn) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2008-12-12T18:17:23.176594Z K 7 svn:log V 343 Reviewed by: (Dieter)freebsd@sopwith.solgatos.com Approved by: slong scottl@samsco.org MFC after: 2 weeks Final cleanup of fwcontrol. NetBSD compatibility Cleanup errors in usage() display Finish up error handling via errx/warnx Generate error on unparsed command line syntax Change device(devbase) to open into the form /dev/fwX.X END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-12T18:26:08.478573Z K 7 svn:log V 123 Use correct AIPTEK2 name for vendor 0x04fc, now that the PENCAM_MEGA_1_3 product is paired with it. Obtained from: NetBSD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-12T18:34:27.649748Z K 7 svn:log V 80 The TWINKLECAM entry is under CHICONY2, remove MICRODIA. Obtained from: NetBSD END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2008-12-12T20:29:34.449207Z K 7 svn:log V 199 Sort the PCI device's and make the catch-all for new Dell cards only apply to Dell. This gets rid of the duplicate catch-all that I introduced that jkim caught. Prompted by: jkim Reviewed by: jkim END