ı168672 201 147 203 128 138 148 170 151 151 232 285 289 344 161 232 389 170 1981 320 110 202 158 196 137 166 467 134 154 338 341 300 760 205 200 133 648 150 249 1481 395 375 329 144 185 156 120 157 450 147 1154 130 216 195 125 168 181 196 202 143 174 128 254 151 181 143 320 136 144 175 1046 171 412 210 233 160 124 139 168 210 183 152 591 299 309 794 177 139 321 238 127 258 112 250 164 253 196 165 162 132 157 715 234 249 138 368 146 1076 241 188 148 150 176 346 160 143 149 175 272 251 163 312 359 540 138 121 143 162 156 323 169 149 180 132 463 167 277 145 122 181 158 148 328 494 143 296 437 400 159 179 141 296 290 139 410 207 102 175 507 212 243 204 168 190 214 178 170 227 168 302 456 258 128 197 159 169 168 256 175 636 528 143 323 406 194 193 714 102 218 842 463 459 124 218 300 130 816 535 220 240 309 208 125 K 10 svn:author V 3 mav K 8 svn:date V 27 2007-04-12T19:14:09.000000Z K 7 svn:log V 55 Add myself and glebius. Approved by: glebius (mentor) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-04-12T20:39:55.000000Z K 7 svn:log V 107 Add myself and some others according to my dusty memory. I may have other mentees that I have forgotten... END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-04-12T20:43:57.000000Z K 7 svn:log V 33 Found the right date for davidxu END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-12T23:14:25.000000Z K 7 svn:log V 46 MFp4: Bring back comments. Requested by: jhb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-12T23:16:02.000000Z K 7 svn:log V 56 MFp4: Synchronize with vendor (mostly 'zfs rename -r'). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T01:39:33.000000Z K 7 svn:log V 78 Install only types.h from sys/rpc/. Requested by: ache Explained how by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-13T03:49:22.000000Z K 7 svn:log V 60 MFC: 1.23: Swap "underflow"/"overflow" in the table header. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-04-13T04:07:56.000000Z K 7 svn:log V 56 MFC: Hide bus reset announcements within bootverbose. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-04-13T04:09:06.000000Z K 7 svn:log V 136 MFC: Update the man page a bit- also to reflect that testing that Jun Kuriyama did to verify the PCI-Express (Apple Fibre Channel) HBA. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-04-13T06:42:25.000000Z K 7 svn:log V 192 o Look for a zfs(1) exports file only if it exists and is readable. If we don't do this and the file doesn't exist mountd(8) will abort. o The mountd(8) daemon creates a pidfile, so use it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T08:38:48.000000Z K 7 svn:log V 196 When we are running low on vnodes, there is currently no way to ask other subsystems to release some vnodes. Implement backpressure based on vfs_lowvnodes event (similar to vm_lowmem for memory). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T08:42:01.000000Z K 7 svn:log V 251 Fix vnodes starvation caused by DNLC (ZFS name cache): - Tune number of namecache entires better (based on desiredvnodes). - Handle vfs_lowvnodes event by releasing requested number of name cache entries, but no less than 5%. Reported by: simokawa END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T10:25:49.000000Z K 7 svn:log V 69 Fatal error is only when cannot open any of the given exports files. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T10:29:25.000000Z K 7 svn:log V 139 mountd(8) was changed to only abort when all given exports files cannot be open, so we not longer has to check if /etc/zfs/exports exists. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T11:02:06.000000Z K 7 svn:log V 296 - Create an empty /etc/zfs/exports file when zfs_enable="YES" and we don't NFS-share anything. This way we can safely start mountd with /etc/zfs/exports and mountd won't complain. Pointed out by: ceri - Move 'zfs volinit' before 'zfs mount -a' and 'zfs volfini' after 'zfs unmount -a'. END K 10 svn:author V 4 ahze K 8 svn:date V 27 2007-04-13T14:29:38.000000Z K 7 svn:log V 77 Pav and marcus co-mentored me for a few weeks while adamw was busy in school END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-04-13T14:55:19.000000Z K 7 svn:log V 1886 Fix the handling of IPv6 addresses for subject and process BSM audit tokens. Currently, we do not support the set{get}audit_addr(2) system calls which allows processes like sshd to set extended or ip6 information for subject tokens. The approach that was taken was to change the process audit state slightly to use an extended terminal ID in the kernel. This allows us to store both IPv4 IPv6 addresses. In the case that an IPv4 address is in use, we convert the terminal ID from an struct auditinfo_addr to a struct auditinfo. If getaudit(2) is called when the subject is bound to an ip6 address, we return E2BIG. - Change the internal audit record to store an extended terminal ID - Introduce ARG_TERMID_ADDR - Change the kaudit <-> BSM conversion process so that we are using the appropriate subject token. If the address associated with the subject is IPv4, we use the standard subject32 token. If the subject has an IPv6 address associated with them, we use an extended subject32 token. - Fix a couple of endian issues where we do a couple of byte swaps when we shouldn't be. IP addresses are already in the correct byte order, so reading the ip6 address 4 bytes at a time and swapping them results in in-correct address data. It should be noted that the same issue was found in the openbsm library and it has been changed there too on the vendor branch - Change A_GETPINFO to use the appropriate structures - Implement A_GETPINFO_ADDR which basically does what A_GETPINFO does, but can also handle ip6 addresses - Adjust get{set}audit(2) syscalls to convert the data auditinfo <-> auditinfo_addr - Fully implement set{get}audit_addr(2) NOTE: This adds the ability for processes to correctly set extended subject information. The appropriate userspace utilities still need to be updated. MFC after: 1 month Reviewed by: rwatson Obtained from: TrustedBSD END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-04-13T15:07:10.000000Z K 7 svn:log V 224 The minimum size of an RFC3442 destination descriptor is five bytes, so correct test to -ge 5. Without this change an RFC3442 encoded default route would be ignored. Reported by: Cedric Jonas END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-13T16:07:25.000000Z K 7 svn:log V 13 Portability. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-04-13T16:07:29.000000Z K 7 svn:log V 109 Eliminate the misuse of PG_FRAME to truncate a virtual address to a virtual page boundary. Reviewed by: ru@ END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-13T16:08:23.000000Z K 7 svn:log V 61 Portability. Thanks to: Martin Koeppe for testing on Interix END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-04-13T18:15:07.000000Z K 7 svn:log V 101 o Extend the list of supported CDMA-2000 terminals. Submitted by: R.Mahmatkhanov MFC after: 10 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-04-13T18:25:03.000000Z K 7 svn:log V 44 MFC: 1.187 Enable MSI support on RELENG_6. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-13T18:46:35.000000Z K 7 svn:log V 74 Remove the shutdown keyword. It just adds noise to the shutdown process. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T18:50:03.000000Z K 7 svn:log V 374 Fix overflow, which was causing endless loops when 32bit machine had more than 2GB of RAM. This was because our physmem is long and 'physmem*PAGESIZE' can be negative for more than 2GB of memory. Reported by: Andrey V. Elsukov It is not yet tested by Andrey, so there can be other problems, but this was definiately a bug, so I'm committing a fix now. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-13T21:03:42.000000Z K 7 svn:log V 43 MFC: Fix the logic bug and static linkage. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-13T21:30:47.000000Z K 7 svn:log V 62 Align -p output in TAB built columns suitable for /etc/fstab. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-13T23:54:22.000000Z K 7 svn:log V 245 Fix jails and jail-friendly file systems handling: - We need to allow for PRIV_VFS_MOUNT_OWNER inside a jail. - Move security checks to vfs_suser() and deny unmounting and updating for jailed root from different jails, etc. OK'ed by: rwatson END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-04-14T01:01:46.000000Z K 7 svn:log V 248 In member interface detach event handler, do not attempt to free state which has already been freed by in_ifdetach(). With this cumulative change, the removal of a member interface will not cause a panic in pfsync(4). Requested by: yar PR: 86848 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T02:37:22.000000Z K 7 svn:log V 202 More portability improvements from Martin Koeppe: conditionally use utime() when utimes() is not available; allow the most common wide-char functions to be replaced when local alternatives are lacking. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-04-14T02:39:33.000000Z K 7 svn:log V 663 MFC if_msk.c, rev. 1.13 to RELENG_6 Add work around for hardware Tx checksum offload bug in Yukon II. Yukon II generated corrupted TCP checksum for short TCP packets that's less than 60 bytes in size(e.g. window probe packet, pure ACK packet etc). Padding the frame with zeros to make the frame minimum ethernet frame size didn't work at all. Instead of dropping Tx checksum offload support we calculate TCP checksum with S/W method when we encounter short TCP frames. Fortunately it seems that short UDP datagrams appear to be handled correctly by Yukon II. While I'm here simplify ethernet/VLAN header size calculation logic. PR: 111384 END K 10 svn:author V 4 will K 8 svn:date V 27 2007-04-14T05:04:10.000000Z K 7 svn:log V 111 MFC: r1.125: Fix -j with Makefiles specified via stdin. Requested by: Ulrich Spoerlein END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T05:17:06.000000Z K 7 svn:log V 102 Portability: Don't use mkdtemp() when mkdir() will suffice. If we can't create the dir, just give up. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-14T06:30:31.000000Z K 7 svn:log V 42 MFC: 1.27: Fix "doc without ports" build. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T08:20:31.000000Z K 7 svn:log V 550 Conventionally, tar archives have always included a trailing '/' for directories. bsdtar used to add this, but that recently got lost somehow. So now I'm adding it back in libarchive. The only odd part of doing this in libarchive: Adding a directory to a tar archive and then reading it back again can yield a different name. Add a test case to exercise some boundary conditions with tar filenames and ensure that trailing slashes are added to dir names only as necessary. Thanks to: Oliver Lehmann for bringing this regression to my attention. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T08:30:21.000000Z K 7 svn:log V 53 Fixes from Joerg Sonnenberger, reviewed by Kai Wang. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T08:42:50.000000Z K 7 svn:log V 151 Fix the build. N.B. 'ar' format support is broken right now, it's not passing tests. If I can't find the problem soon, I'll back out the last commit. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-04-14T09:44:09.000000Z K 7 svn:log V 1387 - fix source address selection when picking an acceptable address - name change of prefered -> preferred - CMT fast recover code added. - Comment fixes in CMT. - We were not giving a reason of cant_start_asoc per socket api if we failed to get init/or/cookie to bring up an assoc. Change so we don't just give a generic "comm lost" but look at actual states of dying assoc. - change "crc32" arguments to "crc32c" to silence strict/noisy compiler warnings when crc32() is also declared - A few minor tweaks to get the portable stuff truely portable for sctp6_usrreq.c :-D - one-2-one style vrf match problem. - window recovery would leave chks marked for retran during window probes on the sent queue. This would then cause an out-of-order problem and assure that the flight size "problem" would occur. - Solves a flight size logging issue that caused rwnd overruns, flight size off as well as false retransmissions.g - Macroize the up and down of flight size. - Fix a ECNE bug in its counting. - The strict_sacks options was causing aborts when window probing was active, fix to make strict sacks a bit smarter about what the next unsent TSN is. - Fixes a one-2-one wakeup bug found by Martin Kulas. - If-defed out form, Andre's copy routines pending his commit of at least m_last().. need to adjust for 6.2 as well.. since m_last won't exist. Reviewed by: gnn END K 10 svn:author V 4 stas K 8 svn:date V 27 2007-04-14T10:16:52.000000Z K 7 svn:log V 301 - Add new 'a' switch and runtime option that allows 'top' to display process titles extracted from argv vector instead of the real executable names. This is useful when you want to watch applications that set their status information via setproctitle(3). Approved by: alfred MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-14T10:35:09.000000Z K 7 svn:log V 278 Some Linux applications (ping) pass a non-NULL msg_control argument to sendmsg() while using a 0-length msg_controllen. This isn't allowed in the FreeBSD system call ABI, so detect this case and set msg_control to NULL. This allows Linux ping to work. Submitted by: rdivacky END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T12:20:06.000000Z K 7 svn:log V 236 MFp4: - Allow to tune number of spa_zio_* threads. - Reduce default number of spa_zio_* threads to N*spa_zio_issue plus N*spa_zio_intr threads per ZIO type, where N is the number of CPUs. - Put ZIO type number in thread's name. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T12:21:06.000000Z K 7 svn:log V 52 MFp4: Allow to tune vfs.zfs.debug from loader.conf. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T12:23:03.000000Z K 7 svn:log V 93 MFp4: Add more debug, so we can see if zpool.cache was loaded or why it wasn't loaded. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T12:33:47.000000Z K 7 svn:log V 64 MFp4: Use max_ncpus, which is used in other places in the code. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-14T12:53:37.000000Z K 7 svn:log V 29 Add src-cddl and src-rescue. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-14T12:54:38.000000Z K 7 svn:log V 66 Add ports-net-im, ports-net-p2p and ports-ports-mgmt collections. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T13:06:57.000000Z K 7 svn:log V 357 Cleanup sysconf(3) a bit. sysconf(3) assumes in some places it operates on int, but in fact it should operate on long. - Introduce 'lvalue' variable, which is long. - Fix _SC_XOPEN_SHM for 64bit archs. - Fix _SC_PHYS_PAGES for 64bit archs. Reported by: simokawa - Use lvalue for pathconf(3), as it returns long. - Cast value explicitly to long on return. END K 10 svn:author V 8 blackend K 8 svn:date V 27 2007-04-14T13:51:51.000000Z K 7 svn:log V 50 Elexol USB MOD1 is supported by the uftdi driver. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-14T14:08:30.000000Z K 7 svn:log V 1060 Further pseudofs improvements: The pfs_info mutex is only needed to lock pi_unrhdr. Everything else in struct pfs_info is modified only while Giant is held (during vfs_init() / vfs_uninit()); add assertions to that effect. Simplify pfs_destroy somewhat. Remove superfluous arguments from pfs_fileno_{alloc,free}(), and the assertions which were added in the previous commit to ensure they were consistent. Assert that Giant is held while the vnode cache is initialized and destroyed. Also assert that the cache is empty when it is destroyed. Rename the vnode cache mutex for consistency. Fix a long-standing bug in pfs_getattr(): it would uncritically return the node's pn_fileno as st_ino. This would result in st_ino being 0 if the node had not previously been visited by readdir(), and also in an incorrect st_ino for process directories and any files contained therein. Correct this by abstracting the fileno manipulations previously done in pfs_readdir() into a new function, pfs_fileno(), which is used by both pfs_getattr() and pfs_readdir(). END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-04-14T14:32:48.000000Z K 7 svn:log V 37 Use proper type cast for ctype macro END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-04-14T14:39:38.000000Z K 7 svn:log V 118 In FreeBSD, - cv_timedwait() takes delta instead of absolute time, - we need ioctl() for mediasize. Reviewed by: pjd END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-04-14T14:43:11.000000Z K 7 svn:log V 100 MFC 1.242: Update postfix MTA selection code to point at postfix 2.4 which is the current version. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T15:01:50.000000Z K 7 svn:log V 33 MFp4: Hmm, it seems to work now. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-04-14T15:53:37.000000Z K 7 svn:log V 75 New (but slightly overdue) release notes: snd_envy24ht(4), snd_spicds(4). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-04-14T16:09:23.000000Z K 7 svn:log V 87 o IFNAMSIZ includes a terminating null byte. Submitted by: rdivacky MFC after: 1 week END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-04-14T16:26:01.000000Z K 7 svn:log V 99 Include a note about recompiling ports which use the base libmilter. Submitted by: Matthew Seaman END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2007-04-14T16:27:16.000000Z K 7 svn:log V 104 MFC: Include a note about recompiling ports which use the base libmilter. Submitted by: Matthew Seaman END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-04-14T16:29:15.000000Z K 7 svn:log V 49 o Add bsm and security to a list of cscope dirs. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T18:24:42.000000Z K 7 svn:log V 77 Fix the build by temporarily disabling 'ar' support until I can clean it up. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-04-14T18:27:34.000000Z K 7 svn:log V 33 Fix a typeo - unbreak the build. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-14T19:42:20.000000Z K 7 svn:log V 159 pad out m_hdr to make pkthdr word-aligned shuffle pkthdr.len so that pkthdr.header is aligned without compiler added padding Reviewed by: rwatson, andre, sam END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-14T20:16:03.000000Z K 7 svn:log V 57 Add option for disabling allocation from the packet zone END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-14T20:19:16.000000Z K 7 svn:log V 87 remove now invalid check from m_sanity panic on m_sanity check failure with INVARIANTS END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-14T20:31:05.000000Z K 7 svn:log V 49 hide static declaration remove extra white space END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-14T20:38:38.000000Z K 7 svn:log V 225 add reference count pointer to mbuf iovec implement robust version of m_collapse add support for sf_buf add fix for m_iovappend add calls to m_sanity under INVARIANTS fix m_freem_vec to correctly travese the mbuf iovec chain END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-14T20:40:22.000000Z K 7 svn:log V 42 Add support for mbuf iovec in the TX path END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T20:50:14.000000Z K 7 svn:log V 52 Fix RAID-Z resilvering. Obtained from: OpenSolaris END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T22:20:31.000000Z K 7 svn:log V 78 Invoke utime(2) properly. (It's only used on platforms that lack utimes(2).) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T22:34:10.000000Z K 7 svn:log V 948 Overhaul of 'ar' support: * use "AR_GNU" as the format name instead of AR_SVR4 (it's what everyone is going to call it anyway) * Simplify numeric parsing to unsigned (none of the numeric values should ever be negative); don't run off end of numeric fields. * Finish parsing the common header fields before the next I/O request (which might dump the contents) * Be smarter about format guessing and trimming filenames. * Most of the magic values are only used in one place, so just inline them. * Many more comments. * Be smarter about handling damaged entries; return something reasonable. * Call it a "filename table" instead of a "string table" * Update tests. Enable selection of 'ar', 'arbsd', and 'argnu' formats by name (this allows bsdtar to create ar format archives). The 'ar' writer still needs some work; it should reject entries that aren't regular files and should probably also strip leading paths from filenames. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-14T22:49:37.000000Z K 7 svn:log V 74 Pass through error message if any operation fails, not just the last one. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-14T23:06:22.000000Z K 7 svn:log V 319 Force commit to actually document what was changed: At some point in ZFS porting cycle I wasn't able to open snapshot datasets in DS_MODE_PRIMARY mode and I changed it to DS_MODE_STANDARD. It seems that it works just fine with DS_MODE_PRIMARY mode now, but I don't really know what have changed. Requested by: scottl END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-15T00:53:38.000000Z K 7 svn:log V 112 Consolidate numeric limit macros in one place; include them only on platforms that need them. FreeBSD doesn't. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-15T01:01:20.000000Z K 7 svn:log V 135 Thanks to Colin for catching my mixup. The original problem wasn't suppressing the second error, it was failing to address the first. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-15T04:30:02.000000Z K 7 svn:log V 63 Clean up a lot of memory leaks in the libarchive test harness. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-15T04:42:52.000000Z K 7 svn:log V 27 Don't free a NULL pointer. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-15T04:43:12.000000Z K 7 svn:log V 42 Properly cleanup the UID/GID lookup data. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-15T04:55:39.000000Z K 7 svn:log V 74 Implement ZERO_COPY_SOCKETS check in a way that doesn't make LINT unhappy END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-15T05:45:10.000000Z K 7 svn:log V 115 Add sysctl for disabling/enabling mbuf chain collapsing remove map creation before calling bus_dmamap_load_mvec_sg END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-15T05:46:34.000000Z K 7 svn:log V 89 suck in more of busdma to enable more efficient mappings kill redundant INVARIANTS check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-15T06:30:28.000000Z K 7 svn:log V 58 back out option to disable packet zone Requested by: sam END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-15T08:49:19.000000Z K 7 svn:log V 495 Remove Giant from CAM. Drivers (SIMs) now register a mutex that CAM will use to synchornize and protect all data objects that are used for that SIM. Drivers that are not yet MPSAFE register Giant and operate as usual. RIght now, no drivers are MPSAFE, though a few will be changed in the coming week as this work settles down. The driver API has changed, so all CAM drivers will need to be recompiled. The userland API has not changed, so tools like camcontrol do not need to be recompiled. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-15T09:10:17.000000Z K 7 svn:log V 206 MFp4: Start DNLC after desiredvnodes variable is initialized. Before this change if zfs.ko was loaded by the loader, DNLC was automatically disabled. Reported by: Zephiris END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-04-15T11:02:31.000000Z K 7 svn:log V 212 Committing regression tests for all implemented nsswitch databases. Detailed description and instructions are in the README file. This work had been basically done during GSoC 2006. Approved by: brooks (mentor) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-04-15T11:58:26.000000Z K 7 svn:log V 701 - Add more comments to sctps_stats struture in sctp_uio.h - Fix bug that prevented EEOR mode from working and simplified the can_we_split code in the process. - Reduce lock contention for the tcb_send_lock. I did this especially for EEOR mode, still need to look at why I need a lock when removing from the tailq and the ->next is NOT null. A lock fixes it but it implies a bug yet exists. - Activated Andre's proposed changes to better use the mbuf infrastructure. - Fixed places that were not using the aloc macro's to take advantage of the per assoc cache. - Adds ifdef fix so any logging will enable stat_logging to get the right data structures in place (suggested by Max Laier). END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T12:59:49.000000Z K 7 svn:log V 85 Add macros to assert that the process is / isn't held in memory. MFC after: 3 weeks END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-04-15T13:03:14.000000Z K 7 svn:log V 47 Fix stupid syntax error - Pointy hat to me :-( END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T13:24:03.000000Z K 7 svn:log V 228 Don't reset uio_offset to 0 before returning. Instead, refuse to service requests where uio_offset is not 0 to begin with. This fixes a long- standing bug where e.g. 'cat /proc/$$/regs' would loop forever. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T13:29:36.000000Z K 7 svn:log V 145 Fix the same bug as in procfs_doproc{,db}regs(): check that uio_offset is 0 upon entry, and don't reset it before returning. MFC after: 3 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-15T15:30:45.000000Z K 7 svn:log V 33 Add pmap includes needed by i386 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-15T15:50:50.000000Z K 7 svn:log V 161 In nfsrv_rcv(), don't reacquire the nfs server lock until after nfs_realign() has been called, as it may sleep waiting on memory allocation. Reported by: simon END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T17:02:03.000000Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T17:06:09.000000Z K 7 svn:log V 157 Instead of stating GIANT_REQUIRED, just acquire and release Giant where needed. This does not make a difference now, but will when procfs is marked MPSAFE. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T17:10:01.000000Z K 7 svn:log V 72 Make pseudofs (and consequently procfs, linprocfs and linsysfs) MPSAFE. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-04-15T17:24:41.000000Z K 7 svn:log V 159 Add an entry for AUT_ZONENAME and the prototype for the au_to_zonename() function that will be implemented shortly. This is being done for the openbsm import. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-15T18:07:14.000000Z K 7 svn:log V 103 When org.freebsd:swap property is set to 'on' on a ZVOL, use is as a swap device. Discussed with: des END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-04-15T19:03:45.000000Z K 7 svn:log V 70 Use %j and args cast to uintmax_t to print bus_addr_t && length args. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-15T20:35:18.000000Z K 7 svn:log V 70 Avoid "unused variable" warning when building without PSEUDOFS_TRACE. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-15T21:03:23.000000Z K 7 svn:log V 36 Remove unused variable tcbinfo_mtx. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-04-15T22:17:10.000000Z K 7 svn:log V 63 PHYS_TO_VM_PAGE requires explicit vm_page.h include on sparc64 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-04-16T04:04:50.000000Z K 7 svn:log V 617 In libarchive: Downgrade ARCHIVE_FATAL and ARCHIVE_FAILED errors which occur on the write side of extracting a file to ARCHIVE_WARN errors when returning them from archive_read_extract. In bsdtar: Use the return code from archive_read_data_into_fd and archive_read_extract to determine whether we should continue trying to extract an archive after one of the entries fails. This commit makes extracting a truncated tarball complain once about the archive being truncated, instead of complaining twice (once when trying to extract an entry, and once when trying to seek to the next entry). Discussed with: kientzle END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-04-16T09:11:24.000000Z K 7 svn:log V 139 - Add missing man page links - Remove link for define_key.3 which is a real man page - Some whitespace nits Approved by: delphij (mentor) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-04-16T09:13:07.000000Z K 7 svn:log V 154 MFC: rev 1.88 - Add missing man page links - Remove link for define_key.3 which is a real man page - Some whitespace nits Approved by: delphij (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-16T09:54:59.000000Z K 7 svn:log V 47 Add a missing backslash and unbreak the build. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-16T10:23:24.000000Z K 7 svn:log V 275 Uncomment forgotten check. Without this check in-place, ZFS will panic on unload instead of returning EBUSY. This check tells if there are mounted ZFS file systems or not. We can't unload if there are mounted file systems. Reported by: Andrey V. Elsukov END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-16T12:31:35.000000Z K 7 svn:log V 54 s/destory/destroy/ (except for the code in contrib/). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-16T15:37:10.000000Z K 7 svn:log V 979 Vendor import TrustedBSD OpenBSM 1.0 alpha 14, with the following change history notes since the last import: OpenBSM 1.0 alpha 14 - Fix endian issues when processing IPv6 addresses for extended subject and process tokens. - gcc41 warnings clean. - Teach audit_submit(3) about getaudit_addr(2). - Add support for zonename tokens. OpenBSM 1.0 alpha 13 - compat/clock_gettime.h now provides a compatibility implementation of clock_gettime(), which fixes building on Mac OS X. - Countless man page improvements, markup fixes, content fixs, etc. - XML printing support via "praudit -x". - audit.log.5 expanded to include additional BSM token types. - Added encoding and decoding routines for process64_ex, process32_ex, subject32_ex, header64, and attr64 tokens. - Additional audit event identifiers for listen, mlockall/munlockall, getpath, POSIX message queues, and mandatory access control. Approved by: re (bmah) MFC after: 3 weeks Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-16T15:37:10.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r168777, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-04-16T15:37:11.000000Z K 7 svn:log V 92 This commit was manufactured by cvs2svn to create tag 'openbsm-vendor-OPENBSM_1_0_ALPHA_14'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-16T15:41:56.000000Z K 7 svn:log V 52 Resolve conflicts from OpenBSM 1.0 alpha 14 import. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-16T15:49:15.000000Z K 7 svn:log V 54 Regenerate config.h from OpenBSM 1.0 alpha 14 import. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-16T16:13:10.000000Z K 7 svn:log V 80 Update src/sys/bsm for OpenBSM 1.0 alpha 14 import. Add new audit event types. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-16T16:20:45.000000Z K 7 svn:log V 249 Merge OpenBSM 1.0 alpha 14 changes to src/sys/security/audit: - au_to_attr64(), au_to_process64(), au_to_subject64(), au_to_subject64_ex(), au_to_zonename(), au_to_header64_tm(). - Extended address token fixes. Obtained from: TrustedBSD Project END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-04-16T19:04:18.000000Z K 7 svn:log V 66 - Add another graph about the organization of the FreeBSD Project END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-16T19:40:13.000000Z K 7 svn:log V 48 Destroy the devalias before destroying the dev. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-16T19:41:14.000000Z K 7 svn:log V 54 Drop the periph/sim lock when calling disk_destroy(). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-16T19:42:23.000000Z K 7 svn:log V 80 Drop the topology lock before calling the periph oninvalidate and dtor vectors. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-16T19:55:36.000000Z K 7 svn:log V 176 For the XPT_SASYNC_CB operation, only decouple the broadcast to the bus and device lists instead of decoupling the whole operation. This avoids problems with SIMs going away. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-04-16T20:30:10.000000Z K 7 svn:log V 157 New release notes: sx(9) lock improvements, T/TCP support in finger(1) gone, libarchive(3) ar file support, rpc.lockd(8)/rpc.statd(8) -P (+MFC), top(1) -a. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-16T21:04:54.000000Z K 7 svn:log V 72 MFC: 1.554: Always make obj when building the libraries. PR: bin/91226 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-04-16T21:09:03.000000Z K 7 svn:log V 219 - Add a 'show rman ' DDB command to dump the resources in a resource manager similar to 'devinfo -u'. - Add a 'show allrman' DDB command that effectively does 'show rman' on all resource managers in the system. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-04-16T21:20:26.000000Z K 7 svn:log V 267 Apply a set of style.Makefile(5) changes to src/cddl/ makefiles. There are some insignificant non-style changes as well. Not fixed: makefiles use ${LIBTHR} that doesn't exist, thus breaking "make checkdpadd" and not tracking dependencies properly. Approved by: pjd END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-04-17T00:35:11.000000Z K 7 svn:log V 443 Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking. The name trunk is misused as the networking term trunk means carrying multiple VLANs over a single connection. The IEEE standard for link aggregation (802.3 section 3) does not talk about 'trunk' at all while it is used throughout IEEE 802.1Q in describing vlans. The lagg(4) driver provides link aggregation, failover and fault tolerance. Discussed on: current@ END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-04-17T00:41:59.000000Z K 7 svn:log V 42 Note the renaming of trunk(4) to lagg(4). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-04-17T00:57:54.000000Z K 7 svn:log V 25 Link trunk(4) to lagg(4) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-04-17T01:02:55.000000Z K 7 svn:log V 47 Remove net/if_trunk.h which is no longer used. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-17T01:12:35.000000Z K 7 svn:log V 67 Don't delete the devalias, as per the man page. Submitted by: jmg END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-17T01:21:08.000000Z K 7 svn:log V 61 MFC: Don't destroy the devalias, it's handled automatically. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-04-17T03:12:39.000000Z K 7 svn:log V 228 - Add a new 'j' switch and runtime option to toggle display jail id for each process. - While I'm here, keep help message sorted by keys PR: 98489, 98975 Submitted by: clsung Approved by: delphij (mentor) MFC after: 2 weeks END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-04-17T03:23:15.000000Z K 7 svn:log V 75 MFC readline 5.2 patchset 002 Approved by: delphij (mentor) OKed by: ache END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-04-17T03:23:34.000000Z K 7 svn:log V 53 MFC r1.1.1.6 Pull in latest print-stp.c from vendor END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-04-17T03:39:54.000000Z K 7 svn:log V 84 GNU readline was updated to patch 002 by ache@, note MFC by rafan@ while I'm there. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-04-17T03:44:47.000000Z K 7 svn:log V 36 Note BSD gzip and GNU readline MFC. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-04-17T03:56:22.000000Z K 7 svn:log V 370 Implement pmap_enter_object(). Note that this change is not an MFC because support for the Alpha was removed from the HEAD of CVS just before the introduction of pmap_enter_object(). I am adding pmap_enter_object() to the Alpha because it allows for an efficient solution to a race condition affecting pmap_enter_quick(). (See sys/amd64/amd64/pmap.c revision 1.557.) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-04-17T04:05:19.000000Z K 7 svn:log V 73 - Bump __FreeBSD_version for readline 5.2 Approved by: delphij (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-04-17T05:48:35.000000Z K 7 svn:log V 184 Don't use spinlocks here. The iicbus transactions can take a long time, and this prevents interrupts (say for Hz/hardclock) from happening. Time stands still during the transfers... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-17T06:26:25.000000Z K 7 svn:log V 50 Basic MPSAFE locking for the AHC and AHD drivers. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-04-17T07:01:45.000000Z K 7 svn:log V 25 trunk(4) is now lagg(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-04-17T07:08:18.000000Z K 7 svn:log V 84 To avoid confusion, mention that the driver was originally called trunk in OpenBSD. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-04-17T07:09:23.000000Z K 7 svn:log V 61 Bump date for the previous revision and the driver renaming. END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-04-17T07:48:22.000000Z K 7 svn:log V 56 MFC completely (up to rev. 1.58) Requested by: foxfair END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-17T09:28:36.000000Z K 7 svn:log V 231 Shorten text string for ip_fw2 dynamic rules zone by removing the word "zone", which is generally not present in zone names. This reduces the incidence of line-wrapping in "vmstat -z " using 80-column displays. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-17T12:23:57.000000Z K 7 svn:log V 401 Improve the if_vr driver ever so slightly. The 6105M and 6102 does not have the DWORD alignment problem, so don't m_defrag() every packet in the transmit path for those. More stringent usage of tx-descriptor ring and its flags. Tested on 6102 and 6105M, other chips may also be able to run without the m_defrag() but I have neither hardware nor docs to find out. Sponsored by: Soekris Engineering END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-17T12:24:18.000000Z K 7 svn:log V 47 Remove $P4$ that snuck into CVS from Perforce. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-04-17T12:27:08.000000Z K 7 svn:log V 199 Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded when integrated back into Perforce. This avoids unnecessary conflicts during the loopback of files maintained in Perforce. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-04-17T15:14:23.000000Z K 7 svn:log V 344 When trying to allocate a PnP BIOS memory resource, the code loops trying to move up the start address until the allocation succeeds. If the alignment of the resource was 0, then the code would keep trying the same request in an infinite loop and hang. Force the request to always move start up by at least 1 byte each time through the loop. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-04-17T15:25:14.000000Z K 7 svn:log V 305 When we run into the syncache entry limits syncache_add() tries to free the oldest entry in the current bucket row. The global entry limit may be smaller than the bucket rows and their limit combined however. Thus only try to free a syncache entry if we found one in this bucket row. Reported by: kris END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-17T15:52:37.000000Z K 7 svn:log V 67 Link libzpool, ztest and zdb against libpthread. Requested by: ru END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-04-17T16:36:24.000000Z K 7 svn:log V 85 o Add missed w/space in the error message. Spotted by: Ivan Voras MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-17T17:32:39.000000Z K 7 svn:log V 49 No need to throw tag+handle around on the stack. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-17T17:57:34.000000Z K 7 svn:log V 203 Ignore hostid check for root-on-ZFS configurations. Making hostid available before the root is mounted is tricky and having it in /boot/ is not really desire. Reported by: Zephiris END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-04-17T21:05:34.000000Z K 7 svn:log V 197 Honor the BUS_DMA_NOCACHE flag to bus_dmamem_alloc() on amd64 and i386 by mapping the pages as UC (uncacheable) using pmap_change_attr(). MFC after: 1 week Requested by: ariff Reviewed by: scottl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-17T21:14:06.000000Z K 7 svn:log V 47 Export vfs_mount_alloc() as it is used in ZFS. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-17T21:16:34.000000Z K 7 svn:log V 317 - Fix a leftover - vfs_mount_alloc() is now exported properly. This fixes stange panics when listing .zfs/snapshot/ directory for me. Reported by: simokawa Reported by: Johan Hendriks - Hide cache_purge() under FREEBSD_NAMECACHE like in other files. - Protect mnt_flag with mount interlock. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-17T21:38:15.000000Z K 7 svn:log V 114 Fix build breakage. Most of ZFS code is also compiled in userland and I should really stop forgetting about that. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-17T21:58:34.000000Z K 7 svn:log V 10 Simplify. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-17T22:59:54.000000Z K 7 svn:log V 83 Add support for hw-assisted checksums on 6105M. Sponsored by: Soekris Engineering END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-04-18T00:40:43.000000Z K 7 svn:log V 410 Don't reinitialize the hardware if only PROMISC flag was changed. Previously whenever PROMISC mode turned on/off link renegotiation occurs and it could resulted in network unavailability for serveral seconds.(Depending on switch STP settings it could last several tens seconds.) Reported by: Prokofiev S.P. < proks AT logos DOT uptel DOT net > Tested by: Prokofiev S.P. < proks AT logos DOT uptel DOT net > END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-18T04:35:17.000000Z K 7 svn:log V 114 When testing basic functionality, strip trailing '/' from dir names, so they match the names generated by 'find'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-04-18T04:36:11.000000Z K 7 svn:log V 145 Ignore trailing '/' when comparing pathnames, so that "tar -u" works again. Otherwise, "tar -u" wants to treat every dir as new and re-adds it. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-18T04:58:53.000000Z K 7 svn:log V 108 Revert a driver API change to xpt_alloc_ccb that isn't necessary. Fix a couple of associated error checks. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-18T05:14:16.000000Z K 7 svn:log V 73 Missed locking the dump and shutdown entry points in the scsi_da driver. END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-18T05:53:50.000000Z K 7 svn:log V 98 MFC: A dash as an argument to the -f option allows lastcomm to read data from the standard input. END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-18T06:29:54.000000Z K 7 svn:log V 121 MFC revision 1.12 Fix the output of percentage figures, which mistakenly were the corresponding ratios. PR: bin/111329 END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-18T08:55:54.000000Z K 7 svn:log V 86 Add export capability through the new -w flag. Discussed in: -arch MFC after: 8 days END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-18T09:39:47.000000Z K 7 svn:log V 78 Complain on write errors. Use correct type for write_text. MFC after: 8 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-18T10:08:24.000000Z K 7 svn:log V 134 On AMD's Geode LX: Force the TSC to run through core-suspension so we can use it as a timecounter. Sponsored by: Soekris Engineering END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-04-18T10:16:43.000000Z K 7 svn:log V 72 Quick kill posix4 directory. Submitted by: rodrigc (BSD.include.dist). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-18T15:22:07.000000Z K 7 svn:log V 209 MFp4: We check for PRIV_VFS_MOUNT already in mount(2) syscall and we don't want to do the check when snapshot is automatically mounted by an unprivileged user doing lookup on a snapshot directory. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-18T15:24:48.000000Z K 7 svn:log V 363 MFp4: Fix automatic snapshot mount when unprivileged user does lookup on a snapshot directory: - Remove PRIV_VFS_MOUNT check - regular users can mount snapshots via lookups on snapshot directory. - Reset mount credential to kcred, so user won't be able to unmount the snapshot. - Reset owner uid. - Unlock vnode in case of a failure. Reported by: simokawa END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-18T16:43:21.000000Z K 7 svn:log V 165 Change the export option from -w (write) to -X. While implementing import it became apparent that write as a mnemonic is ambiguous and confusing. MFC after: 8 days END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-18T17:34:59.000000Z K 7 svn:log V 36 Notes on the acct(5) format switch. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-04-18T18:08:12.000000Z K 7 svn:log V 103 Implement settimeofday() for Linuxulator/amd64. Submitted by: Scot Hetzel (swhetzel at gmail dot com) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-04-18T18:11:32.000000Z K 7 svn:log V 66 style(9) says sizeof's are not be followed by a space. Fix them. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-04-18T18:14:39.000000Z K 7 svn:log V 75 Make tcp_twrespond() use tcp_addoptions() instead of a home grown version. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-04-18T18:20:48.000000Z K 7 svn:log V 74 Break ABI / module compatibility for the upcoming sndbuf_alloc() changes. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-04-18T18:26:41.000000Z K 7 svn:log V 161 sndbuf_alloc() now accept dmaflags argument which will be forwarded to internal bus_dmammem_alloc() for greater flexibility on setting up DMA / page attributes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-04-18T20:12:05.000000Z K 7 svn:log V 82 Fix style(9) and comments. Submitted by: Scot Hetzel (swhetzel at gmail dot com) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-04-18T22:43:39.000000Z K 7 svn:log V 543 Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8). The support for RFC 2640 (UTF8) is optional and rudimentary. The server just advertises its capability to handle UTF-8 file names and relies on its own 8-bit cleanness, as well as on the backward compatibility of UTF-8 with ASCII. So uploaded files will have UTF-8 names, but the initial server contents should be prepared in UTF-8 by hand, no on-the-fly conversion of file names will be done. PR: bin/111714 Submitted by: Zhang Weiwu MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-04-19T01:24:32.000000Z K 7 svn:log V 435 Bump the interrupt storm detection counter to 1000. My slow fileserver gets a bogus irq storm detected when periodic daily kicks off at 3 am and disconnects the disk. Change the print logic to print once per second when the storm is occurring instead of only once. Otherwise, it appeared that something else was causing the errors each night at 3 am since the print only occurred the first time. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-04-19T04:52:47.000000Z K 7 svn:log V 51 Correct two comments. Submitted by: Michael Plass END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-04-19T05:39:54.000000Z K 7 svn:log V 230 Correct contigmalloc2()'s implementation of M_ZERO. Specifically, contigmalloc2() was always testing the first physical page for PG_ZERO, not the current page of interest. Submitted by: Michael Plass PR: 81301 MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-19T05:54:45.000000Z K 7 svn:log V 313 Fix a bug in sendfile(2) when files larger than page size and nbytes=0. When nbytes=0, sendfile(2) should use file size. Because of the bug, it was sending half of a file. The bug is that 'off' variable can't be used for size calculation, because it changes inside the loop, so we should use uap->offset instead. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-04-19T06:01:08.000000Z K 7 svn:log V 101 Add more tests to verify last sendfile(2) breakage: test sending more than a page size and nbytes=0. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-04-19T07:59:30.000000Z K 7 svn:log V 100 Valid error codes for err() and errx() are 1..255. The correct format specifier for ssize_t is %zd. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-04-19T08:02:51.000000Z K 7 svn:log V 618 Fix witness(4) warnings about mutex use. Group mutexes used in hwpmc(4) into 3 "types" in the sense of witness(4): - leaf spin mutexes---only one of these should be held at a time, so these mutexes are specified as belonging to a single witness type "pmc-leaf". - `struct pmc_owner' descriptors are protected by a spin mutex of witness type "pmc-owner-proc". Since we call wakeup_one() while holding these mutexes, the witness type of these mutexes needs to dominate that of "sleepq chain" mutexes. - logger threads use a sleep mutex, of type "pmc-sleep". Submitted by: wkoszek (earlier patch) END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-19T09:18:51.000000Z K 7 svn:log V 10 style nit END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-19T09:38:31.000000Z K 7 svn:log V 125 Loosen return value spec for fputs to be standards compliant so people don't program against our more restrictive behaviour. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-04-19T11:28:43.000000Z K 7 svn:log V 749 - More work on making send lock contention. - Removed free-oqueue cache. - Fix counter for sq entries - Increased the amount of information retained on ASOC_TSN logging on the association. - Made it so with the ASOC_TSN logging on sending or recieving an abort we dump the log. - Went through and added invariant's around some panic's that needed them. - decrements went to atomic_subtact_int instead of add -1 - Removed residual count increment that threw off a strm oq count. - Tracks and complaints if we don't have a LAST fragment and clean up the sp structure. - Track a new stat that counts number of abandoned msgs that happen if you close without reading. - Fix lookup of frag point to be aware of a 0 assoc-id. Reviewed by: gnn END K 10 svn:author V 5 sephe K 8 svn:date V 27 2007-04-19T13:09:57.000000Z K 7 svn:log V 368 - Fix mbuf/node leakage in drivers' raw_xmit(). - For ural(4): o Fix node leakage in ural_start(), if ural_tx_mgt() fails. o Fix mbuf leakage in ural_tx_{mgt,data}(), if usbd_transfer() fails. o In ural_tx_{mgt,data}(), set ural_tx_data.{m,ni} to NULL, if usbd_transfer() fails, so they will not be freed again in ural_stop(). Approved by: sam (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-04-19T13:54:22.000000Z K 7 svn:log V 364 - AC97 quirk / patch cleanups. Most quirks doesn't work in general sense and should only be applied on certain specific card / vendor, hence the addition of ac97_getsubvendor(). - Fix low volume issue on several MSI laptops through ALC655 quirk. Reported/Tested by: Christian Mueller MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-04-19T14:01:04.000000Z K 7 svn:log V 32 Grammer correction from: emaste END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-04-19T14:24:54.000000Z K 7 svn:log V 123 - Add new 'a' and 'j' options into usage Approved by: delphij (mentor, implicit) Forgotten by: stas ('a') and rafan ('j') END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-19T14:28:43.000000Z K 7 svn:log V 204 Split the camisr into per-SIM done queues. This optimizes the locking a little bit and allows for direct dispatch of the doneq from certain contexts that would otherwise face recursive locking problems. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-19T14:45:37.000000Z K 7 svn:log V 35 Zero the CCBs when mallocing them. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-04-19T15:41:00.000000Z K 7 svn:log V 723 Correct two issues in ping6: 1. The static buffer that ping6(8) uses to hold the control data it gets from recvmsg(2) is too small in some cases. 2. When it prints the extra header information it doesn't do any checking to make sure the data it's printing is within the bounds of the supplied buffer. Fix this by: o Increasing the buffer to hold extra headers to 10240 bytes (the minimum according to RFC3542 sec. 20.1) and allocate it dynamically. o In verbose mode, specify a warning if any control data from recvmsg(2) was truncated because the buffer was too small. o When printing the extra headers make sure not to overrun the buffer boundaries. Reviewed By: mlaier PR: kern/99425 MFC After: 1 month END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-04-19T15:48:16.000000Z K 7 svn:log V 442 Make inet6_rth_* family of functions more compliant with RFC3542: 1. CMSG_NXTHDR(mhdr, cmsg) is supposed to dereference cmsg and return the next header in the chain. If cmsg is NULL it should return the first header, behaving essentially like CMSG_FIRSTHDR(). 2. inet6_rth_(space|init|add) should do basic checking on their input to verify that the number of headers (segments) is between 0 and 127 inclusive. MFC-After: 1 month END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-04-19T16:43:30.000000Z K 7 svn:log V 125 Unbreak rev 1.7's getopt usage. The -f switch does not take an argument. The stray ':' was from the defunct '-g' group arg. END K 10 svn:author V 3 dds K 8 svn:date V 27 2007-04-19T17:08:54.000000Z K 7 svn:log V 147 Back-out manual procedure for maintaining compatibility with old accounting files. This functionality will be built-into the corresponding tools. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-04-19T17:14:06.000000Z K 7 svn:log V 216 Oops, fix intsmb(4) attach. Don't overwrite the 'value' holding the interrupt mode with the SMB revision before checking 'value' for a valid interrupt mode. Reported by: Ulrich Spoerlein END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-04-19T17:30:19.000000Z K 7 svn:log V 115 Reword the description of the UTF8 option (-8) so I can swear to myself that I understand it. Bump document date. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-04-19T18:14:33.000000Z K 7 svn:log V 30 Avoid problems with make_dev. END