ƒ¯o184582 213 282 138 224 171 103 323 2865 98 319 388 405 203 233 165 173 110 270 506 422 196 276 489 158 460 159 188 141 116 3498 122 148 142 164 157 147 222 131 169 159 237 109 144 147 243 124 122 122 275 156 156 119 156 112 149 139 125 164 130 107 318 107 122 112 612 192 170 158 208 271 401 737 213 171 151 232 148 235 435 172 253 539 156 215 114 117 212 377 273 140 144 119 155 122 147 298 160 337 146 139 211 211 796 313 335 239 239 239 618 134 118 138 191 111 138 156 200 139 156 156 199 139 121 266 175 234 141 306 273 287 181 323 136 187 225 125 168 168 143 676 273 839 299 299 299 226 288 188 255 125 209 133 1093 317 117 176 346 141 261 280 215 171 245 176 118 261 351 159 206 165 109 307 147 184 188 188 178 147 233 200 481 266 155 104 139 138 132 164 126 224 1327 127 172 120 125 141 355 206 215 179 161 257 177 257 152 120 142 116 1037 134 149 134 133 119 K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-03T06:25:02.266948Z K 7 svn:log V 187 dport is not the problem that netperf is seeing - the issue is with the control connection and the data connection going to different hosts - something that is intrinsic to hashing ports END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-03T06:26:26.710018Z K 7 svn:log V 44 make sure RADIX_MPATH define gets pulled in END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-03T06:37:59.698016Z K 7 svn:log V 131 Turns out this isn't even used at all... The bogon that I was tracing was in code from my p4 tree, not -current. Delete it here. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-03T07:52:18.926837Z K 7 svn:log V 77 Checkpoint current state of integration - still need to resolve 3 or 4 files END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-03T10:14:47.375498Z K 7 svn:log V 11 Fix style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-03T10:22:19.759113Z K 7 svn:log V 230 Add the ffsll and flsll functions. These are ffs and fls operating on long long arguments. Reviewed by: bde (previous version, that included asm implementation for all ffs and fls functions on i386 and amd64) MFC after: 2 weeks END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-03T10:38:00.092726Z K 7 svn:log V 2771 Implement support for RPCSEC_GSS authentication to both the NFS client and server. This replaces the RPC implementation of the NFS client and server with the newer RPC implementation originally developed (actually ported from the userland sunrpc code) to support the NFS Lock Manager. I have tested this code extensively and I believe it is stable and that performance is at least equal to the legacy RPC implementation. The NFS code currently contains support for both the new RPC implementation and the older legacy implementation inherited from the original NFS codebase. The default is to use the new implementation - add the NFS_LEGACYRPC option to fall back to the old code. When I merge this support back to RELENG_7, I will probably change this so that users have to 'opt in' to get the new code. To use RPCSEC_GSS on either client or server, you must build a kernel which includes the KGSSAPI option and the crypto device. On the userland side, you must build at least a new libc, mountd, mount_nfs and gssd. You must install new versions of /etc/rc.d/gssd and /etc/rc.d/nfsd and add 'gssd_enable=YES' to /etc/rc.conf. As long as gssd is running, you should be able to mount an NFS filesystem from a server that requires RPCSEC_GSS authentication. The mount itself can happen without any kerberos credentials but all access to the filesystem will be denied unless the accessing user has a valid ticket file in the standard place (/tmp/krb5cc_). There is currently no support for situations where the ticket file is in a different place, such as when the user logged in via SSH and has delegated credentials from that login. This restriction is also present in Solaris and Linux. In theory, we could improve this in future, possibly using Brooks Davis' implementation of variant symlinks. Supporting RPCSEC_GSS on a server is nearly as simple. You must create service creds for the server in the form 'nfs/@' and install them in /etc/krb5.keytab. The standard heimdal utility ktutil makes this fairly easy. After the service creds have been created, you can add a '-sec=krb5' option to /etc/exports and restart both mountd and nfsd. The only other difference an administrator should notice is that nfsd doesn't fork to create service threads any more. In normal operation, there will be two nfsd processes, one in userland waiting for TCP connections and one in the kernel handling requests. The latter process will create as many kthreads as required - these should be visible via 'top -H'. The code has some support for varying the number of service threads according to load but initially at least, nfsd uses a fixed number of threads according to the value supplied to its '-n' option. Sponsored by: Isilon Systems MFC after: 1 month END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-03T10:39:35.364523Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-03T14:08:08.953966Z K 7 svn:log V 226 MFC r184074: Assert that v_holdcnt is non-zero before entering lockmgr in vn_lock and ffs_lock. This cannot catch situations where holdcnt is incremented not by curthread, but I think it is useful. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-03T14:11:06.285938Z K 7 svn:log V 295 In vfs_busy(), lockmgr() cannot legitimately sleep, because code checked MNTK_UNMOUNT before, and mnt_mtx is used as interlock. vfs_busy() always tries to obtain a shared lock on mnt_lock, the other user is unmount who tries to drain it, setting MNTK_UNMOUNT before. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-11-03T14:23:15.992561Z K 7 svn:log V 308 Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. The smb library in userspace already knows how to deal with this type of cloning. This also corrects a leak in which the netsmb kernel module could not be unloaded if device nodes had been stat'd but not open'd. Discussed with: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-03T14:35:43.104353Z K 7 svn:log V 110 MFC r184408: Provide an explanation for getinoquota() call in the ufs_access vop. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-03T15:38:45.449379Z K 7 svn:log V 140 Nit: Add a few leading zeros to make this match other mask constants in this file. Also to make sure that I got other ASI constants right. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-03T16:36:23.406593Z K 7 svn:log V 71 Fix few missed accmode changes in coda. Approved by: rwatson (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-03T18:28:12.652585Z K 7 svn:log V 81 Remove " + 1". Thread ID can't be zero anyway while increment may give owerflow. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-03T19:33:20.806672Z K 7 svn:log V 18 A few style nits. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-03T19:57:40.674548Z K 7 svn:log V 177 Remove some unused and broken code that attempted to not invoke locking asserts on NULL vnode pointers. All the vnode assertion routines already check for NULL vnode pointers. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-11-03T20:00:35.390765Z K 7 svn:log V 409 Remove the mnt_holdcnt and mnt_holdcntwaiters because they are useless. Really, the concept of holdcnt in the struct mount is rappresented by the mnt_ref (which prevents the type-stable structure from being "recycled) handled through vfs_ref() and vfs_rel(). On this optic, switch the holdcnt acquisition into an emulated vfs_ref() (and subsequent release into vfs_rel()). Discussed with: kib Tested by: pho END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-03T20:31:00.382307Z K 7 svn:log V 329 Use shared vnode locks instead of exclusive vnode locks for the access(), chdir(), chroot(), eaccess(), fpathconf(), fstat(), fstatfs(), lseek() (when figuring out the current size of the file in the SEEK_END case), pathconf(), readlink(), and statfs() system calls. Submitted by: ups (mostly) Tested by: pho MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-03T21:17:02.313779Z K 7 svn:log V 103 Adjust the license statement to more closely match a standard 3-clause BSD license. MFC after: 3 days END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-11-03T21:17:18.329526Z K 7 svn:log V 180 Revert to preferring mmap(2) over sbrk(2) when mapping memory, due to potential extreme contention in the kernel for multi-threaded applications on SMP systems. Reported by: kris END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-03T21:41:35.069106Z K 7 svn:log V 393 MFC: r184376 - In GCC 4.2 __builtin_frame_address() was fixed to include the V9 stack bias so we no longer need to add it in db_backtrace() and stack_capture() respectively. This also reverts r182168, which kludged around the resulting unaligned access. - Sync the sun4v versions of db_trace.c and stack_machdep.c with the sparc64 ones and fix some style bugs. Approved by: re (kib) END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-11-03T22:05:44.041227Z K 7 svn:log V 62 uaa->ifaces contains pointers so set its entry to NULL not 0. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-11-03T22:09:27.086539Z K 7 svn:log V 363 Bugfix: Cut&paste error from the NetBSD code. Also: Change the initialisation of the command string to a static initialiser. Verify it against the output of umass.c when being sent a command using 'camcontrol eject da0' to a Bulk-Only device. This should make those devices work that need a SCSI eject command to switch to modem mode (Novatel 950D and others). END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-03T22:43:37.387948Z K 7 svn:log V 67 Use more standardized license language Approved by: Thomas Quinot END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-04T00:20:43.836762Z K 7 svn:log V 96 Replace the non-standard disclaimer with the standard one from /COPYRIGHT Approved by: jedgar@ END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-11-04T01:45:49.873142Z K 7 svn:log V 46 unlimit my commit size check for usb2 import. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T02:07:34.863594Z K 7 svn:log V 22 make XEN config build END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-11-04T02:31:03.706669Z K 7 svn:log V 3401 Bring in USB4BSD, Hans Petter Selasky rework of the USB stack that includes significant features and SMP safety. This commit includes a more or less complete rewrite of the *BSD USB stack, including Host Controller and Device Controller drivers and updating all existing USB drivers to use the new USB API: 1) A brief feature list: - A new and mutex enabled USB API. - Many USB drivers are now running Giant free. - Linux USB kernel compatibility layer. - New UGEN backend and libusb library, finally solves the "driver unloading" problem. The new BSD licensed libusb20 library is fully compatible with libusb-0.1.12 from sourceforge. - New "usbconfig" utility, for easy configuration of USB. - Full support for Split transactions, which means you can use your full speed USB audio device on a high speed USB HUB. - Full support for HS ISOC transactions, which makes writing drivers for various HS webcams possible, for example. - Full support for USB on embedded platforms, mostly cache flushing and buffer invalidating stuff. - Safer parsing of USB descriptors. - Autodetect of annoying USB install disks. - Support for USB device side mode, also called USB gadget mode, using the same API like the USB host side. In other words the new USB stack is symmetric with regard to host and device side. - Support for USB transfers like I/O vectors, means more throughput and less interrupts. - ... see the FreeBSD quarterly status reports under "USB project" 2) To enable the driver in the default kernel build: 2.a) Remove all existing USB device options from your kernel config file. 2.b) Add the following USB device options to your kernel configuration file: # USB core support device usb2_core # USB controller support device usb2_controller device usb2_controller_ehci device usb2_controller_ohci device usb2_controller_uhci # USB mass storage support device usb2_storage device usb2_storage_mass # USB ethernet support, requires miibus device usb2_ethernet device usb2_ethernet_aue device usb2_ethernet_axe device usb2_ethernet_cdce device usb2_ethernet_cue device usb2_ethernet_kue device usb2_ethernet_rue device usb2_ethernet_dav # USB wireless LAN support device usb2_wlan device usb2_wlan_rum device usb2_wlan_ral device usb2_wlan_zyd # USB serial device support device usb2_serial device usb2_serial_ark device usb2_serial_bsa device usb2_serial_bser device usb2_serial_chcom device usb2_serial_cycom device usb2_serial_foma device usb2_serial_ftdi device usb2_serial_gensa device usb2_serial_ipaq device usb2_serial_lpt device usb2_serial_mct device usb2_serial_modem device usb2_serial_moscom device usb2_serial_plcom device usb2_serial_visor device usb2_serial_vscom # USB bluetooth support device usb2_bluetooth device usb2_bluetooth_ng # USB input device support device usb2_input device usb2_input_hid device usb2_input_kbd device usb2_input_ms # USB sound and MIDI device support device usb2_sound 2) To enable the driver at runtime: 2.a) Unload all existing USB modules. If USB is compiled into the kernel then you might have to build a new kernel. 2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same base name like the kernel device option. Submitted by: Hans Petter Selasky hselasky at c2i dot net Reviewed by: imp, alfred END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-11-04T02:36:18.617790Z K 7 svn:log V 27 all done with usb2 commit! END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-11-04T03:42:01.131018Z K 7 svn:log V 53 add usb2_if.m to mfiles to unbreak build of modules. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T03:47:19.514354Z K 7 svn:log V 48 don't leak rtentry references on insert failure END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T03:53:56.192659Z K 7 svn:log V 70 Create new branch for importing ifnet multiple transmit queue support END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T06:24:46.045411Z K 7 svn:log V 63 fix ordering to avoid padding on 64-bit and add rss_hash field END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T06:25:32.032071Z K 7 svn:log V 53 initialize in order of entries add init for rss_hash END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T06:27:48.435053Z K 7 svn:log V 127 add if_start_mbuf interface to ifnet add initialization in if_attach using default function which does the same as IFQ_HANDOFF END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T06:29:15.755541Z K 7 svn:log V 37 set rss_hash in mbuf if it isn't set END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T06:30:20.263078Z K 7 svn:log V 75 replace IFQ_HANDOFF in ether_output_frame with call to ifp's if_start_mbuf END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T06:34:01.660794Z K 7 svn:log V 65 replace calls to IFQ_HANDOFF with if_start_mbuf in vlan and lagg END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-04T10:58:02.451940Z K 7 svn:log V 145 Remove redundant return value tests. There is no need to test whether the return value is non-zero here. Just return the error number directly. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T11:29:05.244638Z K 7 svn:log V 17 Add my user dir. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T11:30:24.105158Z K 7 svn:log V 52 Make a sandbox for back-porting RPCSEC_GSS support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T11:31:09.965684Z K 7 svn:log V 55 Branch RELENG_7 to work on merging RPCSEC_GSS support. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-11-04T11:52:50.003329Z K 7 svn:log V 147 Add support for Asus A8Sr notebooks. PR: 128553 Submitted by: Eygene Ryabinkin Reviewed by: philip MFC after: 2 months END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T11:54:26.357293Z K 7 svn:log V 32 Merged /head/sys:r183005,184588 END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T12:02:01.533909Z K 7 svn:log V 30 Merged /head/usr.sbin:r184588 END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T12:03:55.633171Z K 7 svn:log V 30 Merged /head/etc/rc.d:r184588 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-04T12:30:31.059328Z K 7 svn:log V 180 In UFS, when reading EA that contains ACL fails for some reason, include inode number and filesystem name, so the administrator can fix the problem. Approved by: rwatson (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:44:07.283330Z K 7 svn:log V 64 Avoid assigning a const char * to a char *. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:44:43.971748Z K 7 svn:log V 64 Avoid assigning a const char * to a char *. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:49:18.541510Z K 7 svn:log V 27 Committed to wrong branch. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:49:53.973056Z K 7 svn:log V 64 Avoid assigning a const char * to a char *. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:50:50.776279Z K 7 svn:log V 20 Add missing header. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:51:15.526382Z K 7 svn:log V 57 libutil now builds at WARNS level 6. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:54:07.378036Z K 7 svn:log V 47 MFH (r184633, r184635): build at WARNS level 6 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T13:55:55.431818Z K 7 svn:log V 33 Grrr, forgot to commit mergeinfo END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T14:17:49.928194Z K 7 svn:log V 72 Whitespace and style fixes, build at WARNS level 6. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-04T14:20:08.425377Z K 7 svn:log V 38 MFH (r184638): build at WARNS level 6 END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T15:47:06.782095Z K 7 svn:log V 15 Merge r181630. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-04T15:56:44.448811Z K 7 svn:log V 225 MFC r184409: Protect check for v_pollinfo == NULL and assignment of the newly allocated vpollinfo with vnode interlock. Fully initialize vpollinfo before putting pointer to it into vp->v_pollinfo. Approved by: re (kensmith) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T16:22:14.902986Z K 7 svn:log V 15 Merge r184588. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T16:43:02.500914Z K 7 svn:log V 30 Include . END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T16:45:17.486948Z K 7 svn:log V 20 Regen syscall bits. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-11-04T18:02:35.931513Z K 7 svn:log V 514 Repeat vmstat header after window.rows instead of a hardcoded 20. Use ioctl() to get the window size in vmstat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to the current lines of the terminal when the terminal is resized, so that the full terminal length can be used for output lines. Inspired by: svn change 175562 (same feature for iostat) Reviewed by: ru (who fixed some of my bugs too) MFC after: 1 week END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-11-04T18:20:54.494784Z K 7 svn:log V 95 Fix comment typo that managed to sneak in when I copy pasted some comments & code from iostat. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T18:31:16.119952Z K 7 svn:log V 78 Merged /head/include:r184588 Add some defines for RPCSEC_GSS pseudo flavors. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T18:38:48.874855Z K 7 svn:log V 66 Stub out RPCs which use GSS-API features not present in RELENG_7. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T18:53:33.474454Z K 7 svn:log V 115 Don't leak a reference on the /compat/linux vnode everytime the linprocfs 'mtab' file is read. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T18:54:44.785611Z K 7 svn:log V 178 Don't pass WANTPARENT to the pathname lookup of the mount point for a unionfs mount just so we can immediately drop the reference on the parent directory vnode without using it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T18:56:12.441841Z K 7 svn:log V 308 Quiet a WITNESS warning with the dirhash sx locks by setting the DUPOK flag. Specifically, if two threads race to create a dirhash for a directory, then one might already have created a private dirhash structure (and locked it) when it realizes the directory now has a structure and tries to lock that one. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T19:04:01.196026Z K 7 svn:log V 644 Remove unnecessary locking around vn_fullpath(). The vnode lock for the vnode in question does not need to be held. All the data structures used during the name lookup are protected by the global name cache lock. Instead, the caller merely needs to ensure a reference is held on the vnode (such as vhold()) to keep it from being freed. In the case of procfs' /file entry, grab the process lock while we gain a new reference (via vhold()) on p_textvp to fully close races with execve(2). For the kern.proc.vmmap sysctl handler, use a shared vnode lock around the call to VOP_GETATTR() rather than an exclusive lock. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T19:13:53.708468Z K 7 svn:log V 120 Don't bother calling setrunnable() and clearing the sleeping flag in sleepq_resume_thread() if the thread isn't asleep. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-11-04T19:17:32.188918Z K 7 svn:log V 76 style(9): mostly avoiding line wrap by not indenting cases. No obj change. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-11-04T19:20:19.127211Z K 7 svn:log V 57 Add Rene Ladan, as well as my relationship towards Rene. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-11-04T19:23:48.984827Z K 7 svn:log V 136 Declare functions and variables static and save a few byte. This is a style(9)-change, too. Separate commit as it changes the object. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-04T19:26:39.400553Z K 7 svn:log V 56 Adjust for changes in KPI between RELENG_7 and current. END K 10 svn:author V 4 rink K 8 svn:date V 27 2008-11-04T19:28:19.361477Z K 7 svn:log V 141 Fix the build (on at least powerpc) by moving the htole16() from the case(x) expression directly to the switch(x) itself. Reviewed by: imp@ END K 10 svn:author V 4 rink K 8 svn:date V 27 2008-11-04T20:57:39.879897Z K 7 svn:log V 341 Even though the previous commit was functionally equivalent with the code it replaced, it was wrong: le16toh should have been used. Note that these changes will not make the driver work on powerpc, but it should fix at least the i386/amd64 cases. Obtained from: //depot/projects/usb/src/sys/dev/usb2/wlan/if_zyd2.c#20 Noticed by: jeli, ed END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T22:30:24.389394Z K 7 svn:log V 80 Don't lock the vnode around calls to vn_fullpath(). Reviewed by: csjp, rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-11-04T22:31:04.562713Z K 7 svn:log V 160 Use shared vnode locks for auditing vnode arguments as auditing only does a VOP_GETATTR() which does not require an exclusive lock. Reviewed by: csjp, rwatson END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-11-04T22:51:56.638750Z K 7 svn:log V 443 MFC: r184379 Supply a valid Connect ID when issuing XPT_DEV_MATCH, which according to my reading of the CAM draft is mandatory for all CCB function calls and enforced by xptioctl() since at least r168752. Previously we happened to use 0 as the Path ID, causing the XPT_DEV_MATCH call to fail if there's no SCSI bus 0. Basically the same bug was also fixed the same way for camcontrol(8) as part of r126514. PR: 127605 Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-11-04T23:03:36.793681Z K 7 svn:log V 60 Correct a typo that prevented my laptop from starting devd. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T23:06:35.775405Z K 7 svn:log V 120 Commit rwatson's tcp_input locking changes http://www.watson.org/~robert/freebsd/netperf/20081104-tcp_input-rlock.diff END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T23:26:39.015713Z K 7 svn:log V 20 add PERFTEST config END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-04T23:38:08.024388Z K 7 svn:log V 23 enable multiple slices END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-11-05T03:01:23.419196Z K 7 svn:log V 115 Revert rev 184216 and 184199, due to the way the thread_lock works, it may cause a lockup. Noticed by: peter, jhb END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-05T05:26:11.129333Z K 7 svn:log V 279 Fix compile warnings building on amd64. This is modified slightly from Jaakko's original patch: I have misgivings about the portability of the 'z' printf modifier so opted to cast the arguments to (int) instead. PR: bin/128561 Submitted by: Jaakko Heinonen MFC after: 30 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-05T06:40:53.452589Z K 7 svn:log V 175 When comparing, cast to the larger size, off_t in this case. Once we know which one is smaller, then we cast to the smaller size. Thanks to Xin Li (delphij@) Pointy hat: /me END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-05T09:03:46.815173Z K 7 svn:log V 46 Don't clone the route that we are looking up. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-11-05T09:27:13.745338Z K 7 svn:log V 50 o Replace Xr to gpt(8) which is gone by gpart(8). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-11-05T09:28:30.848248Z K 7 svn:log V 25 o One more s/gpt/gpart/. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-11-05T09:42:05.734141Z K 7 svn:log V 58 Tiny typo fix and remove 'example' from a "real" manpage. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-05T09:55:53.563260Z K 7 svn:log V 28 Don't clone route on lookup END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-11-05T10:20:33.897800Z K 7 svn:log V 50 Add defaults for /etc/rc.d/gssd Approved by: dfr END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-05T10:45:39.366231Z K 7 svn:log V 205 Disconnect gr_util.c from the build. It isn't documented or used anywhere in the tree, and due to unsafe pointer arithmetic, it will most likely crash on architectures with strict alignment requirements. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-05T11:06:10.270691Z K 7 svn:log V 68 Comment out WARNS. There are too many alignment issues in libutil. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-05T11:37:26.354581Z K 7 svn:log V 245 Do only define the variable if either INET or INET6 is defined. To prevent it from compiling without INET and INET6 we should put an explicit #error in there like we have in other files, but not rely on an unused variable. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-05T11:39:46.258571Z K 7 svn:log V 55 Make tun(4) compile without INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-05T11:43:01.211687Z K 7 svn:log V 48 Make compile without INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-05T11:54:56.020034Z K 7 svn:log V 119 Hide the IPv4 init function if the kernel is compiled without INET. It is not used in that case and would not compile. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-05T12:02:25.224408Z K 7 svn:log V 119 Make compile without INET. The change is modelled after the way it was done for (without) INET6. MFC after: 2 months END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-05T12:13:10.812370Z K 7 svn:log V 703 Like many other functions that handle sockaddrs, realhostname_sa() takes a struct sockaddr * that it casts internally to the appropriate type based on sa_family. However, struct sockaddr has very lax alignment requirements, which causes the compiler to complain when you cast a struct sockaddr * to, say, a struct sockaddr_in6 *. I find it reasonable to assume that the pointer we received is in fact correctly aligned. Therefore, we can work around the compiler warnings by casting to void * before casting to the desired type. For readability's sake, this is done with macros. The same technique should prove useful in other parts of the tree that deal with socket addresses. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-05T12:28:44.968665Z K 7 svn:log V 220 MFC r183737 (by kan): Allow strong symbols to override weak ones for lookups done through dlsym with RTLD_NEXT/RTLD_SELF handles. Allow symbols from ld-elf.so to be located this way too. Approved by: re (kensmith), kan END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-05T12:32:42.717166Z K 7 svn:log V 242 MFC r182698 (by kan): Make sure internal rtld malloc routines are not called from unlocked contexts as rtld's malloc is not thread safe and is only supposed to be called with exclusive bind lock already held. Approved by: re (kensmith), kan END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-11-05T14:14:31.553481Z K 7 svn:log V 143 MFC rev. 183041: - remove superfluous word PR: docs/127401 Submitted by: Mick Charles Beaver Approved by: re@ (blackend) END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-11-05T14:15:22.013865Z K 7 svn:log V 143 MFC rev. 183041: - remove superfluous word PR: docs/127401 Submitted by: Mick Charles Beaver Approved by: re@ (blackend) END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-11-05T14:15:53.291132Z K 7 svn:log V 143 MFC rev. 183041: - remove superfluous word PR: docs/127401 Submitted by: Mick Charles Beaver Approved by: re@ (blackend) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-05T15:04:03.928208Z K 7 svn:log V 526 Reintroduce the snp(4) driver. Because the TTY hooks interface was not finished when I imported the MPSAFE TTY layer, I had to disconnect the snp(4) driver. This snp(4) implementation has been sitting in my P4 branch for some time now. Unfortunately it still doesn't use the same error handling as snp(4) (returning codes through FIONREAD), but it should already be usable. I'm committing this to SVN, hoping someone else could polish off its rough edges. It's always better than having a broken driver sitting in the tree. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-05T15:07:42.377329Z K 7 svn:log V 42 Missing email address MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-05T15:08:09.673390Z K 7 svn:log V 26 utf-8 MFC after: 3 weeks END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-05T16:24:31.982915Z K 7 svn:log V 46 Don't return a NULL mbuf from xdrmbuf_getall. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-05T16:25:26.882818Z K 7 svn:log V 99 If mountd doesn't specify a secflavor list for the mount, assume that -sec=sys is what was wanted. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-05T16:35:13.227595Z K 7 svn:log V 19 MFC: 184692,184693 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-05T17:12:18.781798Z K 7 svn:log V 46 Improve driver operation example description. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-11-05T19:35:09.649494Z K 7 svn:log V 60 Merge latest DTrace changes from Perforce. Approved by: jb END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-11-05T19:35:43.718685Z K 7 svn:log V 103 Merge latest DTrace changes from Perforce. Update libproc API to reflect new changes. Approved by: jb END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-11-05T19:39:11.458554Z K 7 svn:log V 43 Merge latest DTrace changes from Perforce. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-11-05T19:39:37.909553Z K 7 svn:log V 60 Merge latest DTrace changes from Perforce. Approved by: jb END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-11-05T19:40:36.661285Z K 7 svn:log V 60 Merge latest DTrace changes from Perforce. Approved by: jb END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-11-05T20:32:13.486193Z K 7 svn:log V 102 Remove definition of KMEM_DEBUG accidentally brought in by latest DTrace import. Noticed by: thompsa END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-11-05T21:44:20.942054Z K 7 svn:log V 42 A start at multi-queue transmit for mxge. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-05T23:58:40.375274Z K 7 svn:log V 27 fix setting of nmbclusters END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-06T02:41:08.790452Z K 7 svn:log V 171 rename if_start_mbuf to if_transmit rename rss_hash to flowid convert spare in inpcb to inp_connid set connid on TCP ingress if not set set flowid on IP egress if not set END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-06T04:51:09.199006Z K 7 svn:log V 81 although the rt should never be NULL if the hash is set ... check that rt is set END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-06T04:53:02.462750Z K 7 svn:log V 138 Be paranoid and zero out passwd PR: 122070 Submitted by: Steven Kreuzer Reminded by: gnn@ MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-06T06:14:25.578443Z K 7 svn:log V 47 up replacement timeout, check critical section END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T08:55:46.672168Z K 7 svn:log V 214 In case INET is not defined, then ANCACHE is not defined and the sc does not have 'an_have_rssimap' variable. Add an ANCACHE check to poperly hide the case and make an(4) compile without INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T09:07:56.145930Z K 7 svn:log V 181 Hide an unused variable in case we compile without INET. Include ethernet.h directly so that the constants are always defined. Makes fddi compile without INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T09:18:29.832397Z K 7 svn:log V 195 Hide an unused variable in case we compile without INET. Include ethernet.h and if_arp.h directly so that the constants are always defined. Makes token compile without INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T09:27:47.025827Z K 7 svn:log V 90 Check for INET not AF_INET in #ifdef. Makes it compile without INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T09:41:31.688993Z K 7 svn:log V 231 Hide an unused variable in case we compile with neither INET nor INET6. NATM needs 'struct in_addr' to compile, which is a problem on its own but include in.h for now if we have NATM but neither INET or INET6. MFC after: 2 months END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-06T09:59:57.321559Z K 7 svn:log V 42 printk state for recursive mappings issue END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T10:17:57.778390Z K 7 svn:log V 96 Hide AF_INET specific ioctl handling under #ifdef INET. Reviewed by: kmacy MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T10:35:46.737930Z K 7 svn:log V 133 For now our LRO code (tcp_lro.c) only supports IPv4 properly thus only enable if INET is on. Reviewed by: kmacy MFC after: 2 months END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-06T10:53:35.604480Z K 7 svn:log V 33 Unbreak NFS. Pointy hat to: dfr END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T11:00:57.070494Z K 7 svn:log V 77 Hide AF_INET specific ioctl handling under #ifdef INET. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T11:11:25.344074Z K 7 svn:log V 77 Hide AF_INET specific ioctl handling under #ifdef INET. MFC after: 2 months END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-06T11:43:49.343773Z K 7 svn:log V 51 Don't depend on krpc.ko in the NFS_LEGACYRPC case. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T12:33:33.254021Z K 7 svn:log V 584 Fix a bug introduced with r182851 splitting tcp_mss() into tcp_mss() and tcp_mss_update() so that tcp_mtudisc() could re-use the same code. In case we return early and got a metricptr to pass the hostcache info back to the caller we need to initialize the data to a defined state (zero it) as tcp_hc_get() would do if there was no hit. Without that the caller would check on random stack garbage which could lead to undefined results. This only affected tcp_mss() if there was no routing entry for the peer, tcp_mtudisc() was not affected. MFC after: 2 months (along with r182851) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T12:59:00.444371Z K 7 svn:log V 181 Adopt the comment for tcp_maxmtu(); we are returning a number not a pointer. While here update the rest of the comment to better match what we have these days. MFC after: 2 months END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T13:25:59.457049Z K 7 svn:log V 747 Fix a bug introduced with r182851 splitting tcp_mss() into tcp_mss() and tcp_mss_update() so that tcp_mtudisc() could re-use the same code. Move the TSO logic back to tcp_mss() and out of tcp_mss_update(). We tried to avoid that initially but if were are called from tcp_output() with EMSGSIZE, we cleared the TSO flag on the tcpcb there, called into tcp_mtudisc() and tcp_mss_update() which then would reenable TSO on the tcpcb based on TSO capabilities of the interface as learnt in tcp_maxmtu/6(). So if TSO was enabled on the (possibly new) outgoing interface it was turned back on, which lead to an endless loop between tcp_output() and tcp_mtudisc() until we overflew the stack. Reported by: kmacy MFC after: 2 months (along with r182851) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-11-06T13:28:50.329336Z K 7 svn:log V 201 Oops. Correct a mis-merge. This piece of r183860 didn't make it through while doing the merge. PR: misc/128610 Submitted by: veron x503 hotmail com Approved by: re (blackend, kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-11-06T13:32:49.018062Z K 7 svn:log V 201 Oops. Correct a mis-merge. This piece of r183860 didn't make it through while doing the merge. PR: misc/128610 Submitted by: veron x503 hotmail com Approved by: re (blackend, kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-11-06T13:34:49.478755Z K 7 svn:log V 201 Oops. Correct a mis-merge. This piece of r183860 didn't make it through while doing the merge. PR: misc/128610 Submitted by: veron x503 hotmail com Approved by: re (blackend, kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T15:26:09.178883Z K 7 svn:log V 134 Include if_arp.h for IFP2AC so that the netgraph parts in if.c are happy even if compiled without INET or INET6. MFC after: 2 months END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-11-06T15:32:02.580867Z K 7 svn:log V 190 - Fix a bug in mxge's multi-queue transmit support which could cause the firmware to not see transmits. - Add some debug counters to diagnose further problems with multiple transmit queues END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-06T16:20:27.137204Z K 7 svn:log V 96 Support kernel crash mini dumps on ARM architecture. Obtained from: Juniper Networks, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-06T16:25:12.179368Z K 7 svn:log V 162 Auto-size kernel page tables allocation on Marvell systems. This allows mini dumps to fully work for these platforms. Obtained from: Juniper Networks, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-06T16:28:28.778037Z K 7 svn:log V 33 ARM pmap style(9) and cosmetics. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-06T16:30:20.723308Z K 7 svn:log V 117 Fix typo and while here another one. Reviewed by: keramida Reported by: keramida MFC after: 2 months (with r184720) END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-11-06T16:30:32.524799Z K 7 svn:log V 41 Eliminate dead declarations in libstand. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-11-06T16:30:38.036428Z K 7 svn:log V 997 Add two new options to du(1): -A Display the apparent size instead of the disk usage. This can be helpful when operating on compressed volumes or sparse files. -B blocksize Calculate block counts in blocksize byte blocks. This is differ- ent from the -k, -m options or setting BLOCKSIZE and gives an estimate of how much space the examined file hierachy would require on a filesystem with the given blocksize. Unless in -A mode, blocksize is rounded up to the next multiple of 512. The former is similar to GNU's du(1) --apparent-size. The latter is different from what GNU's du(1) -B does, which is equivalent to setting BLOCKSIZE in our implementation and is rather pointless as it doesn't add any real value (i.e. you can achieve the same with a simple awk-script). No change in the normal output or processing. Reviewed by: keramida@, Peter French Otherwise silience from: freebsd-hackers@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-06T16:51:33.594317Z K 7 svn:log V 221 Fix a panic caused by a corrupted table when the header is still valid. We were checking the state of the header and not the table. PR: 119868 Based on a patch from: Jaakko Heinonen MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-06T17:00:19.107910Z K 7 svn:log V 22 Fix copyright notice. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-06T17:26:12.199450Z K 7 svn:log V 84 Bring in http://perforce.freebsd.org/chv.cgi?CH=152584 from hps. Submitted by: hps END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-06T19:17:58.985923Z K 7 svn:log V 251 Change ZFS behaviour to match UFS: when moving (rename(2)) a subdirectory from one parent directory to another, in addition to the usual access checks one also needs write access to the subdirectory being moved. Approved by: rwatson (mentor), pjd END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-06T21:47:02.551899Z K 7 svn:log V 49 A lot of spelling fixes. Submitted by: keramida END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-11-06T22:11:57.641182Z K 7 svn:log V 165 MFC a rewrite of rt_check(). also revert the addition of rt_check_fib() which we discovered is not needed. fixes some hangs people have seen Approved by: re (ken) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-06T22:28:04.055204Z K 7 svn:log V 185 Backoff the last patch. It was overly restrictive - we want to check for write permission on target only when moving the target between two directories. Approved by: rwatson (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-11-06T22:32:19.832266Z K 7 svn:log V 120 MFC: r184492 - add offset / fileid / fsid to KERN_PROC_VMMAP sysctl for the benefit of valgrind. Approved by: re (kib) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-11-06T23:55:28.923730Z K 7 svn:log V 76 Restore (intmax_t) casts I lost during the last change & unbreak the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-11-07T07:02:28.796719Z K 7 svn:log V 148 Remove informational messages left. These messages were intended to show up in verbose boot mode. Reported by: pluknet ( pluknet<> gmail DOT com ) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-07T10:43:01.438795Z K 7 svn:log V 84 Range-check NFSv2 procedure numbers before converting to NFSv3. Submitted by: csjp END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-07T10:46:15.250474Z K 7 svn:log V 26 MFC: 184716,184719,184744 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-07T11:07:57.631896Z K 7 svn:log V 168 This is direct commit to stable/7 to accomodate KPI difference between HEAD and the branch. Provide struct thread * argument to VOP_GETATTR. Approved by: re (rwatson) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-07T11:42:02.257496Z K 7 svn:log V 259 MFC: r183014 (which was missed with r184739: r183013,r183017,r183032,r183034) Original commit message from HEAD: Julian: "oops commit the version that compiles" Unbreak RELENG_7 including the missing sys/proc.h header file. Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-07T14:45:42.126530Z K 7 svn:log V 65 Improve output when a test fails. Approved by: rwatson (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-07T14:46:46.445983Z K 7 svn:log V 111 Make test for write access to the directory being moved a little more specific. Approved by: rwatson (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-07T15:01:40.471112Z K 7 svn:log V 71 Add one more EACCES clause to rename.2. Approved by: rwatson (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-07T17:55:09.573903Z K 7 svn:log V 17 Two minor fixes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-07T19:51:07.617683Z K 7 svn:log V 214 Don't assign completely meaningless name to the node on creation. As soon as node is created from the netgraph side now, it can be found without using this. Allow application to assign whatever name it want later. END K 10 svn:author V 8 blackend K 8 svn:date V 27 2008-11-07T22:01:31.193846Z K 7 svn:log V 50 Update ports number and size of Ports Collection. END K 10 svn:author V 8 blackend K 8 svn:date V 27 2008-11-07T22:06:04.744314Z K 7 svn:log V 87 MFC: r184753 Update ports number and size of Ports Collection. Approved by: re (kib) END K 10 svn:author V 8 blackend K 8 svn:date V 27 2008-11-07T22:06:50.678261Z K 7 svn:log V 91 MFC: rev. 184753 Update ports number and size of Ports Collection. Approved by: re (kib) END K 10 svn:author V 8 blackend K 8 svn:date V 27 2008-11-07T22:07:27.846150Z K 7 svn:log V 91 MFC: rev. 184753 Update ports number and size of Ports Collection. Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-07T22:36:19.438309Z K 7 svn:log V 84 Create branch directly off of head for new multi queue / flowtable / tcp rlock work END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-07T23:50:57.709023Z K 7 svn:log V 53 Import multi-tx, flowtable, and tcp rlocking changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-08T02:02:13.173582Z K 7 svn:log V 138 add memory barrier before critical_exit to ensure that all buffered updates are committed to main memory before a preemption is permitted END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-08T02:05:41.255855Z K 7 svn:log V 107 Assign new cookie to the node to reflect API change. All applications will have to be adapted and rebuilt. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-08T04:43:24.152991Z K 7 svn:log V 383 New command-line parser for bsdtar. This replaces the getopt()/getopt_long() wrapper, the old-style argument rewriter and the associated configuration glue with a more straightforward custom command parser. In particular, this ensures that bsdtar will have consistent option parsing on every platform, regardless of whether the platform supports getopt_long(). MFC after: 30 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-08T06:25:57.069093Z K 7 svn:log V 173 Don't use curthread to resolve file descriptor. Request may be queued, so thread will be different. Instead require sender to send process ID together with file descriptor. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-08T11:45:11.771038Z K 7 svn:log V 63 Include where appropriate for bzero, memset etc. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-08T11:46:40.799298Z K 7 svn:log V 12 Fix nmount. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-08T11:47:23.944104Z K 7 svn:log V 47 Bump __FreeBSD_version for nmount-enabled NFS. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-08T11:48:22.134855Z K 7 svn:log V 46 Merge nmount handling and RPCSEC_GSS support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-08T11:48:57.781334Z K 7 svn:log V 40 FreeBSD 7.x is still using heimdal 0.6. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-08T11:49:58.587684Z K 7 svn:log V 72 Back-port a fix from heimdal 1.1 which notices when KRB5CCNAME changes. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-11-08T17:45:47.389614Z K 7 svn:log V 29 Spell 'different' correctly. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-11-08T19:56:32.141874Z K 7 svn:log V 129 Require write access on a directory being moved from one parent directory to another in ZFS. Approved by: rwatson (mentor), pjd END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-08T20:40:39.942991Z K 7 svn:log V 1234 Reduce the default baud rate of PTY's to 9600. On RELENG_6 (and probably RELENG_7) we see our syscons windows and pseudo-terminals have the following buffer sizes: | LINE RAW CAN OUT IHIWT ILOWT OHWT LWT COL STATE SESS PGID DISC | ttyv0 0 0 0 7680 6720 2052 256 7 OCcl 1146 1146 term | ttyp0 0 0 0 7680 6720 1296 256 0 OCc 82033 82033 term These buffer sizes make no sense, because we often have much more output than input, but I guess having higher input buffer sizes improves guarantees of the system. On MPSAFE TTY I just sent both the input and output buffer sizes to 7 KB, which is pretty big on a standard FreeBSD install with 8 syscons windows and some PTY's. Reduce the baud rate to 9600 baud, which means we now have the following buffer sizes: | LINE INQ CAN LIN LOW OUTQ USE LOW COL SESS PGID STATE | ttyv0 1920 0 0 192 1984 0 199 7 2401 2401 Oil | pts/0 1920 0 0 192 1984 0 199 5631 1305 2526 Oi This is a lot smaller, but for pseudo-devices this should be good enough. You need to do a lot of punching to fill up a 7.5 KB input buffer. If it turns out things don't work out this way, we'll just switch to 19200 baud. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-08T23:26:24.311737Z K 7 svn:log V 33 Bringback recursion sanity check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-09T00:00:56.338981Z K 7 svn:log V 78 rt and hash fields can't safely be held in registers across critical sections END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-09T00:22:36.675940Z K 7 svn:log V 26 try generic store barrier END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-09T00:38:11.499269Z K 7 svn:log V 31 Only f_rt needs to be volatile END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-09T00:49:36.245699Z K 7 svn:log V 47 validate rtentry before doing any other checks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-11-09T01:10:21.187579Z K 7 svn:log V 262 Add workaround for a back reference when no corresponding parenthesized subexpression is defined. For example, the following command line caused unexpected behavior like segmentation fault: % echo test | sed -e 's/test/\1/' PR: bin/126682 MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-11-09T01:53:06.015922Z K 7 svn:log V 111 make kern.ipc.nmbclusters actually have a useful effect on nmbclusters et al. initialize pkthdr in field order END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-09T06:44:53.767002Z K 7 svn:log V 119 Be paranoid and use snprintf PR: bin/122137 Submitted by: Steven Kreuzer MFC after: 3 days END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-09T07:34:11.629585Z K 7 svn:log V 84 Don't leave files in /var/cront/tabs when interrupted PR: 17363 MFC after: 3 days END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-11-09T07:58:23.300204Z K 7 svn:log V 65 Ignore files that only differ in CVS Id tag. MFC after: 2 weeks END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-11-09T08:36:35.472120Z K 7 svn:log V 161 Change the meaning of a "*" argument to option -c to mean 'all unhalted CPUs', instead of 'all CPUs'. This change brings pmccontrol(8) in line with pmcstat(8). END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-11-09T08:39:52.866028Z K 7 svn:log V 82 - Document the changed meaning of a '*' argument to option "-c". - Tweak grammar. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2008-11-09T09:01:09.770265Z K 7 svn:log V 161 Revert to previous revision. I should not commit anything at 3.50 AM. In addition to danfe's comments, I got others. I'll work on a better version of the patch. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T09:05:38.582681Z K 7 svn:log V 58 - Open vendor/ncurses for the upcoming ncurses 5.7 update END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T09:06:04.738025Z K 7 svn:log V 26 - Flatten the vendor area END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T09:07:46.877971Z K 7 svn:log V 48 - Remove svn:keywords on unmodified vendor code END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T09:24:01.155264Z K 7 svn:log V 22 - Bootstrap mergeinfo END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-09T10:45:13.431329Z K 7 svn:log V 945 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. Looking at our source code history, it seems the uname(), getdomainname() and setdomainname() system calls got deprecated somewhere after FreeBSD 1.1, but they have never been phased out properly. Because we don't have a COMPAT_FREEBSD1, just use COMPAT_FREEBSD4. Also fix the Linuxolator to build without the setdomainname() routine by just making it call userland_sysctl on kern.domainname. Also replace the setdomainname()'s implementation to use this approach, because we're duplicating code with sysctl_domainname(). I wasn't able to keep these three routines working in our COMPAT_FREEBSD32, because that would require yet another keyword for syscalls.master (COMPAT4+NOPROTO). Because this routine is probably unused already, this won't be a problem in practice. If it turns out to be a problem, we'll just restore this functionality. Reviewed by: rdivacky, kib END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-09T10:48:06.345415Z K 7 svn:log V 43 Regenerate system call tables for r184789. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T14:01:30.026886Z K 7 svn:log V 55 - Create my user dir for holding FreeBSD related works END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T14:02:36.932157Z K 7 svn:log V 40 - directory for contrib/ncurses staging END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T14:05:16.385347Z K 7 svn:log V 39 - Create directories needed by ncurses END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-11-09T14:05:31.220046Z K 7 svn:log V 25 - Copy from current HEAD END