ıP154771 166 172 324 114 452 278 200 364 130 249 619 227 408 232 231 122 127 269 282 612 368 108 473 172 450 475 223 1551 161 425 312 262 1059 166 246 331 217 404 571 404 296 201 119 116 162 629 549 227 276 240 221 136 217 154 595 128 151 342 196 222 194 1270 209 824 551 133 119 216 146 115 358 455 1291 475 171 199 148 171 122 312 99 169 157 518 214 204 184 113 219 242 224 164 1907 124 566 171 298 341 323 664 735 266 146 2072 160 414 384 185 159 259 598 200 139 1165 160 161 162 311 375 200 130 148 923 154 122 545 200 248 120 187 203 600 177 168 156 202 172 281 210 220 191 215 212 299 342 142 234 231 176 116 102 173 301 168 360 522 183 149 122 347 160 320 908 342 655 552 536 K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-24T15:12:44.000000Z K 7 svn:log V 80 Remove stale comment. This change should be made in rev1.9. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-24T15:16:55.000000Z K 7 svn:log V 231 The 'reload' command did the same as 'restart' command. Allow user to decide if SAD and SPD entries should be flushed on 'reload'. With this change flush/spdflush is not done automatically (it could still be done from ipsec.conf). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-24T15:26:36.000000Z K 7 svn:log V 22 s/// END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-24T15:27:25.000000Z K 7 svn:log V 359 MFC: sbin/mount/mount.c 1.80 Resolve the mount point's path with realpath(2) before checking if file system is mounted. This prevevents duplicated mounts. The change I made against the original patch is to fall back to the given path on realpath(2) failure instead of exiting with an error. Submitted by: Andreas Kohn PR: bin/89782 END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-01-24T15:51:33.000000Z K 7 svn:log V 184 MFC revision 1.150: On i386, 7.0 requires 106MB on /usr. 6.0 requires 101MB. Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail due to /usr being too small. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-24T15:58:10.000000Z K 7 svn:log V 107 Document the move of setkey from /usr/sbin/ to /sbin/. A bit late, but better than never. Reminded by: bz END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-01-24T16:19:31.000000Z K 7 svn:log V 269 In in_control() remove the temporary in_ifaddr structure from the ia_hash only if it actually is an AF_INET address. All other places test for sa_family == AF_INET but this one. PR: kern/92091 Submitted by: Seth Kingsley MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-24T17:02:39.000000Z K 7 svn:log V 37 MFC: s/5.5/6.0/ in HISTORY section. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-01-24T17:09:12.000000Z K 7 svn:log V 154 In ip_mdq() compute the TV_DELTA the correct way around. PR: kern/91851 Submitted by: SAKAI Hiroaki MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-01-24T17:57:19.000000Z K 7 svn:log V 524 When doing IP forwarding with [FAST_]IPSEC compiled into the kernel ip_forward() would report back a zero MTU in ICMP needfrag messages because on a IPSEC SP lookup failure no MTU got computed. Fix this by changing the logic to compute a new MTU in any case if IPSEC didn't do it. Change MTU computation logic to use egress interface MTU if available or the next smaller MTU compared to the current packet size instead of falling back to a very small fixed MTU. Fix associated comment. PR: kern/91412 MFC after: 3 days END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-01-24T18:26:21.000000Z K 7 svn:log V 133 MFC revision 1.30: Fix the location of the initdiskless rc script. Lose pointers to where these files were two major releases ago. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-01-24T18:35:28.000000Z K 7 svn:log V 314 MFC revisions 1.36 and 1.37: r1.36: Correct obsolete chown syntax. r1.37: If sysinstall was used to configure an anonymous FTP area, it was possible for information to be copied from the group file to the group file in the FTP area. This patch based on a patch from Zak Johnson . END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-24T18:39:43.000000Z K 7 svn:log V 138 MFC: - Add comments about snd_au88x0. - Clarify that snd_audiocs is for sparc64 only. - Expand snd_ich and snd_t4dwave comments. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-01-24T18:41:30.000000Z K 7 svn:log V 137 MFC revision 1.280: It's perfectly valid to run rpc_statd and rpc_lockd as an NFS client, so update the documentation to reflect that. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-24T18:54:22.000000Z K 7 svn:log V 29 MFC: Remove unused pointer. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-24T18:56:11.000000Z K 7 svn:log V 34 MFC r1.15: Sort list of modules. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-01-24T18:58:48.000000Z K 7 svn:log V 171 As a quick fix disable the update of the linux ld.so.cache file, since currently it grabs some FreeBSD native libs too. A final solution is under discussion with brooks. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-24T19:24:54.000000Z K 7 svn:log V 189 With the recent changes to the implementation of page coloring, the the option PQ_NOOPT is used exclusively by vm_pageq.c. Thus, the include of opt_vmpage.h can be removed from vm_page.h. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-24T21:13:50.000000Z K 7 svn:log V 514 Add in the Linux IOCTL shim and create the megadev0 device so Linux LSI MegaRaid tools can run on FreeBSD until Linux emulation. Add in the Linux IOCTL shim and create the megadev0 device so Linux LSI MegaRaid tools can run on FreeBSD until Linux emulation. Add glue to build the modules but don't tie it into the build yet until I test it from the CVS repo. via the mirror on an amd64 machine. Tie this into the Linux32 emulation on amd64 so the tools can run on amd64 kernel. Cleaned up by: ps (amr_linux.c) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-24T22:23:45.000000Z K 7 svn:log V 275 - Add a new KTR_SUBSYS in place of KTR_SPARE1 to serve as a subsystem placeholder similar to KTR_DEV. Explain the use of KTR_DEV and KTR_SUBSYS in a comment as well. - Retire KTR_WITNESS and instead have KTR_WITNESS default to off but use KTR_SUBSYS if it is enabled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-24T22:24:05.000000Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2006-01-25T01:03:34.000000Z K 7 svn:log V 375 Touch all the pages wired by sysctl_wire_old_buffer() to avoid PTE modified bit emulation traps on Alpha while holding locks in the sysctl handler. A better solution would be to pass a hint to the Alpha pmap code to tell mark these pages as modified when they as they are being wired, but that appears to be more difficult to implement. Suggested by: jhb MFC after: 3 days END K 10 svn:author V 3 ups K 8 svn:date V 27 2006-01-25T02:05:47.000000Z K 7 svn:log V 80 Back out changes made in rev. 1.151. They were bogus. Cluebat applied by: jhb@ END K 10 svn:author V 8 truckman K 8 svn:date V 27 2006-01-25T02:12:09.000000Z K 7 svn:log V 352 MFC vfs_lookup.c 1.84 and 1.85, and vfs_syscalls.c 1.400 Return EINVAL from lookup() if cn_nameiop is DELETE or RENAME and the last component of the path name is "..". This keeps VOP_LOOKUP() from locking vnodes in reverse order. In kern_unlink(), remap EINVAL errors returned from namei() to EPERM to match existing (and POSIX required) behaviour. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2006-01-25T02:19:35.000000Z K 7 svn:log V 377 MFC rmdir.2 1.14 and 1.15, and undelete.2 1.16 and 1.17 rmdir() fails with EINVAL if the last component of the path is "..". Document the previously undocumented behaviour of rmdir(".") returning EINVAL as required by POSIX and SUSv3. Bump the man page change date. undelete() fails with EINVAL if the last component of the path is "..". Bump the man page change date. END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-01-25T04:10:59.000000Z K 7 svn:log V 130 MFC 1.103: Improve the handling of errors that might happen with the fork() done to compress files after they have been rotated. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-25T04:21:22.000000Z K 7 svn:log V 1454 If no coalesced exact-fit small regions are available, but delayed exact- fit regions are available, use the delayed regions in LIFO order, in order to increase locality of reference. We might expect this to cause delayed regions to be removed from the delay ring buffer more often (since we're now re-using more recently buffered regions), but numerous tests indicate that the overall impact on memory usage tends to be good (reduced fragmentation). Re-work arena_frag_reg_alloc() so that when large free regions are exhausted, it uses small regions in a way that favors contiguous allocation of sequentially allocated small regions. Use arena_frag_reg_alloc() in this capacity, rather than directly attempting over-fitting of small requests when no large regions are available. Remove the bin overfit statistic, since it is no longer relevant due to the arena_frag_reg_alloc() changes. Do not specify arena_frag_reg_alloc() as an inline function. It is too large to benefit much from being inlined, and it is also called in two places, only one of which is in the critical path (the other call bloated arena_reg_alloc()). Call arena_coalesce() for a region before caching it with arena_mru_cache(). Add assertions that detect the attempted caching of adjacent free regions, so that we notice this problem when it is first created, rather than in arena_coalesce(), when it's too late to know how the problem arose. Reported by: Hans Blancke END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-25T05:41:02.000000Z K 7 svn:log V 66 Remove a redundant variable assignment in arena_reg_frag_alloc(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-25T06:45:57.000000Z K 7 svn:log V 332 The previous revision incorrectly changed a switch statement into an if statement. Specifically, a break statement that previously broke out of the enclosing switch was not changed. Consequently, the enclosing loop terminated prematurely. This could result in "vm_page_insert: page already inserted" panics. Submitted by: tegge END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-01-25T07:39:42.000000Z K 7 svn:log V 216 MFC: Add gettytab entry for 3wire 19200 baud console src/etc/gettytab: rev 1.22 -> 1.23 PR: conf/90346 Submitted by: Gavin Atkinson Approved by: philip (mentor, implicit) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-01-25T07:43:48.000000Z K 7 svn:log V 166 MFC: Honour the "uuid" directive in adduser.conf src/usr.sbin/adduser/adduser.sh: rev 1.26 -> 1.27 PR: conf/87914 Approved by: philip (mentor, implicit) END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-01-25T08:13:46.000000Z K 7 svn:log V 966 MFC: Bring ATA up to -current standards: Fix SiS SATA support, the SATA registers was off. Update the ICH7 support so it deals better with chips without AHCI. Unbreak hotplug support on the ICH6 and ICH7 chipsets. Add support for VIA VT8251 southbridge. Add new nVidia nForce4 chips. Add support for the Marvell 88SX[56]0[48][01] series of SATA chips. Fix the promise modesetting for old chips. Get rid of the advertising clause in the copyright. Add support for using DMA on dump, greatly speeds up the dump process. When IOCATAGPARM is called, update the capabilities page that is stored in the kernel and return the new values. Fix rebuilds of arrays that got stuck. Add dump support in ataraid. Add support for for reading and writing SiS metadata. Add support for writing VIA metadata. Add support for writing Intel metadata. Correct calculation of RAID0 sizes on VIA RAID arrays. Update Intel MatrixRAID support to be able to pick up RAID0+1 (RAID10) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-01-25T08:13:47.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-01-25T08:17:02.000000Z K 7 svn:log V 153 don't embed scope id before running packet filters. Reported by: YAMAMOTO Takashi Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2006-01-25T08:42:58.000000Z K 7 svn:log V 237 - Avoid calling vm_object_backing_scan() when collapsing an object when the resident page count matches the object size. We know it fully backs its parent in this case. Reviewed by: acl, tegge Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-25T10:00:40.000000Z K 7 svn:log V 119 Make sure buffers in if_bridge are fully initialized before copying them to userland. Security: FreeBSD-SA-06:06.kmem END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-25T10:00:59.000000Z K 7 svn:log V 306 Make sure buffers in if_bridge are fully initialized before copying them to userland. [1] MFC rev. 1.16 of sys/contrib/pf/net/pf_norm.c: Correct an error in pf handling of IP packet fragments which could result in a kernel panic. [2] Security: FreeBSD-SA-06:06.kmem [1] Security: FreeBSD-SA-06:07.pf [2] END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-25T10:01:26.000000Z K 7 svn:log V 473 Make sure buffers in if_bridge are fully initialized before copying them to userland. [1] MFC rev. 1.37 of sys/net80211/ieee80211_ioctl.c: Correct a logic error which could allow too much data to be copied into userland. [2] MFC rev. 1.16 of sys/contrib/pf/net/pf_norm.c: Correct an error in pf handling of IP packet fragments which could result in a kernel panic. [3] Security: FreeBSD-SA-06:06.kmem [1] [2] Security: FreeBSD-SA-06:07.pf [3] Approved by: so (cperciva) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-25T10:01:47.000000Z K 7 svn:log V 306 Make sure buffers in if_bridge are fully initialized before copying them to userland. [1] MFC rev. 1.16 of sys/contrib/pf/net/pf_norm.c: Correct an error in pf handling of IP packet fragments which could result in a kernel panic. [2] Security: FreeBSD-SA-06:06.kmem [1] Security: FreeBSD-SA-06:07.pf [2] END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-25T10:02:27.000000Z K 7 svn:log V 198 MFC rev. 1.16 of sys/contrib/pf/net/pf_norm.c: Correct an error in pf handling of IP packet fragments which could result in a kernel panic. Security: FreeBSD-SA-06:07.pf Approved by: so (cperciva) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2006-01-25T10:06:28.000000Z K 7 svn:log V 108 Move the Internet Society copyright message so that it appears in the formatted page as well as the source. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-01-25T10:35:54.000000Z K 7 svn:log V 25 Add FreeBSD-SA-06:0[67]. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-01-25T10:39:02.000000Z K 7 svn:log V 22 Add FreeBSD-SA-06:07. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-25T11:24:37.000000Z K 7 svn:log V 67 Add a dummy arm Write_Disk() function, and compile libdisk on arm. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-01-25T12:45:24.000000Z K 7 svn:log V 536 Make the %V{is} extension handle a NULL pointer like %s does: output "(null)" Add %M{essage} extension which prints an errno value as the corresponding string if possible or numerically otherwise. It is not currently possible to do the syslog(3) like %m extension because errno would need to get capatured on entry to the first function in the printf family, so %M requires you to supply errno as an argument. Add %Q{uote} extension which will print a string in double quotes with appropriate back-slash escapes (only) if necessary. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-25T13:22:59.000000Z K 7 svn:log V 454 MFC: SNMP module build infrastucture: share/man/man7/Makefile:1.30 share/mk/Makefile:1.47 usr.sbin/bsnmpd/modules/Makefile.inc:1.12 usr.sbin/bsnmpd/modules/snmp_atm/Makefile:1.4 usr.sbin/bsnmpd/modules/snmp_mibII/Makefile:1.6 usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile:1.7 usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c:1.6 usr.sbin/bsnmpd/modules/snmp_pf/Makefile:1.2 share/man/man7/bsd.snmpmod.mk.7:1.4 share/mk/bsd.snmpmod.mk:1.2 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-25T14:55:11.000000Z K 7 svn:log V 134 The UPCI 32 rp(4) card uses BAR 2 like the UPCI 80 card. Submitted by: Vitaliy Skakun vit dot ska at gmail dot com MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-25T14:57:23.000000Z K 7 svn:log V 183 Axe KTR_ALQ_MASK now that KTR_WITNESS is off unless you hack an #ifdef in subr_witness.c. I did add a comment in subr_witness.c noting that KTR_WITNESS is incompatible with KTR_ALQ. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-25T15:54:02.000000Z K 7 svn:log V 147 MFC: sys/geom/mirror/g_mirror.c 1.69 sys/geom/raid3/g_raid3.c 1.45 Remove dead code. Found by: Coverity Prevent(tm) Coverity ID: CID104, CID105 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-25T15:55:27.000000Z K 7 svn:log V 128 MFC: sys/geom/uzip/g_uzip.c 1.9 Fix bio leak in case of malloc(9) failure. Found by: Coverity Prevent(tm) Coverity ID: CID794 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-25T16:34:33.000000Z K 7 svn:log V 42 Crank WARNS up to 6, just because we can. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-01-25T17:37:15.000000Z K 7 svn:log V 122 o Add IANA assigned InterBase Database Remote Protocol 3050/tcp/udp. PR: conf/92319 Submitted by: skv MFC after: 1 week END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-25T18:11:59.000000Z K 7 svn:log V 57 Tie the amr_linux module into the build for i386 & amd64 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-01-25T19:01:26.000000Z K 7 svn:log V 499 MFC loader.8:1.83 loader.conf:1.99 loader.conf.5:1.24 comconsole.c:1.11 from HEAD to RELENG_5: Add a "comconsole_speed" loader variable that can be used to change the serial console speed (i386 and amd64 only). If the previous stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE) then the default speed is determined from the current serial port speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED at compile time. Approved by: rwatson (mentor) END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-01-25T20:56:17.000000Z K 7 svn:log V 34 MFC rev 1.31: Use the .Fx macro. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-25T21:13:46.000000Z K 7 svn:log V 58 Fix typos and clean up some comments. Approved by: ariff END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-25T21:14:46.000000Z K 7 svn:log V 248 - Remove the comment about WSS/MSS cards being the best supported cards on the market. - Remove the entire HARDWARE section. It's superfluous since all snd_* manual pages have their own HARDWARE sections these days. Reviewed by: brueffer END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-25T21:15:58.000000Z K 7 svn:log V 102 Remove sound since the sound(4) manual page no longer have a HARDWARE section. Reviewed by: brueffer END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-01-25T23:07:42.000000Z K 7 svn:log V 129 Add support for the JMicron JMB360 SATAII controller. Thanks to JMicron for providing needed info. HW donated by: Ralf Folkerts END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-25T23:47:12.000000Z K 7 svn:log V 101 - Fix infinite loop in strip_log(). - Remove useless variable. Submitted by: jkim Approved by: jkim END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-26T00:35:54.000000Z K 7 svn:log V 1176 Add Product IDs : - Sandisk Cruzer Micro 128MB [5] - DANE-ELEC zMate 512MB USB flash drive [7] - Attache 256MB USB 2.0 Flash Drive [8] - Sandisk Cruzer Micro 256MB [9] Add scsi_da.c quirks : - Samsung USB key 128Mb [1] - Kingston DataTraveler 2.0 [2] - Creative MuVo Slim [3] - United MP 5512 Portable MP3 Player [4] - Sandisk Cruzer Micro 128MB [5], [9] - PNY USB Flash keys [6], [7], [8] Add umass.c quirks : - Sandisk Cruzer Micro 128MB [5] - DANE-ELEC zMate 512MB USB flash drive [7] - Attache 256MB USB 2.0 Flash Drive [8] - Sandisk Cruzer Micro 256MB [9] PR: usb/90081 [1], usb/89196 [2], kern/86131 [3], usb/80487 [4], usb/75970 [5], usb/75578 [6], usb/72344 [7], usb/65436 [8], usb/70835 [9] Submitted by: Henri-Pierre CHARLES [1], Andrey Simonenko [2], Erich Rickheit KSC [3], tnu@chania.di.uoa.gr [4], Bram Abbekerk [5], Thomas Pornin [6], parv [7], Peter D. Quilty [8], Raymundo M. Vega [9] Approved by: iedowse MFC after: 3 days END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-26T01:23:29.000000Z K 7 svn:log V 116 - Add a umass quirk that should have been part of latest commit. Approved by: iedowse (implicit) MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T01:30:34.000000Z K 7 svn:log V 728 Bring in a sysv-style pts implementation, as found in the rwatson_pts perforce branch. It works the same as its SysV/linux counterpart : You obtain a fd to the master pseudo terminal by opening /dev/ptmx, which craetes a node for the master as /dev/pty[num] and a node for the slave as /dev/pts/[num]. It should play nicely with the existing BSD ptys. By default, the system will use the BSD ptys, one can set the sysctl kern.pts.enable to 1 to make it use the new pts system. The max number of pty that can be allocated on a system can be changed with the sysctl kern.pts.max. It defaults to 1000, and can be increased, but it is not recommanded, as any pty with a number > 999 won't be handled by whatever uses utmp(5). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T01:32:46.000000Z K 7 svn:log V 455 Linux compat bits needed to make linux programs use the new ptys : linux_ioctl.[ch] : Implement LINUX_TIOCGPTN, which returns the pty number linux_stats.c : - Return the magic number for devfs. - In various stats()-related functions, check that we're stating a file in /dev/pts, and if so, change the st_rdev field to match what linux expects to be there for a slave pty device. The glibc checks for this, and their openpty() fails if it is no correct. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T01:33:26.000000Z K 7 svn:log V 38 Teach openpty() how to deal with pts. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T01:33:55.000000Z K 7 svn:log V 24 ptsname() bits for pts. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-26T01:34:00.000000Z K 7 svn:log V 121 MFC version 1.6 of the Makefile, crank WARNS up to 6 MFC version 1.2 of rcorder.c, fix for "chunk is already free" error END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T01:34:26.000000Z K 7 svn:log V 51 Make getttyent() report what the pts ptys as well. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T01:34:49.000000Z K 7 svn:log V 20 Document a bit pts. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2006-01-26T01:43:13.000000Z K 7 svn:log V 261 MFC: synchronise the EHCI driver with HEAD: o Add workaround for dropped interrupts on VIA and ATI controllers o Add various identification strings and vendor IDs o Set sc_dying to 1 when detaching o Don't bother clearing the unused transfer `hcpriv' field END K 10 svn:author V 8 truckman K 8 svn:date V 27 2006-01-26T02:29:53.000000Z K 7 svn:log V 357 MFC vfs_lookup.c 1.84 and 1.85, and vfs_syscalls.c 1.400 Return EINVAL from lookup() if cn_nameiop is DELETE or RENAME and the last component of the path name is "..". This keeps VOP_LOOKUP() from locking vnodes in reverse order. In kern_unlink(), remap EINVAL errors returned from namei() to EPERM to match existing (and POSIX required) behaviour. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2006-01-26T02:33:36.000000Z K 7 svn:log V 1192 MFC subr_witness.c 1.198 and 1.200. Original commit messages: Log: Track all lock relationships instead of pruning direct relationships if an indirect relationship exists (keep both A->B->C and A->C). This allows witness_checkorder() to use isitmychild() instead of the much more expensive isitmydescendant() to check for valid lock ordering. Don't do an expensive tree walk to update the w_level values when the tree is updated. Only update the w_level values when using the debugger to display the tree. Nuke the experimental "witness_watch > 1" mode that only compared w_level for the two locks. This information is no longer maintained at run time, and the use of isitmychild() in witness_checkorder should bring performance close enough to the acceptable level that this hack is not needed. Report witness data structure allocation statistics under the debug.witness sysctl. Reviewed by: jhb MFC after: 30 days Log: Relocate witness_levelall(), witness_leveldescendents(), and witness_displaydescendants() so that they are protected by "#ifdef DDB/#endif" to unbreak kernels not using "option DDB". MFC after: 3 weeks END K 10 svn:author V 8 truckman K 8 svn:date V 27 2006-01-26T02:36:26.000000Z K 7 svn:log V 377 MFC rmdir.2 1.14 and 1.15, and undelete.2 1.16 and 1.17 rmdir() fails with EINVAL if the last component of the path is "..". Document the previously undocumented behaviour of rmdir(".") returning EINVAL as required by POSIX and SUSv3. Bump the man page change date. undelete() fails with EINVAL if the last component of the path is "..". Bump the man page change date. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-26T04:57:04.000000Z K 7 svn:log V 76 (MFC 1.106) Incorporate the O_NONBLOCK open semantics of Linux and Solaris. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-26T05:02:05.000000Z K 7 svn:log V 103 (MFC 1.106) Incorporate the O_NONBLOCK open semantics of Linux and Solaris. (MFC 1.103, 1.104 as well) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-26T05:04:35.000000Z K 7 svn:log V 53 Put in at least an attempt to ID the 2422 (4Gb part) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-01-26T05:28:56.000000Z K 7 svn:log V 74 Fix an aliasing error in the new TP support and reenable it in the build. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-01-26T05:31:19.000000Z K 7 svn:log V 25 Document JMicron JMB360. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-26T05:51:26.000000Z K 7 svn:log V 219 Plug a leak in the newer contigmalloc() implementation. Specifically, if a multipage allocation was aborted midway, the pages that were already allocated were not always returned to the free list. Submitted by: tegge END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-26T06:15:58.000000Z K 7 svn:log V 5 oops END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-26T06:22:40.000000Z K 7 svn:log V 74 MFC current 2322 (and maybe 2422) support plus current target mode state. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-26T07:46:28.000000Z K 7 svn:log V 63 MFC: IFDATA_DRIVERNAME support. if_mib.h: 1.8 if_mib.c: 1.18 END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-26T08:11:23.000000Z K 7 svn:log V 422 Optimize arena_bin_pop() to reduce the number of separator operations. Remove the block of code that tries to use delayed regions in LIFO order, since from a policy perspective, it conflicts with LRU caching of newly coalesced regions in arena_undelay(). There are numerous policy alternatives, and it isn't readily obvious which (if any) is superior; this change at least has the virtue of being consistent with policy. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-01-26T08:37:02.000000Z K 7 svn:log V 117 in aio_aqueue, store same return code into job->_aiocb_private.error. in aio_return, unlock proc lock before suword. END K 10 svn:author V 3 brd K 8 svn:date V 27 2006-01-26T09:37:24.000000Z K 7 svn:log V 111 - Fix the www build by removing obsolete references to &hwlist.sound; Approved by: ceri@ Pointy Hat to: joel@ END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-26T10:13:32.000000Z K 7 svn:log V 90 Fix the MIB to use libgeom instead of libdisk. Submitted by: Victor Cruceru END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-26T11:15:08.000000Z K 7 svn:log V 21 Remove debug printf. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-26T11:49:27.000000Z K 7 svn:log V 124 Fix false positives when searching for disks. Things like adv(4) are not disks. Submitted by: Victor Cruceru END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-26T12:15:06.000000Z K 7 svn:log V 147 Fix a bug in the processor load code: the wrong process was used to get the inital processor load. Also fix compilation on sparc64 without NDEBUG. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-26T12:19:10.000000Z K 7 svn:log V 129 Replace ki_ocomm by ki_comm. The former will go away. Submitted by: Victor Cruceru Suggested by: Julian Elischer END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-01-26T12:19:11.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-26T13:06:49.000000Z K 7 svn:log V 1809 From the RFC2516 it is not clear, what is the correct behavior for a PPPoE AC, servicing a specific Service-Name, when client sends a PADI with an empty Service-Name. Should it reply with all available service names or should it be silent? Our implementation had chosen the latter, while some other had chosen the former (they say Linux and Cisco). Now some PPPoE clients appear, that rely on the assumption that AC will send all names in a PADO reply to a PADI with wildcard Service-Name. These clients can't connect to FreeBSD AC. I have requested comments from authors of RFC2516 via email, but received no reply. This change makes FreeBSD AC compatible with D-Link DI-614+ and D-Link DI-624+ SOHO routers, and probably others. Big thanks to D-Link's Russian office, namely Victor Platov, for assistance and support in investigation and testing of this change. Details: o Split pppoe_match_svc() into three different functions serving different purposes: - pppoe_match_svc() - match non-empty Service-Name tag from PADI against all available hooks in listening state. - pppoe_find_svc() - check that given Service-Name is not yet registered. - pppoe_broadcast_padi() - send a copy of PADI packet with empty Service-Name tag to all listening hooks. o For NGM_PPPOE_LISTEN message use pppoe_find_svc(). o In ng_pppoe_rcvdata() in a PADI case use pppoe_match_svc() for a non-empty Service-Name tag, and pppoe_broadcast_padi() in either case. A side effect from the above changes is that now pppoed(8) and mpd will reply to a empty Service-Name PADI sending a PADO with two Service-Name tags - an empty one and correct one. This is not fatal, and will be corrected in pppoed(8) and mpd later. No need to update node interface version. Supported by: D-Link END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T18:23:16.000000Z K 7 svn:log V 29 Version bump for pts import. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-01-26T19:04:18.000000Z K 7 svn:log V 470 - Only touch the LED bit of the (LED) AUXIO register when turning the system LED on or off. Unlike the EBus LED AUXIO register where the remaining bits are unused the upper bits of the SBus AUXIO register are used to control other things like the link test enable pin of the on-board NIC which we don't want to change as a side-effect. - Remove the superfluous bzero()'ing of the softc obtained from device_get_softc(). Reviewed by: yongari MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-26T19:21:27.000000Z K 7 svn:log V 79 opt_vmpage.h is no longer needed here because it is not included by vm_page.h. END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-01-26T19:55:29.000000Z K 7 svn:log V 205 Since the A-Z range is contained in the previous check, the else-if is dead code. Clean up both by using isprint() instead, since that's what it really wants. Coverity ID: 100 Found by: Coverity Prevent END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-01-26T20:53:40.000000Z K 7 svn:log V 244 Analogous to __printflike and __scanflike, add the macro __format_arg which expands to the GCC format_arg attribute if supported. This fixes a syntax error in for compilers/tools not implementing the GCC __attribute__ extensions. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T20:54:49.000000Z K 7 svn:log V 227 Don't attempt to re-create the /dev entry for the slave part if it already exist when opening the master. This can happen if one open the master, then open the slave, then close and re-open the master. Reported by: Peter Holm END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-26T21:05:39.000000Z K 7 svn:log V 568 Fix rev 1.12. /tmp may not be writeable yet when dhclient is first run via /etc/rc.d/netif so using it may not work. Also, writing to a predictable file in /tmp as root is a really bad idea since a malicious user may be able to win a race and insert a symlink which will allow them to cause any file to be overwritten. To solve these problems, create the tempory file in /var/run which will exist this early and is writable only by root. Security: Local risk if users can cause dhclient to run on demand (such as by unplugging and replugging the network cable). END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-01-26T21:14:32.000000Z K 7 svn:log V 639 - Register the generic implementations for the device shutdown, suspend and resume methods so these events propagate through the device driver hierarchy. - In dma(4) enable the chaining of the DMA engine interrupt handler for the LANCE devices via a dma_setup_intr(). This was commented out before as I was unsure whether I'd use it but this is probably cleaner than fiddling with the DMA engine interrupt in the LANCE driver directly. - In ebus_setup_dinfo() free 'intrs' instead of 'reg' twice in case setting up a child fails due to routing one of its interrupts fails. [1] Found by: Coverity Prevent [1] MFC after: 3 days END K 10 svn:author V 5 erwin K 8 svn:date V 27 2006-01-26T21:32:51.000000Z K 7 svn:log V 171 After changing hostres from libdisk to libgeom, it now compiles and runs on amd64, so revert the stopgap from rev. 1.10 Approved by: harti Hardware borrowed from: simon END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-26T21:48:50.000000Z K 7 svn:log V 51 Fix a typo : deivce => device Spotted by: rwatson END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-26T22:04:21.000000Z K 7 svn:log V 1973 Sync to -current Scott's Mega Update, fixes and Linux ioctl wrapper. Mega update to the LSI MegaRAID driver: 1. Implement a large set of ioctl shims so that the Linux management apps from LSI will work. This includes infrastructure to support adding, deleting and rescanning arrays at runtime. This is based on work from Doug Ambrosko, heavily augmented by LSI and Yahoo. 2. Implement full 64-bit DMA support. Systems with more than 4GB of RAM can now operate without the cost of bounce buffers. Cards that cannot do 64-bit DMA will automatically revert to using bounce buffers. This option can be forced off by setting the 'hw.amr.force_sg32" tunable in the loader. It should only be turned off for debugging purposes. This work was sponsored by Yahoo. 3. Streamline the command delivery and interrupt handler paths after much discussion with Dell and LSI. The logic now closely matches the intended design, making it both more robust and much faster. Certain i/o failures under heavy load should be fixed with this. 4. Optimize the locking. In the interrupt handler, the card can be checked for completed commands without any locks held, due to the handler being implicitely serialized and there being no need to look at any shared data. Only grab the lock to return the command structure to the free pool. A small optimization can still be made to collect all of the completions together and then free them together under a single lock. Items 3 and 4 significantly increase the performance of the driver. On an LSI 320-2X card, transactions per second went from 13,000 to 31,000 in my testing with these changes. However, these changes are still fairly experimental and shouldn't be merged to 6.x until there is more testing. Thanks to Doug Ambrisko, LSI, Dell, and Yahoo for contributing towards this. These have now had more testing and Scott requested them to be merged before the freeze. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-26T22:12:32.000000Z K 7 svn:log V 63 MFC glue to build LSI Linux ioctl shim static and as a module. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-26T22:21:37.000000Z K 7 svn:log V 317 MFC 1.85 - 1.87: Some diagnostic nitpicking and cleanup. MFC 1.88: Improve handling flags that must be propagated to the parent interface, such as IFF_PROMISC and IFF_ALLMULTI. In addition, vlan(4) gains ability to migrate from one parent to another w/o losing its own flags. PR: kern/81978 END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-26T22:39:12.000000Z K 7 svn:log V 286 When the RAID firmware returns a failure, don't hard error the result. This is important with MegaLib, when issuing a GET_REBUILD_PROG since it returns an error if the drive is not in rebuild state. This will be MFC'ed shortly. Submitted by: ps Reviewed by: scottl Found by: ambrisko END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-01-26T23:18:11.000000Z K 7 svn:log V 92 MFC 1.211: 1) remove useless check of loop_copy 2) convert loop_copy to "non-negative" flag END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-27T00:21:48.000000Z K 7 svn:log V 64 Take into account that bits 0x0000ff00 can't be used for minor. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-27T00:46:10.000000Z K 7 svn:log V 163 Hackamatic: turn off target mode on Sparc64 with KLD_MODULE- this triggers a compiler error I have no idea what its about. This should unbreak tinderbox for now. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-01-27T01:36:24.000000Z K 7 svn:log V 502 MFC loader.8:1.83 loader.conf:1.99 loader.conf.5:1.24 comconsole.c:1.11 from HEAD to RELENG_6: Add a "comconsole_speed" loader variable that can be used to change the serial console speed (i386 and amd64 only). If the previous stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE) then the default speed is determined from the current serial port speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED at compile time. Approved by: rwatson (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-27T02:01:27.000000Z K 7 svn:log V 105 Enable full duplex operation since it works and to solve panic issue. PR: kern/91992 MFC after: 2 days END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-27T02:36:44.000000Z K 7 svn:log V 44 Clean up statistics gathering and printing. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-01-27T02:39:46.000000Z K 7 svn:log V 1070 MFC revision 1.122 date: 2006/01/20 03:21:25; author: csjp; state: Exp; lines: +1 -0 Destroy the dynamic rule zone in the event that we fail to insert the initial default rule. MFC revision 1.123 date: 2006/01/20 05:35:27; author: csjp; state: Exp; lines: +25 -10 - Change the return type for init_tables from void to int so we can propagate errors from rn_inithead back to the ipfw initialization function. - Check return value of rn_inithead for failure, if table allocation has failed for any reason, free up any tables we have created and return ENOMEM - In ipfw_init check the return value of init_tables and free up any mutexes or UMA zones which may have been created. - Assert that the supplied table is not NULL before attempting to dereference. This fixes panics which were a result of invalid memory accesses due to failed table allocation. This is an issue mainly because the R_Zalloc function is a malloc(M_NOWAIT) wrapper, thus making it possible for allocations to fail. Found by: Coverity Prevent (tm) Coverity ID: CID79 MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-01-27T02:46:08.000000Z K 7 svn:log V 65 Note that options are set using sh(1) syntax. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-01-27T04:14:16.000000Z K 7 svn:log V 65 return final error code in aio_return rather than a hardcoded 0. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-27T04:36:39.000000Z K 7 svn:log V 67 Fix the type of a statistics counter (unsigned --> unsigned long). END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-27T04:42:10.000000Z K 7 svn:log V 215 Add NO_MALLOC_EXTRAS, so that various extra features that can cause performance degradation can be disabled via something like the following in /etc/malloc.conf: CFLAGS+=-DNO_MALLOC_EXTRAS Suggested by: deischen END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-01-27T05:17:25.000000Z K 7 svn:log V 278 MFC: Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function is a NetBSD addition. PR: 51209 (based on submission, but very different) Reviewed by: bde, ru END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-27T07:28:51.000000Z K 7 svn:log V 107 Use the new macros abstracting the page coloring/queues implementation. (There are no functional changes.) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-27T07:46:22.000000Z K 7 svn:log V 35 Remove unwarranted uses of 'goto'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-01-27T07:51:26.000000Z K 7 svn:log V 56 minor nit in comment about what kind of flags these are END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-01-27T08:00:40.000000Z K 7 svn:log V 830 Transition from ALTPHYS to LINK2. We already document in the ed(4) man page that the ifconfig option link2 is used to disable the AUI transceiver on the 3com boards (should also say HP PC Lan+). This makes the connection clearer. Add a note about why we set this flag prior to attaching the device. We never set or clear the flag later, only test it. There can be no races here, but this might be asthetically displeasing to some. Also note that we may no longer need to have this knob at all as we may be able to do it with the more sophisticated rc.d scripts we have today I think the only reason it is there is because we didn't used to allow its proper setting when configured to get the IP address via DHCP. I'll note that this would be better handled by using ifmedia for all ed cards, not just those with a miibus... END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-01-27T08:02:25.000000Z K 7 svn:log V 58 Just like dofilewrite(), call bwillwrite before fo_write. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-01-27T08:10:36.000000Z K 7 svn:log V 30 Style(9) issue: return (foo); END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-01-27T08:25:47.000000Z K 7 svn:log V 452 Create mediachg functions for the 3c503 and hpp cards. This is used to properly configure the right interface to use. Also call the mediachg function when we set flags UP and are already running. If this were a pure ifmedia driver, we'd not need to do this since we'd be ignoring the linkX flags. This reduces the number of ifdefs to support sub-devices a little as a nice side effect. It also reduces the number of hpp interfaces exposed by 33%. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-27T08:35:32.000000Z K 7 svn:log V 107 Use the new macros abstracting the page coloring/queues implementation. (There are no functional changes.) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-01-27T08:42:48.000000Z K 7 svn:log V 155 if we are compiling with smbus support, properly depend upon the iic and smbus modules, otherwise as a module you can't kldload bktr... MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-01-27T08:52:14.000000Z K 7 svn:log V 28 make wall(1) work with pts. END K 10 svn:author V 3 rik K 8 svn:date V 27 2006-01-27T09:02:09.000000Z K 7 svn:log V 95 Initial import of ce(4) driver for Cronyx Tau-PCI/32 adapters. Not yet connected to the build. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-01-27T09:08:32.000000Z K 7 svn:log V 110 add an option BKTR_USE_FREEBSD_SMBUS that enables compiling the module with same option... MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-27T10:56:22.000000Z K 7 svn:log V 503 o Introduce D-Link compat mode, that is default to off and can be set by NGM_PPPOE_SETMODE message. When D-Link compat mode is on, we will broadcast PADI with empty Service-Name to all listening hooks. o Rewrite the compatibility options. Before we had two modes - standard and non-standard (aka 3Com). Now we have standard mode and two compat flags, that can be combined. o Be consistent and do s/STUPID/3COM/g. I don't say that 3Com mode isn't stupid, just want to make code easier to read. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-27T11:19:53.000000Z K 7 svn:log V 85 Don't forget to call NDFREE(9) in case of vn_open_cred() failure. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-27T11:25:06.000000Z K 7 svn:log V 76 Grr. Backout previous change. vn_open_cred() will call NDFREE() on failure. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-01-27T11:27:55.000000Z K 7 svn:log V 64 Call NDFREE() only when vn_open() succeeded. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-27T11:28:32.000000Z K 7 svn:log V 105 Update NGM_PPPOE_GETMODE and NGM_PPPOE_SETMODE descriptions, since new D-Link compat mode is introduced. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-27T11:56:59.000000Z K 7 svn:log V 76 Make an example command correct and copyable to terminal. Submitted by: ru END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-01-27T13:20:48.000000Z K 7 svn:log V 185 Allow the use of wildcarded device names in devfs.conf PR: conf/90760 Submitted by: Darren Pilgrim Approved by: philip (mentor,implicit) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-27T14:37:10.000000Z K 7 svn:log V 112 Correctly identify the host and port values on a failed getaddrinfo lookup. Reported by: hrs MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-27T14:42:15.000000Z K 7 svn:log V 122 Merge from accidental commit to RELENG_5: Correctly identify the host and port values on a failed getaddrinfo lookup. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-27T14:44:15.000000Z K 7 svn:log V 94 MFC rev. 1.8: Correctly identify the host and port values on a failed getaddrinfo lookup. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-27T15:13:40.000000Z K 7 svn:log V 119 Merge a bunch of changes that where done in tty_pty.c after tty_pts.c was forked from it, but missed from some reason. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-01-27T15:55:07.000000Z K 7 svn:log V 114 MFC: rev. 1.5 - 1.8 - SiS read/write support. - Intel MatrixRAID write support. - VIA Tech V-RAID write support. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-01-27T15:58:01.000000Z K 7 svn:log V 201 MFC: rev. 1.53, 1.60, 1.61 - hw.ata.wc can cause data loss on crashes too. This brings the description of the hw.ata.wc in sync with tuning(7) - Via VT8251 support. - Support for Marvell chipsets. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-27T16:27:34.000000Z K 7 svn:log V 247 MFC the HOSTRES-MIB. This is exactly the same version as in HEAD except for a slightly different mechanism to load geom_md (g_me) which was renamed at some point. This has been tested on RELENG_6 by erwin and glebius. Reviewed by: erwin, glebius END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-27T16:32:13.000000Z K 7 svn:log V 48 Revert 1.45 now that snmp_hostres uses libgeom. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-27T16:35:45.000000Z K 7 svn:log V 139 Forced commit because the log message in the previous commit was wrong. Warn people that this library should not be used for anything new. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-27T16:38:05.000000Z K 7 svn:log V 136 The .Nm macro prints Open_Disk() instead of libdisk, so use an explicite argument to get 'libdisk'. Also bump the date of the man page. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-01-27T17:16:20.000000Z K 7 svn:log V 81 Document the user/group LOR in our sample pf.conf Submitted by: Devon H. O'Dell END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-27T17:17:05.000000Z K 7 svn:log V 19 MFC: 32bit lutimes END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-27T17:17:23.000000Z K 7 svn:log V 6 Regen END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-27T17:41:37.000000Z K 7 svn:log V 76 MFC: When the RAID firmware returns a failure, don't hard error the result. END K 10 svn:author V 4 rees K 8 svn:date V 27 2006-01-27T18:22:11.000000Z K 7 svn:log V 207 MFC rev 1.16 Use thread0 instead of user's thread for sobind. This fixes reconnect after, for example, tcp idle disconnection. Previously this would fail if a normal user tried to bind to a privileged port. END K 10 svn:author V 4 rees K 8 svn:date V 27 2006-01-27T18:22:53.000000Z K 7 svn:log V 75 MFC rev 1.23 Use nfs4_disconnect for connections opened with nfs4_connect. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-01-27T19:10:13.000000Z K 7 svn:log V 267 Have a function pointer to the routine to call for writing an mbuf into the card's memory. # this eliminates a more of the ifdef soup in if_ed and if_edvar # I've fixed the cbus drivers, but can't test them all easily. If I've broken anything, please let me know. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-01-27T21:00:31.000000Z K 7 svn:log V 428 Add `mediaOpen' function. This function mounts selected media device. For example, you can dynamically generate and load configuration file depending on the hardware configuration with the following template: mediaSetCDROM mediaOpen command='/dist/rescue/sh /dist/scripts/install.sh' system mediaClose configFile=/tmp/generated.cfg loadConfig Now we have full access to files on the media before installation begins. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-27T21:06:19.000000Z K 7 svn:log V 86 Add some wisdom from Garrett Wollman concerning error codes returned by system calls. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-01-27T21:06:37.000000Z K 7 svn:log V 57 Style: Add blank line after local variable declarations. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-27T21:07:04.000000Z K 7 svn:log V 27 Try harder not to recurse. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-01-27T21:11:50.000000Z K 7 svn:log V 251 Make sure b_vp and b_bufobj are NULL before calling relpbuf(), as it asserts they are. They should be NULL at this point, except if we're coming from swapdev_strategy(). It should only affect the case where we're swapping directly on a file over NFS. END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-01-27T21:37:56.000000Z K 7 svn:log V 69 MFC rev. 1.115: Remove unused code. Found with: Coverity Prevent(tm) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-01-27T21:41:49.000000Z K 7 svn:log V 226 - Hide 'incorrect geometry warning' in non-interactive mode. A user should know what they are doing in non-interactive mode. Less scarier warning goes to debugging info instead. - Print sanitized geometry to debugging info. END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-01-27T21:50:11.000000Z K 7 svn:log V 816 MFC: rev. 1.39 sys/net/if_gre.c rev. 1.21 sys/netinet/ip_gre.c rev. 1.4 sys/netinet/ip_gre.h rev. 1.12 sys/netipsec/keysock.c rev. 1.3 sys/netipsec/keysock.h rev. 1.32 sys/netkey/keysock.c rev. 1.9 sys/netkey/keysock.h Fix stack corruptions on amd64. Vararg functions have a different calling convention than regular functions on amd64. Casting a varag function to a regular one to match the function pointer declaration will hide the varargs from the caller and we will end up with an incorrectly setup stack. Entirely remove the varargs from these functions and change the functions to match the declaration of the function pointers. Remove the now unnecessary casts. Lots of explanations and help from: peter PR: amd64/89261 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-27T22:17:31.000000Z K 7 svn:log V 249 Add a new sysctl, debug.ktr.clear. If you write a non-zero value to this sysctl then it will clear the KTR buffer. Note that if you have active KTR traces at the same time as a clear operation the behavior is undefined, though it shouldn't panic. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-27T22:20:15.000000Z K 7 svn:log V 562 Add a new macro wrapper WITNESS_CHECK() around the witness_warn() function. The difference between WITNESS_CHECK() and WITNESS_WARN() is that WITNESS_CHECK() should be used in the places that the return value of witness_warn() is checked, whereas WITNESS_WARN() should be used in places where the return value is ignored. Specifically, in a kernel without WITNESS enabled, WITNESS_WARN() evaluates to an empty string where as WITNESS_CHECK evaluates to 0. I also updated the one place that was checking the return value of WITNESS_WARN() to use WITNESS_CHECK. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-27T22:22:10.000000Z K 7 svn:log V 459 Call WITNESS_CHECK() in the page fault handler and immediately assume it is a fatal fault if we are holding any non-sleepable locks. This should cut down on the number of bogus LORs we currently get when the kernel panics due to a NULL (or bogus) pointer dereference that goes wandering off into the VM system which tries to acquire locks and then kicks off the spurious LORs. This should probably be ported to all the archs at some point. Tested on: i386 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-27T22:24:07.000000Z K 7 svn:log V 443 Add a new ddb command 'show sleepq'. It takes a wait channel as an argument and looks for a sleep queue associated with that wait channel. If it finds one it will display information such as the list of threads sleeping on that queue. If it can't find a sleep queue for that wait channel, then it will see if that address matches any of the active sleep queues. If so, it will display information about the sleepq at the specified address. END