ƒ°194209 203 2427 144 269 134 147 135 168 134 162 315 120 119 113 141 116 113 119 120 266 157 147 152 288 449 523 234 448 169 392 251 540 236 387 128 176 165 199 569 197 149 149 340 523 257 214 147 147 508 317 512 331 175 172 1031 98 936 532 462 337 532 344 239 136 121 162 151 167 515 117 274 116 124 289 253 307 360 505 221 190 865 412 275 221 313 243 199 224 218 144 402 252 145 371 114 505 218 136 199 155 106 235 150 128 145 130 157 135 125 1342 222 122 227 311 254 432 347 219 378 224 128 267 181 321 171 160 240 134 131 236 142 158 98 337 170 171 257 298 99 249 113 120 129 108 108 108 129 435 183 322 429 177 103 129 176 257 215 149 221 133 196 191 142 133 213 177 289 201 732 228 625 123 133 156 152 310 200 265 146 428 559 135 1123 121 98 136 158 148 119 199 606 133 440 149 154 172 398 190 802 633 175 166 252 147 K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-14T19:51:43.806971Z K 7 svn:log V 2333 Long, long ago in r27464 special case code for mapping device-backed memory with 4MB pages was added to pmap_object_init_pt(). This code assumes that the pages of a OBJT_DEVICE object are always physically contiguous. Unfortunately, this is not always the case. For example, jhb@ informs me that the recently introduced /dev/ksyms driver creates a OBJT_DEVICE object that violates this assumption. Thus, this revision modifies pmap_object_init_pt() to abort the mapping if the OBJT_DEVICE object's pages are not physically contiguous. This revision also changes some inconsistent if not buggy behavior. For example, the i386 version aborts if the first 4MB virtual page that would be mapped is already valid. However, it incorrectly replaces any subsequent 4MB virtual page mappings that it encounters, potentially leaking a page table page. The amd64 version has a bug of my own creation. It potentially busies the wrong page and always an insufficent number of pages if it blocks allocating a page table page. To my knowledge, there have been no reports of these bugs, hence, their persistance. I suspect that the existing restrictions that pmap_object_init_pt() placed on the OBJT_DEVICE objects that it would choose to map, for example, that the first page must be aligned on a 2 or 4MB physical boundary and that the size of the mapping must be a multiple of the large page size, were enough to avoid triggering the bug for drivers like ksyms. However, one side effect of testing the OBJT_DEVICE object's pages for physical contiguity is that a dubious difference between pmap_object_init_pt() and the standard path for mapping devices pages, i.e., vm_fault(), has been eliminated. Previously, pmap_object_init_pt() would only instantiate the first PG_FICTITOUS page being mapped because it never examined the rest. Now, however, pmap_object_init_pt() uses the new function vm_object_populate() to instantiate them all (in order to support testing their physical contiguity). These pages need to be instantiated for the mechanism that I have prototyped for automatically maintaining the consistency of the PAT settings across multiple mappings, particularly, amd64's direct mapping, to work. (Translation: This change is also being made to support jhb@'s work on the Nvidia feature requests.) Discussed with: jhb@ END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-06-14T19:53:52.517862Z K 7 svn:log V 50 Bump __FreeBSD_version for OpenSSL 0.9.8k import. END K 10 svn:author V 2 ps K 8 svn:date V 27 2009-06-14T20:12:12.918056Z K 7 svn:log V 177 Merge r192679 Increase the number of available file descriptors to 64. This fixes the reported zfsboot problems for systems where more than seven drives are part of ZFS pools. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-14T20:54:46.020502Z K 7 svn:log V 40 - Fix prototypes to make compiler happy END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-14T21:04:54.249592Z K 7 svn:log V 53 - Fix prototype and implementation of admsw_shutdown END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-14T21:11:39.444214Z K 7 svn:log V 41 further clarify ZFS upgrade requirements END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-14T21:16:04.780862Z K 7 svn:log V 74 - Get rid of mask_fn and fix pre_filter/post_filter functions' prototypes END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-14T21:16:23.545578Z K 7 svn:log V 40 - Fix prototypes to make compiler happy END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-14T21:39:52.903330Z K 7 svn:log V 70 Add volatile to sig_atomic_t where it was missing. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-14T22:35:33.681113Z K 7 svn:log V 223 Remove the note about using vt220, which makes no sense at all. vt220 will not work better. Even though it probably will remove warnings about unknown terminal types, a cons25 emulator is not compatible with vt220 at all. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-14T23:11:09.373639Z K 7 svn:log V 28 merge r192561: fix hyphens. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-14T23:27:09.210995Z K 7 svn:log V 27 Ed forgot this in r190751. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-14T23:27:58.395364Z K 7 svn:log V 19 use local variable END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-14T23:28:24.919366Z K 7 svn:log V 47 remove ppp parts as they're slated for removal END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-14T23:29:07.354203Z K 7 svn:log V 22 remove ppp from build END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-14T23:32:43.405144Z K 7 svn:log V 19 fix const warnings END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-14T23:44:06.517255Z K 7 svn:log V 27 Ed forgot this in r190751. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-15T00:17:22.152955Z K 7 svn:log V 26 comment out SCTP NAT bits END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-15T00:33:18.405803Z K 7 svn:log V 169 Remove usb2_cv_* and just use the kernel condvar implementation, it was needed earlier since condition variables didnt work with Giant but this was fixed 10 months ago. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-15T01:02:43.099451Z K 7 svn:log V 61 s/usb2_/usb_|usbd_/ on all function names for the USB stack. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-15T01:05:46.382889Z K 7 svn:log V 51 Fix compile with changes to the usb_config struct. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-15T01:09:19.300575Z K 7 svn:log V 56 Fix _USB2_* refernces in the header protection defines. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-15T02:17:10.071977Z K 7 svn:log V 193 Undo the change in r193688 as suggested in conf/72076. People on IRC and the -doc mailinglist (June 2009) showed that this new format wasn't used or known widely enough to justify the change. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2009-06-15T04:05:38.559914Z K 7 svn:log V 354 Remap type of polynomial interpolators for better polyphase coefficients quality: - Linear interpolator for oversampling factor larger and equal than 4096 (log2 = 12). - Quadratic interpolator for oversampling factor larger and equal than 256 (log2 = 8). Default oversampling factor (128 ~ log2 = 7) will use OPT32X, which provides better accuracy. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2009-06-15T04:31:34.524067Z K 7 svn:log V 428 - Add a way to change filter oversampling factor through FEEDER_RATE_PRESET "OVERSAMPLING_FACTOR:X .. .." where X = log2(oversampling factor). - Lower down default filter oversampling factor from 128 (log2 = 7) to 32 (log2 = 5), saving worth of 80 Kb. The use of better polynomial interpolator will raise its conversion quality/accuracy to match (or slightly better) with previous settings. - Bump driver version. END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-15T07:17:55.207907Z K 7 svn:log V 139 MFC: r192745: Enhance the 'p' command so that it understands size qualifiers (K/M/G) and so that it understands '*' as 'DTRT'. PR: 68312 END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-15T07:24:16.836866Z K 7 svn:log V 353 MFC: r193765: Fix an off by one error when we limit append/prepend text sizes based on our internal buffer sizes. When we 'append', assume we're appending to text. Some MS dhcp servers will give us a string with the length including the trailing NUL. when we 'append domain-name', we get something like "search x.y\000 z" in resolv.conf :( END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-06-15T13:17:05.050752Z K 7 svn:log V 75 MFC: Lock SPTREE before parsing it in key_spddump() Obtained from: NETASQ END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-15T13:47:49.594200Z K 7 svn:log V 299 Forbid multi-vector MSI interrupt vectors migration to another CPU once allocated. MSI have strict vectors allocation requirements, which are not satisfied now during reallocation. This is not the best possible solution, but better then just broken, as it was. No objections: current@, arch@, jhb@ END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-06-15T13:48:31.261652Z K 7 svn:log V 156 MFC: Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), as we already hold the non sleepable crypto_driver_mutex. Obtained from: NETASQ END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-15T14:44:55.585401Z K 7 svn:log V 442 Replace the global references to "hostid" in svc_rpcsec_gss.c to local variables set via the getcredhostid() function. I also changed the type of ci_hostid to "unsigned long" so that it matches what is returned by getcredhostid(). Although "struct svc_rpc_gss_clientid" goes on the wire during RPCSEC_GSS, it is just a variable # of opaque bytes to the client, so it doesn't matter how much storage ci_hostid uses. Approved by: kib (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-15T15:43:00.619620Z K 7 svn:log V 143 Note that the structures are defined in in the text (using language from stat(2)) rather than in the synopsis. Requested by: bde END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-15T16:18:24.310550Z K 7 svn:log V 293 - Relax sanitazion requirements in libdisk, as a previous commit enabling this sanitization broke sysinstall on some disks. This was due to the disks reporting a geometry that was incorrectly sanitized by sysinstall. This makes the sanitization consistent with fdisk. Tested by: randi END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-15T16:32:17.216731Z K 7 svn:log V 35 AM/PM should come first in korean. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-15T16:42:08.291894Z K 7 svn:log V 83 - Remove old and add new valid flags for the chunk structure. Submitted by: randi END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-15T16:51:07.409003Z K 7 svn:log V 72 - The maximum number of heads is 255, not 256. Pointed out by: marcel END K 10 svn:author V 4 oleg K 8 svn:date V 27 2009-06-15T17:14:47.293125Z K 7 svn:log V 105 Since dn_pipe.numbytes is int64_t now - remove unnecessary overflow detection code in ready_event_wfq(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-15T18:22:41.281811Z K 7 svn:log V 473 Add cas(4), a driver for Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet controllers. These are the successors of the Sun GEM controllers and still have a similar but extended transmit logic. As such this driver is based on gem(4). Thanks to marcel@ for providing a Sun Quad GigaSwift Ethernet UTP (QGE) card which was vital for getting this driver to work on architectures not using Open Firmware. Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-15T18:24:04.529214Z K 7 svn:log V 101 Add a man page for cas(4) and reference it as appropriate. Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-15T18:25:10.574386Z K 7 svn:log V 54 Add cas(4). Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-15T18:27:27.735635Z K 7 svn:log V 54 Add cas(4). Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-15T18:49:06.832373Z K 7 svn:log V 246 Long long time ago, several utilities in base used to parse %c output and we were not able to change c_fmt without breaking these utilities. Since ache fixed all known issues 8 years ago, now we make ko_KR more usable. Better late than never... END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-15T18:59:29.866052Z K 7 svn:log V 428 Manage vnets via the jail system. If a jail is given the boolean parameter "vnet" when it is created, a new vnet instance will be created along with the jail. Networks interfaces can be moved between prisons with an ioctl similar to the one that moves them between vimages. For now vnets will co-exist under both jails and vimages, but soon struct vimage will be going away. Reviewed by: zec, julian Approved by: bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-15T19:01:53.922874Z K 7 svn:log V 162 Get vnets from creds instead of threads where they're available, and from passed threads instead of curthread. Reviewed by: zec, julian Approved by: bz (mentor) END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-15T19:15:28.473339Z K 7 svn:log V 117 Hide 'Unsupported ATAPI command - trying anyway' under bootverbose. This caused more noise than was actually useful. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-15T19:16:24.369897Z K 7 svn:log V 55 MFC: Pack PnP structures instead of individual fields. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-15T19:16:43.260161Z K 7 svn:log V 55 MFC: Pack PnP structures instead of individual fields. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-15T19:17:52.999475Z K 7 svn:log V 416 Make tcsetsid(3) work on revoked TTYs. Right now the only way to make tcsetsid(3)/TIOCSCTTY work, is by ensuring the session leader is dead. This means that an application that catches SIGHUPs and performs a sleep prevents us from assigning a new session leader. Change the code to make it work on revoked TTYs as well. This allows us to change init(8) to make the shutdown script run in a more clean environment. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-15T19:24:47.122259Z K 7 svn:log V 225 Remove redundant code from runshutdown() now tcsetsid(3) works reliably. We can now just call setctty() without any problems. This means the shell running the shutdown script is now the session leader, just like on startup. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-15T19:26:34.325299Z K 7 svn:log V 415 Rearrange the init code in the stub driver, using a task to initialise the card. This allows better error handling and re-issuing of commands if one fails. Implement another initialisation sequence used buy the ZTE_STOR variants. Fix a bug where the driver would panic during initialisation reported by many (Mike Tancsa amongst others). Testing done and hardware supplied by belkin (a person, not the company). END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-15T19:50:03.502410Z K 7 svn:log V 238 r193336 moved ifq_detach to if_free which broke if_alloc followed by if_free (w/o doing if_attach); move ifq_attach to if_alloc and rename ifq_attach/detach to ifq_init/ifq_delete to better identify their purpose Reviewed by: jhb, kmacy END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-15T20:00:19.412621Z K 7 svn:log V 81 make tx reclaim and tx coalesce threshold values tunables and read-write sysctls END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-06-15T20:12:27.412235Z K 7 svn:log V 76 Add opt_hwpmc_hooks.h to fix building individual modules from /sys/modules. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-15T20:38:55.612693Z K 7 svn:log V 938 Add a new 'void closefrom(int lowfd)' system call. When called, it closes any open file descriptors >= 'lowfd'. It is largely identical to the same function on other operating systems such as Solaris, DFly, NetBSD, and OpenBSD. One difference from other *BSD is that this closefrom() does not fail with any errors. In practice, while the manpages for NetBSD and OpenBSD claim that they return EINTR, they ignore internal errors from close() and never return EINTR. DFly does return EINTR, but for the common use case (closing fd's prior to execve()), the caller really wants all fd's closed and returning EINTR just forces callers to call closefrom() in a loop until it stops failing. Note that this implementation of closefrom(2) does not make any effort to resolve userland races with open(2) in other threads. As such, it is not multithread safe. Submitted by: rwatson (initial version) Reviewed by: rwatson MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-15T20:40:23.847654Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-15T20:45:51.934547Z K 7 svn:log V 844 Perform some more cleanups to in-kernel session handling. The code that was in place in exit1() was mainly based on code from the old TTY layer. The main reason behind this, was because at one moment I ran a system that had two TTY layers in place at the same time. It is now sufficient to do the following: - Remove references from the session structure to the TTY vnode and the session leader. - If we have a controlling TTY and the session used by the TTY is equal to our session, send the SIGHUP. - If we have a vnode to the controlling TTY which has not been revoked, revoke it. While there, change sys/kern/tty.c to use s_ttyp in the comparison instead of s_ttyvp. It should not make any difference, because s_ttyvp can only become null when the session leader already left, but it's nicer to compare against the proper value. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-15T21:03:25.929359Z K 7 svn:log V 438 MFC r193043: - Prevent buffer overflow in IPFilter's load_http function used to load ipfilter tables via http by the user-level ippool utility. Previously the 1024-byte buffer used to store a http request coudld easily overflow if the length of the hostname part of the url passes exceeded 496 bytes. - Use snprintf to prevent possieble buffer overflows in future. - Do not try to close the descriptor twice on failure. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-15T21:05:00.316533Z K 7 svn:log V 370 Make the chpass Makefile honour NO_FSCHG. The chpass Makefile tried to set the fschg flag on the binaries, even if NO_FSCHG was passed to the installworld. This meant that if I installed FreeBSD into a Jail, I couldn't installworld from within the Jail anymore. Now that it listens to NO_FSCHG, we can just make it bail out when it fails, just like PRECIOUSPROG does. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-15T21:52:27.898145Z K 7 svn:log V 245 Add revoke(1). While hacking on TTY code, I often miss a small utility to revoke my own (pseudo-)terminals. This small utility is just a small wrapper around the revoke(2) call, so you can destroy your very own login sessions. Approved by: re END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-15T21:54:26.260381Z K 7 svn:log V 438 MFC r193043: - Prevent buffer overflow in IPFilter's load_http function used to load ipfilter tables via http by the user-level ippool utility. Previously the 1024-byte buffer used to store a http request coudld easily overflow if the length of the hostname part of the url passes exceeded 496 bytes. - Use snprintf to prevent possieble buffer overflows in future. - Do not try to close the descriptor twice on failure. END K 10 svn:author V 2 ps K 8 svn:date V 27 2009-06-15T21:55:29.635198Z K 7 svn:log V 252 I have several machines where the following warning is printed: warning: no time-of-day clock registered, system time will not be set accurately Provide hints to atrtc on amd64 since it's not being described in ACPI on some systems. Reviewed by: jhb END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-06-15T22:07:21.618893Z K 7 svn:log V 146 MFC of 179973 Make it simpler to build netgraph modules outside of the kernel source tree. This change follows similar ones in the device tree. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-15T22:38:05.995493Z K 7 svn:log V 40 Fix usb2_find_descriptor function name. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-15T23:03:38.369295Z K 7 svn:log V 25 Now we have closefrom(). END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-16T00:02:02.053679Z K 7 svn:log V 68 - Take into account only unmasked bits in interrupt status register END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-16T00:09:06.517039Z K 7 svn:log V 55 Disconnect closefrom.c as we have it as a system call. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-16T01:43:33.638775Z K 7 svn:log V 73 - Handle KSEG0/KSEG1 addresses for /dev/mem as well. netstat requires it END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-16T02:35:21.185875Z K 7 svn:log V 420 MFC of r193867: Fix LC_NUMERIC and LC_MONETARY for de_CH locale With the de_CH (swiss german) locale, numbers should look like this: numbers: 1'234.45 monetary values: Fr. 1'234.45 Previously, the thousands separator was missing for numbers, and "." for monetary values, and "," was incorrectly used as decimal point. PR: conf/75502 Submitted by: Benjamin Lutz END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-06-16T02:36:21.459678Z K 7 svn:log V 23 - Remove debug printfs END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-16T02:36:49.309757Z K 7 svn:log V 179 MFC of 193869 ja_JP: AM/PM date format should be localized. ja_JP.eucJP and ja_JP.SJIS fixes. PR: conf/63527 Submitted by: Yukihiro Nakai END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-16T03:49:59.192719Z K 7 svn:log V 22 remove old cxgb files END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-16T03:51:38.335424Z K 7 svn:log V 30 enable UMA use for allocation END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-16T05:05:46.645662Z K 7 svn:log V 192 MFC r192203: Emulate SO_PEERCRED socket option. Temporarily use 0 for pid member as the FreeBSD does not cache remote UNIX domain socket peer pid. PR: kern/102956 Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-16T05:07:34.431367Z K 7 svn:log V 156 MFC r192204: Use the protocol family constants for the domain argument validation. Return immediately when the socket() failed. Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-16T05:08:48.351940Z K 7 svn:log V 210 MFC r192205: Return EINVAL in case when the incorrect or unsupported type argument is specified. Do not map type argument value as its Linux values are identical to FreeBSD values. Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-16T05:10:21.363941Z K 7 svn:log V 263 MFC r192206: Somewhere between 2.6.23 and 2.6.27, Linux added SOCK_CLOEXEC and SOCK_NONBLOCK flags, that allow to save fcntl() calls. Implement a variation of the socket() syscall which takes a flags in addition to the type argument. Approved by: kib (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-16T12:05:04.543991Z K 7 svn:log V 410 Add support for 256MB Hitachi CF card and 256MB Silicon Systems CF card This patch against RELENG_6 adds two more entries to src/tools/tools/nanobsd/FlashDevice.sub - one for a 256MB Hitachi CF card and one for a 256MB Silicon Systems CF card. Both entries have been verified to work with a Soekris net4801. PR: kern/101228 Submitted by: Henrik Brix Andersen MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-16T12:09:12.071359Z K 7 svn:log V 126 Support for 64 Mb Kodak flash device. PR: misc/115025 Submitted by: Michael W Lucas MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-16T12:14:57.120883Z K 7 svn:log V 95 Fix declaration of meshpeering and meshforward commands. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-16T12:33:38.995633Z K 7 svn:log V 770 Fix NanoBSD when the data partition size is defined as a negative number. It is possible to ask nanobsd.sh to create a 'data' partition, separate from the system or configuration partitions, and furthermore, by specifying a negative value for its size to request that it use all space unused by those partitions for its own size. Because the two lines of code that calculate how much space is available for this data partition are written in perl-like syntax, the awk code that does the processing performs the calculation incorrectly. [note - this was already fixed by r174936] Furthermore, a comparison later down fails to newfs the partition when the size is negative. PR: misc/127759 Submitted by: Cyrus Rahman MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-06-16T13:05:34.067735Z K 7 svn:log V 316 MFC part of r166182 and 179670. Provide the mutual exclusion between the nfs export list modifications and nfs requests processing. Lockmgr lock provides the shared locking for nfs requests, while exclusive mode is used for modifications. The writer starvation is handled by lockmgr too. Submitted by: kib END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-16T13:31:01.675136Z K 7 svn:log V 177 Fix a typo that causes the for loop to exit immediately. There's identical loop a few lines above. Reviewed by: sam Approved by: ed (mentor) Silence from: darrenr (maintainer) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T13:39:09.480859Z K 7 svn:log V 128 MFC: Note that these routines return NULL on failure and that the structures they return arrays of are defined in . END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-16T13:52:21.208898Z K 7 svn:log V 215 Remove the "int *" typecast for the aresid argument to vn_rdwr() and change the type of the argument from size_t to int. This should avoid issues on 64bit architectures. Suggested by: kib Approved by: kib (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-16T14:55:13.932903Z K 7 svn:log V 151 Small fixes to Unicode handling: - Add more mappings for Greek characters and the Euro sign. - Print UTF-8 characters in the log file as hexadecimal. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T15:09:17.436809Z K 7 svn:log V 106 MFC: Rework the _BBN handling for Host-PCI bridges to always trust the first bus that claims to be bus 0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T15:13:18.935879Z K 7 svn:log V 131 Move (read|write)_cyrix_reg() inlines from specialreg.h to cpufunc.h. specialreg.h now consists solely of register-related macros. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-16T15:13:45.837502Z K 7 svn:log V 125 Do not use casts (int *)0 and (struct thread *)0 for the arguments of vn_rdwr, use NULL. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T15:30:10.378710Z K 7 svn:log V 52 Use the closefrom(2) system call. Reviewed by: des END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-06-16T16:38:54.337302Z K 7 svn:log V 309 FreeBSD returns main object handle from dlopen(NULL, ...) calls. dlsym seaches using this handle are expected to look for symbol definitions in all objects loaded at the program start time along with all objects currently in RTLD_GLOBAL scope. Discussed with: kib Reported by: Maho NAKATA MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-16T17:08:18.020176Z K 7 svn:log V 156 Use POSIX documentation style {NGROUPS_MAX} notation instead of talking about NGROUPS or sysconf(_SC_NGROUPS_MAX). Note the getgroups conforms to POSIX.1. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T17:48:08.424935Z K 7 svn:log V 53 Remove confusing mergeinfo caused by renaming files. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-06-16T18:14:48.786358Z K 7 svn:log V 275 MFC r181997 by kib: Add -fno-omit-frame-pointer to CFLAGS used to compile crt1.c on amd64. For gcc' __builtin_frame_address() to work, all call frames need to save frame pointer. In particular, this is important for the upper frame that should terminate the chain. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-16T18:22:34.415659Z K 7 svn:log V 19 MFH r194045-194300 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T18:58:50.327071Z K 7 svn:log V 412 - Change members of tcpcb that cache values of ticks from int to u_int: t_rcvtime, t_starttime, t_rtttime, t_bw_rtttime, ts_recent_age, t_badrxtwin. - Change t_recent in struct timewait from u_long to u_int32_t to match the type of the field it shadows from tcpcb: ts_recent. - Change t_starttime in struct timewait from u_long to u_int to match the t_starttime field in tcpcb. Requested by: bde (1, 3) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T19:00:12.990294Z K 7 svn:log V 125 Fix edge cases with ticks wrapping from INT_MAX to INT_MIN in the handling of the per-tcpcb t_badtrxtwin. Submitted by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T19:00:48.545588Z K 7 svn:log V 44 Trim extra sets of ()'s. Requested by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-16T19:01:33.697116Z K 7 svn:log V 106 MFC: Rework the _BBN handling for Host-PCI bridges to always trust the first bus that claims to be bus 0. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-16T19:41:32.663038Z K 7 svn:log V 60 Fix CAC check string. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 peter K 8 svn:date V 27 2009-06-16T22:35:16.204503Z K 7 svn:log V 12 Test commit END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-16T22:39:57.987222Z K 7 svn:log V 139 Instead of caching an incomplete copy of the interesting bits of struct ucred, just grab a reference and cache a pointer to the real deal. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-16T22:45:33.745492Z K 7 svn:log V 56 iiin -> in Submitted by: "N.J. Mann" END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-16T22:55:10.985060Z K 7 svn:log V 34 parallelize locking on ARC states END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-16T23:00:26.310648Z K 7 svn:log V 52 Sync acpi(4) kld module Makefile with conf/options. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-16T23:02:46.434680Z K 7 svn:log V 37 Fix a typo from the previous commit. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-16T23:29:52.308702Z K 7 svn:log V 63 switch to read-only acquisition at moderately contended points END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-16T23:57:51.309334Z K 7 svn:log V 41 revert change - lock may already be held END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-17T00:35:21.444561Z K 7 svn:log V 31 dbuf acquisition can be nested END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-06-17T01:55:42.818156Z K 7 svn:log V 1244 Introduce support for adaptive spinning in lockmgr. Actually, as it did receive few tuning, the support is disabled by default, but it can opt-in with the option ADAPTIVE_LOCKMGRS. Due to the nature of lockmgrs, adaptive spinning needs to be selectively enabled for any interested lockmgr. The support is bi-directional, or, in other ways, it will work in both cases if the lock is held in read or write way. In particular, the read path is passible of further tunning using the sysctls debug.lockmgr.retries and debug.lockmgr.loops . Ideally, such sysctls should be axed or compiled out before release. Addictionally note that adaptive spinning doesn't cope well with LK_SLEEPFAIL. The reason is that many (and probabilly all) consumers of LK_SLEEPFAIL are mainly interested in knowing if the interlock was dropped or not in order to reacquire it and re-test initial conditions. This directly interacts with adaptive spinning because lockmgr needs to drop the interlock while spinning in order to avoid a deadlock (further details in the comments inside the patch). Final note: finding someone willing to help on tuning this with relevant workloads would be either very important and appreciated. Tested by: jeff, pho Requested by: many END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-17T02:20:26.882572Z K 7 svn:log V 127 MFC: r192798: Fix a race that can stall the timer PR: 102747 Submitted by: Sergey Zaharchenko - doublef-ctm at yandex dot ru END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T02:51:16.482405Z K 7 svn:log V 30 add ixp4xx_write_feature_bits END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-06-17T02:52:35.311214Z K 7 svn:log V 131 MFC r193273 by jilles: Fix segfault when giving invalid long option to pkg_info. PR: bin/133473 Submitted by: Rafal Grodzinski END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T02:53:05.478317Z K 7 svn:log V 218 o correct default miibase for NPE-B and NPE-C; these values are normally taken from the hints file so this should have no effect o set the port address "just in case" o add NPE-A support to the tx done qmgr callback END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T02:55:53.816190Z K 7 svn:log V 161 remove IAL vestige for defining the max data/instruction memory size; instead of defining them according to ixp46x add new defines so we can do this at run time END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-17T03:04:30.917468Z K 7 svn:log V 337 MFC of 193908: add ca_AD, ca_FR and ca_IT locales Catalan language is not only spoken in Spain (ca_ES), but also in Andorra, France and Italy. In Andorra it is the official language. (see http://en.wikipedia.org/wiki/Catalan_language#Geographic_distribution) PR: conf/92541 Submitted by: END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-17T03:08:55.312765Z K 7 svn:log V 252 Invalid (long) date format in pl_PL.ISO8859-2.src Date format is %a %e %b %X %Y %Z (e.g "sob 19 sty 15:46:50 2008 CET") but should be "%a %e %b %Y %X %Z" (e.g. "sob 19 sty 2008 15:46:50 CET"). PR: conf/119804 Submitted by: Bodek END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T03:09:13.649171Z K 7 svn:log V 126 correct data/instruction memory sizes for non-ixp425 parts (these are only used to bounds-check writes when loading firmware) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-17T03:14:18.654620Z K 7 svn:log V 283 Croatian locale support for hr_HR.ISO8859-2 Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE is a link to the ../la_LN.ISO8859-2/LC_COLLATE. It means that there is no support for Croatian locale. PR: conf/120113 Submitted by: Simun Mikecin END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-17T03:15:23.338928Z K 7 svn:log V 129 MFC of 193962 Add euro symbol to pt_PT locale using other encodings PR: conf/98815 Submitted by: Rui Lopes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-17T03:29:00.236019Z K 7 svn:log V 34 increase the size of mutex arrays END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-06-17T04:15:19.762269Z K 7 svn:log V 170 reorders the sequence when the device is detached. After detaching the interface is completed then it'll process other parts to avoid a race condition. Pointed by: jhb END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-06-17T04:23:37.116733Z K 7 svn:log V 85 adds opt_inet6.h to fix a error during compiling wlan as a module. Reviewed by: sam END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-17T04:57:32.975191Z K 7 svn:log V 228 Make the maintenance of a page's valid bits by contigmalloc() more like kmem_alloc() and kmem_malloc(). Specifically, defer the setting of the page's valid bits until contigmapping() when the mapping is known to be successful. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-17T06:25:45.875649Z K 7 svn:log V 77 When copy+paste goes wrong... Remove duplicate "expr". Submitted by: danfe@ END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-17T06:41:10.171686Z K 7 svn:log V 67 - Back out the previous change in order to maintain compatibility. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-17T06:47:05.093684Z K 7 svn:log V 146 - Allow a higher value for the number of heads. Its better to do this and allow a few bad systems to run than to be completely strict about it. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T07:03:03.414396Z K 7 svn:log V 42 Reimplement in Perl, with a nicer syntax. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T07:05:36.925471Z K 7 svn:log V 39 merge r188766: fix a type-punning bug. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-17T07:11:38.320356Z K 7 svn:log V 143 Pass the size of the mapping to contigmapping() as a "vm_size_t" rather than a "vm_pindex_t". A "vm_size_t" is more convenient for it to use. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-06-17T09:29:18.988221Z K 7 svn:log V 50 MFC r193943: fsck_msdosfs: accept no-op -C option END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-06-17T09:42:30.010984Z K 7 svn:log V 66 MFC r193944: rc.d/fsck: allow additional options via fsck_y_flags END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T10:00:36.964231Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-06-17T10:15:06.700389Z K 7 svn:log V 244 svn management: move mergeinfo from subdirectories to parent in etc No contents changed, only svn:mergeinfo property affected. Record mergeinfo for r190575 and r193908 in etc. This is, obviously, a direct commit to stable/7. Reviewed by: des END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-17T10:23:25.693907Z K 7 svn:log V 79 Make compile again using the correct prototype for the device shutdown method. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-17T10:26:37.409126Z K 7 svn:log V 80 Make compile again using proper protoypes for pcib_read/write_config DEVMETHOD. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-17T10:48:32.647090Z K 7 svn:log V 165 Add a .cvsignore file and along with that put an svn:ignore proprty on the directory like we have for all other target architectures. Discussed with: imp (kind of) END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T10:57:47.666682Z K 7 svn:log V 205 Add "pretend" and "debug" options, and try to guess the branch by looking at existing mergeinfo; if there isn't any, fall back to the previous behavior of assuming it's a stable / releng / release branch. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T11:12:47.503460Z K 7 svn:log V 8 cleanup END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T11:21:25.491448Z K 7 svn:log V 156 Nuke incorrect mergeinfo: /head:r189748 /head/sys/net:r182880 The correct mergeinfo for these revisions was already present. Pointy hat to: emax, rpaulo END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T11:34:13.131818Z K 7 svn:log V 18 MFC 192403-194337 END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T11:38:16.124336Z K 7 svn:log V 28 Fix parsing of from / into. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T11:40:45.544683Z K 7 svn:log V 37 merge r192066: redundant assignment. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T11:42:51.362522Z K 7 svn:log V 13 fix mismerge END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T11:43:33.820613Z K 7 svn:log V 13 fix mismerge END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T12:15:54.166250Z K 7 svn:log V 13 fix mismerge END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-06-17T12:27:00.727265Z K 7 svn:log V 32 Merge r190780:192000 from head. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-06-17T12:34:56.984745Z K 7 svn:log V 342 Changes to the NR-Sack code so that: 1) All bit disappears 2) The two sets of gaps (nr and non-nr) are disjointed, you don't have gaps struck in both places. This adjusts us to coorespond to the new draft. Still to-do, cleanup the code so that there are only one set of sack routines (original NR-Sack done by E cloned all sack code). END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-17T12:43:04.076069Z K 7 svn:log V 91 Decrement state->ls_threads when vnode appeared to be doomed. Reported and tested by: pho END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-17T12:44:11.961824Z K 7 svn:log V 230 Add the explicit include of vimage.h to another five .c files still missing it. Remove the "hidden" kernel only include of vimage.h from ip_var.h added with the very first Vimage commit r181803 to avoid further kernel poisoning. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-17T12:47:27.922570Z K 7 svn:log V 336 For dotdot lookup in nfs_lookup, inline the vn_vget_ino() to prevent operating on the unmounted mount point and freed mount data in case of forced unmount performed while dvp is unlocked to nget the target vnode. Add missed calls to m_freem(mrep) there on error exits [1]. Submitted by: rmacklem [1] Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-17T13:12:43.708609Z K 7 svn:log V 85 MFC r193916: Add several syscall compat32 entries for extattr manipulation syscalls. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-17T13:13:23.883329Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-06-17T13:36:08.480530Z K 7 svn:log V 32 Merge r192000:194354 from head. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T14:00:56.942260Z K 7 svn:log V 84 MFC: Preallocate the four BARs in ALI SATA controllers during the chipinit routine. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-17T14:10:18.590780Z K 7 svn:log V 159 Fix handling of ".." in nfs_lookup() for the forced dismount case by cribbing the change made to the regular nfs client in r194358. Approved by: kib (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-17T14:32:08.154159Z K 7 svn:log V 120 Use the right jail parameters for -v (cpuset has changed to cpuset.id). Reported by: netchild Approved by: bz (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T14:45:58.477698Z K 7 svn:log V 57 merge r192852, r192855: opt_apic.h is only used on i386. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-06-17T14:47:06.771430Z K 7 svn:log V 128 Fix column width of weekday names for multibyte locales. Noticed by: nyan Discussed with: matusita, takawata MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-17T14:50:41.751962Z K 7 svn:log V 41 merge r193556: drop Giant from pseudofs. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-17T15:01:01.040864Z K 7 svn:log V 104 Add explicit includes for jail.h to the files that need them and remove the "hidden" one from vimage.h. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T15:13:05.199106Z K 7 svn:log V 96 Increase the timeouts temporarily to ease implementation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-17T15:48:50.065252Z K 7 svn:log V 49 - Empty SVN repository for pkgtools development. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T15:57:53.607187Z K 7 svn:log V 38 Fix a style(9) bug. Reported by: jhb END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T16:14:32.523707Z K 7 svn:log V 117 * stop callouts on detach * discard mesh peer action frames if dest is not us. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T16:28:02.531180Z K 7 svn:log V 82 Correctly verify the IDs on confirm frames. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-06-17T16:34:40.083829Z K 7 svn:log V 188 Teach cpu_est_clockrate() about the G5's slightly different PMC. This allows the boot messages to include the CPU speed and makes possible the forthcoming cpufreq support for the PPC 970. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-17T16:56:21.768657Z K 7 svn:log V 104 MFC r194203: Unlock process lock when return error from getrobustlist call. Approved by: kib (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-17T17:19:48.952690Z K 7 svn:log V 639 Refactor contigmalloc() into two functions: a simple front-end that deals with the malloc tag and calls a new back-end, kmem_alloc_contig(), that allocates the pages and maps them. The motivations for this change are two-fold: (1) A cache mode parameter will be added to kmem_alloc_contig(). In other words, kmem_alloc_contig() will be extended to support the allocation of memory with caller-specified caching. (2) The UMA allocation function that is used by the two jumbo frames zones can use kmem_alloc_contig() in place of contigmalloc() and thereby avoid having free jumbo frames held by the zone counted as live malloc()ed memory. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T17:31:45.905374Z K 7 svn:log V 135 Remove useless mergeinfo. This was due to copying ath_hal from the projects branch directly into 7 rather than merging from 8 into 7. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T17:57:52.451306Z K 7 svn:log V 532 Add workaround to get IXP435 NPE-A working: reseting NPE-A after NPE-C causes both to become inoperative; this apparently was done by the original IAL code as a workaround for IMEM parity errors which we've not seen so just disable the reset. Note this problem does not occur on IXP425 boards. The linux driver does fuse-resets on each NPE but in the order NPE-A < NPE-B < NPE-C (when probing for which NPE's are present/operational); we may want to switch to a similar scheme but for now disable the resets until we see an issue. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T17:58:18.774859Z K 7 svn:log V 31 enable npe-a now that it works END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-17T17:59:36.716728Z K 7 svn:log V 41 update usb config; the old stack is gone END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-17T18:34:12.229368Z K 7 svn:log V 65 Disable the GVNPass as well, because it causes Perl to coredump. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T18:42:13.961001Z K 7 svn:log V 57 Include sys/ucred.h to get the definition of XU_NGROUPS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T18:44:15.257019Z K 7 svn:log V 217 - NOSTD results in lkmressys being used instead of lkmssys. - Mark nfsclnt as UNIMPL. It should have been NOSTD instead of NOIMPL back when it lived in nfsclient.ko, but it was removed from that a long time ago. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T18:46:14.143773Z K 7 svn:log V 107 Remove the now-unused NOIMPL flag. It serves no useful purpose given the existing UNIMPL and NOSTD types. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-17T18:50:15.183260Z K 7 svn:log V 173 Wrap powl() calls to pow(), because we don't have it yet. This hack allows me to build more packages for the time being. Eventually we should gain a proper implementation. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T18:52:42.546747Z K 7 svn:log V 54 Retire the unused stub for the nfsclnt() system call. END K 10 svn:author V 3 snb K 8 svn:date V 27 2009-06-17T18:55:29.833239Z K 7 svn:log V 335 Keep dirhash tailq locked throughout the entirety of ufsdirhash_destroy() to fix a potential race pointed out by pjd. Also use TAILQ_FOREACH_SAFE to iterate over dirhashes in ufsdirhash_lowmem(), so that we can continue iterating even after a dirhash is destroyed. Suggested by: pjd Tested by: pho Approved by: dwmalone (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T19:01:47.132175Z K 7 svn:log V 463 Consistently use arrays of {NGROUPS_MAX}+1 with getgroups() and getgrouplist(). In doing so, use the pattern from the example from the posix manpages where ngroups_max is a long and set to sysconf(_SC_NGROUPS_MAX)+1. In id(1), don't use a combination of getgid() and getgroups() to retrieve the list of groups. There's no need to account for the possibility that getgroups does not return the primary gid, espeically when we only do it in of of the two cases. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T19:40:53.476453Z K 7 svn:log V 40 use MIN() instead of min() in one case. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T19:50:38.590578Z K 7 svn:log V 1029 - Add the ability to mix multiple flags seperated by pipe ('|') characters in the type field of system call tables. Specifically, one can now use the 'NO*' types as flags in addition to the 'COMPAT*' types. For example, to tag 'COMPAT*' system calls as living in a KLD via NOSTD. The COMPAT* type is required to be listed first in this case. - Add new functions 'type()' and 'flag()' to the embedded awk script in makesyscalls.sh that return true if a requested flag is found in the type field ($3). The flag() function checks all of the flags in the field, but type() only checks the first flag. type() is meant to be used in the top-level "switch" statement and flag() should be used otherwise. - Retire the CPT_NOA type, it is now replaced with "COMPAT|NOARGS" using the flags approach. - Tweak the comment descriptions of COMPAT[46] system calls so that they say "freebsd[46] foo" rather than "old foo". - Document the COMPAT6 type. - Sync comments in compat32 syscall table with the master table. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T19:53:20.715215Z K 7 svn:log V 29 Regen for added flags field. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-17T19:53:47.029934Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-17T20:12:23.095177Z K 7 svn:log V 44 Eliminate unnecessary forward declarations. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T20:26:21.619111Z K 7 svn:log V 63 We're filling in an xucred so use XU_NGROUPS instead of NGRPS. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-17T20:28:07.810181Z K 7 svn:log V 57 Tell libstdc++ that we have powl(). Reported by: brucec END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-17T20:29:56.398025Z K 7 svn:log V 25 don't block on pre-fetch END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T20:30:51.498536Z K 7 svn:log V 103 Set cr_groups[0] instead of cr_gid here. They are the same and we use cr_groups[0] almost exclusivly. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T20:56:03.806599Z K 7 svn:log V 510 Use crsetgroups() in crcopy(). When a user has more than a page worth of groups, switch from power of two allocation to allocating the number of pages actually required. It seems more likely that a process will need a non-power-of-two number of pages than that they will use many thousands of groups and add them one at a time (in which case there would be no difference in number of allocations until they use more than 3072 groups and the context switch overhead would likely swamp the extra allocations). END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-17T21:03:27.501672Z K 7 svn:log V 39 don't unlock if we don't have the lock END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-17T21:12:32.366006Z K 7 svn:log V 343 MFC r185438: Fix iovec32 for linux32/amd64. Add a custom version of copyiniov() to deal with the 32-bit iovec pointers from userland (to be used later). Adjust prototypes for linux_readv() and linux_writev() to use new l_iovec32 definition and to match actual linux code. In particular, use ulong for fd (why ?). Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-17T21:14:07.130529Z K 7 svn:log V 53 Regenerate after r194400. Approved by: kib (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-17T21:24:36.011073Z K 7 svn:log V 59 Add MAC ACL support. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-06-17T21:48:19.694830Z K 7 svn:log V 80 Create a work area for importing and porting the fasttrap provider from DTrace. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-17T21:49:41.505274Z K 7 svn:log V 301 MFC r185442: Make linux_sendmsg() and linux_recvmsg() work on linux32/amd64. Change types used in the linux' struct msghdr and struct cmsghdr definitions to the properly-sized architecture-specific types. Move ancillary data handler from linux_sendit() to linux_sendmsg(). Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-17T21:52:39.761401Z K 7 svn:log V 94 MFC r192284: Implement MSG_CMSG_CLOEXEC flag for linux_recvmsg(). Approved by: kib (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-17T21:58:32.143624Z K 7 svn:log V 706 Properly flush input after an error in backquotes in interactive mode. For parsing an old-style backquote substitution (`...`), a string "file" is used to store the contents of the substitution (with the special backslash processing done). If an error occurs, the shell cleans up all these files (returning to the top level) and flush the top level file. Erroneously, it first flushed the current file and then cleaned up all extra files, so that the top level file (i.e. the terminal) was not flushed. Example (in interactive mode): echo `for` echo This should not be printed Also noticeable in (in interactive mode): echo `(` The old version prints an extraneous prompt. Approved by: ed (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-17T22:50:26.041606Z K 7 svn:log V 535 Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the SVCXPTR structure returned by them, it was possible for the structure to be free'd before svc_reg() had been completed using the structure. This patch acquires a reference count on the newly created structure that is returned by svc_[dg|vc|tli|tp]_create(). It also adds the appropriate SVC_RELEASE() calls to the callers, except the experimental nfs subsystem. The latter will be committed separately. Submitted by: dfr Tested by: pho Approved by: kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-17T22:55:59.584681Z K 7 svn:log V 78 Add the SVC_RELEASE(xprt), as required by r194407. Approved by: kib (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T23:11:54.925806Z K 7 svn:log V 71 s/cr_gid/cr_groups[0]/ so we'll remove the cr_gid reference from head. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-17T23:34:58.596957Z K 7 svn:log V 156 crextend() is now only used in kern_prot.c so make it static. Remove the inline from crsetgroups_locked() since the compiler should do that automagically. END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-18T01:11:10.195832Z K 7 svn:log V 53 MFC: r192970: Handle different rulesets. PR: 35018 END