ƒ¯B77000 217 146 147 155 157 125 146 101 139 263 119 194 168 276 227 122 405 326 182 232 159 142 211 353 292 181 339 199 553 134 209 344 541 161 118 197 156 230 199 138 199 139 216 287 125 262 210 336 386 137 203 317 152 133 133 158 154 141 467 261 290 358 157 178 294 185 131 216 460 170 122 163 172 137 118 174 133 312 173 1356 105 187 127 157 540 231 320 189 237 359 803 384 708 212 508 236 345 199 236 130 137 170 107 285 117 169 155 186 226 184 344 632 141 158 287 163 795 127 223 165 205 399 188 139 168 244 113 176 173 155 123 125 125 151 165 142 272 187 162 146 163 112 186 393 162 431 340 154 185 152 226 471 537 166 140 134 154 257 143 117 312 146 129 219 137 342 147 255 142 569 119 251 219 128 282 299 183 221 269 142 121 243 174 147 3522 394 206 121 305 428 114 459 268 145 293 302 323 209 243 119 134 202 765 116 168 164 252 190 203 184 162 195 124 203 132 165 861 120 K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-22T13:15:30.000000Z K 7 svn:log V 53 Merged from sys/conf/files.i386 revision 1.307.2.10. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-22T13:16:00.000000Z K 7 svn:log V 54 Merged from sys/conf/options.i386 revision 1.132.2.5. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-22T16:55:19.000000Z K 7 svn:log V 62 Minor markup fixup: s/username/groupname/ where appropriate. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-05-22T17:32:02.000000Z K 7 svn:log V 65 M_COPY_PKTHDR has to be done before MCLGET. Obtained from: KAME END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-22T18:10:57.000000Z K 7 svn:log V 31 MALLOC -> malloc, FREE -> free END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2001-05-22T18:42:23.000000Z K 7 svn:log V 49 MFC: new isdn tunables; make file zsh-parseable. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2001-05-22T18:43:48.000000Z K 7 svn:log V 5 MFC: END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-22T18:45:12.000000Z K 7 svn:log V 42 grab the vm mtx around exec_new_vmspace() END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2001-05-22T18:46:53.000000Z K 7 svn:log V 165 MFC: Oops. We don't want the patch, we want the real file. I realized my mistake and left the editor without changing anything. How could I have aborted the commit? END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2001-05-22T18:59:56.000000Z K 7 svn:log V 22 MFC: isdn_screenflags END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-22T19:01:26.000000Z K 7 svn:log V 99 aquire vm mutex in swp_pager_async_iodone. Don't call swp_pager_async_iodone with the mutex held. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2001-05-22T19:05:01.000000Z K 7 svn:log V 71 MFC: replace c89 shell script with executable. Minor man page updates. END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-22T19:42:14.000000Z K 7 svn:log V 181 Don't say ``Enter pause (-1) for redialing when we're using a random interval. Show the calculated random value instead. Suggested by: Bill Richter END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-22T19:42:49.000000Z K 7 svn:log V 132 MFC: Don't say ``Enter pause (-1) for redialing when we're using a random interval. Show the calculated random value instead. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-22T20:41:36.000000Z K 7 svn:log V 30 Mention jakarta-tomcat issues END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-22T21:20:49.000000Z K 7 svn:log V 312 Convert npx interrupts into traps instead of vice versa. This is much simpler for npx exceptions that start as traps (no assembly required...) and works better for npx exceptions that start as interrupts (there is no longer a problem for nested interrupts). Submitted by: original (pre-SMPng) version by luoqi END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-22T22:13:14.000000Z K 7 svn:log V 234 Convert this driver to (ab?)use line disciplines to get the input it needs instead of relying on idiosyncratic hacks in the tty subsystem. Also add module code since this can now be compiled as a module. Silence by: -hackers, -audit END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-22T22:16:18.000000Z K 7 svn:log V 91 Unifdef DEV_SNP; snp(4) no longer requires these ugly hacks. Silence by: -hackers, -audit END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T22:29:35.000000Z K 7 svn:log V 138 New header file. Missed by: Szilveszter Adam David Wolfskill Pointy hat to: grog END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-22T22:56:47.000000Z K 7 svn:log V 68 Add a makefile for snp(4) since it can be compiled as a module now. END K 10 svn:author V 4 dirk K 8 svn:date V 27 2001-05-22T22:57:56.000000Z K 7 svn:log V 49 MFC: Typo: single used mode -> single user mode. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-23T04:37:00.000000Z K 7 svn:log V 118 Add recognition for Toshiba ToPIC-100. Submitted by: Shimodaira Toshio in [bsd-nomads:15589] END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-23T05:06:04.000000Z K 7 svn:log V 260 Add better support for the Ricoh 5C296 and 5C396 chips. These chips have a slightly different 3.3V support than the other clones, so compensate as best we can. Note: 3.3V support is untested since I do not have any 3.3V cards that I know of to test it with. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:21:22.000000Z K 7 svn:log V 198 Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug options if the kernel module is built that way. vinum_info: Check for kernel module debug support, print error message if not present. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:22:19.000000Z K 7 svn:log V 88 vinum_debug: Check for kernel module debug support, print error message if not present. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:23:03.000000Z K 7 svn:log V 245 Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug options if the kernel module is built that way. Remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:24:53.000000Z K 7 svn:log V 105 Remove -DVINUMDEBUG. vinum(8) now always supports debug options if the kernel module is built that way. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:25:45.000000Z K 7 svn:log V 459 Set flag VF_HASDEBUG in vinum_conf to indicate that the module was compiled with debug support. This can be used by userland programs to recognize which ioctls the module supports. As a result, remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module. Replace explicit references to major/minor numbers of vinum superdevice with the VINUM_SUPERDEV macro written for that purpose. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:26:40.000000Z K 7 svn:log V 41 Move external declaration to vinumhdr.h. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:27:15.000000Z K 7 svn:log V 115 Move objflags from vinumvar.h to vinumobj.h in preparation for requiring fewer header files for userland programs. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T05:27:40.000000Z K 7 svn:log V 250 Move objflags from vinumvar.h to vinumobj.h in preparation for requiring fewer header files for userland programs. Remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T09:42:29.000000Z K 7 svn:log V 449 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles. END K 10 svn:author V 8 sumikawa K 8 svn:date V 27 2001-05-23T09:47:24.000000Z K 7 svn:log V 64 MFC: Plug memoly leak in overlaps fragment cases.(rev 1.5->1.6) END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T10:02:22.000000Z K 7 svn:log V 27 Name this module `umapfs'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T10:06:48.000000Z K 7 svn:log V 105 The following modules were renamed: fdesc -> fdescfs portal -> portalfs umap -> umapfs union -> unionfs END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-23T10:26:36.000000Z K 7 svn:log V 61 aquire vm_mutex a little bit earlier to protect a pmap call. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-23T10:28:11.000000Z K 7 svn:log V 134 aquire Giant when playing with the buffercache and doing IO. use msleep against the vm mutex while waiting for a page IO to complete. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-23T10:30:25.000000Z K 7 svn:log V 103 ufs_bmaparray() may block on IO, drop vm mutex and aquire Giant when calling it from the pager routine END K 10 svn:author V 6 olgeni K 8 svn:date V 27 2001-05-23T11:30:54.000000Z K 7 svn:log V 43 Sort package names, no functional changes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T12:37:50.000000Z K 7 svn:log V 107 Fix the range of the returned value. PR: docs/27446 Submitted by: Tadayuki OKADA END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T12:39:09.000000Z K 7 svn:log V 48 MFC: 1.8 (fix the range of the returned value). END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T13:32:32.000000Z K 7 svn:log V 124 Add NO_I4B to avoid building/installing isdn4bsd package. Prompted by: Alexandr Listopad MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T14:58:19.000000Z K 7 svn:log V 195 Rename (after a repo-copy) some mount(8) programs: mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T15:28:53.000000Z K 7 svn:log V 34 Argh, unbreak SHARED=copied case. END K 10 svn:author V 6 pirzyk K 8 svn:date V 27 2001-05-23T15:37:10.000000Z K 7 svn:log V 166 Changed the clnt_perror string in yp_all because it was saying the error came from yp_next PR: bin/13254 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-23T16:34:07.000000Z K 7 svn:log V 112 catch up to i386: - remove Giant for vm related traps - don't hold Giant for MP safe syscalls Reviewed-by: jhb END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T16:49:02.000000Z K 7 svn:log V 244 Backout (almost) revision 1.137 changes. Removal of LSYMSUBDIRS was a regression. The purpose of LSYMSUBDIRS is to export only those /sys headers in the SHARED=symlinks case that are also visible in the SHARED=copies case. Requested by: bde END K 10 svn:author V 6 pirzyk K 8 svn:date V 27 2001-05-23T17:12:09.000000Z K 7 svn:log V 290 Changed 'blocks' to 'usage' because we may not be getting quotas from a ufs filesystem and it may be reporting in K instead of 512b blocks. This is true when using a vxfs filesystem (on a solaris box) for instance. PR: bin/14545 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T17:22:38.000000Z K 7 svn:log V 46 Document new /usr/include/fs include subdirs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-23T17:42:02.000000Z K 7 svn:log V 111 MFC: 1.40 (content cleanup), 1.41 (markup cleanup), 1.42 (/usr/include/fs/smbfs and /usr/include/netsmb). END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T17:48:20.000000Z K 7 svn:log V 224 Change the way deletes are managed in DEVFS. This fixes a number of warnings relating to removed cloned devices. It also makes it possible to recreate deleted devices with mknod(2). The major/minor arguments are ignored. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T17:51:43.000000Z K 7 svn:log V 60 Remove the empty uscannerioctl() and use noioctl() instead. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T17:53:24.000000Z K 7 svn:log V 41 Use the correct enums in struct sysinit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T17:54:58.000000Z K 7 svn:log V 41 Use '+' not '|' to add PCATCH to tsleep. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-23T18:21:36.000000Z K 7 svn:log V 63 Note that sys.mk is read before any other file (even Makefile) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-23T18:23:53.000000Z K 7 svn:log V 59 MFC: rev 1.45 (note sys.mk is read before any other files) END K 10 svn:author V 3 des K 8 svn:date V 27 2001-05-23T18:52:02.000000Z K 7 svn:log V 49 Add some error codes that were added in RFC2616. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T19:02:50.000000Z K 7 svn:log V 374 syslogd gets kernel log messages only once every 30 seconds or at the top of the minute, whichever comes first. It seems logtimeout() is only called once after the kernel log is opened and then never again after that. So I guess syslogd only gets kernel log messages by virtue of syncer(4)'s flushes ...? PR: 27361 Submitted by: pkern@utcc.utoronto.ca MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T19:25:14.000000Z K 7 svn:log V 168 Vlan tags are 12 bits, mask off anything above since the chip doesn't seem to do so for us. PR: 27567 Submitted by: Koji HINO hino@ccm.cl.nec.co.jp MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T19:38:26.000000Z K 7 svn:log V 197 Add in assertions to ensure that we always call msleep or mawait with either a timeout or a held mutex to detect unprotected infinite sleeps that can easily lead to deadlock. Submitted by: alfred END K 10 svn:author V 3 dfr K 8 svn:date V 27 2001-05-23T19:44:17.000000Z K 7 svn:log V 265 Make sure that all resource allocation is handled in the pcib device, not the chipset. This is already how the multi-hose systems handle resource allocation and it fixes a bug where dense and bwx memory allocations were not handled properly. Reviewed by: gallatin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T19:51:12.000000Z K 7 svn:log V 65 Don't release the vm lock just to turn around and grab it again. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T19:52:23.000000Z K 7 svn:log V 86 Set the phys_pager_alloc_lock to 1 when it is acquired so that it is actually locked. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T20:30:45.000000Z K 7 svn:log V 201 fdformat prompts for user confirmation. it exits 0 if the user doesn't confirm, which needlessly complicates scripts. PR: 15339 Submitted by: richard winkel rich@math.missouri.edu MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T20:33:54.000000Z K 7 svn:log V 93 Polish getnano{up}*time() prototypes. PR: 15908 Submitted by: Kelly Yancey kbyanc@posi.net END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-05-23T20:41:17.000000Z K 7 svn:log V 39 Fix memory leak. Submitted by: itojun END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2001-05-23T20:44:54.000000Z K 7 svn:log V 118 Increment mbstat.m_mpfail, not mbstat.m_mcfail, when m_pullup() fails. This slipped in accidently a few commits back. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T21:01:01.000000Z K 7 svn:log V 367 When a game ends that makes the top 10, the function insert_score in score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file. PR: 13278 Submitted by: Mark W. Krentel krentel@dreamscape.com END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-05-23T21:34:01.000000Z K 7 svn:log V 77 MFC: Merge supported devices. (1.182) # Raytheon Raylink 802.11 Wireless LAN END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T21:41:49.000000Z K 7 svn:log V 30 MFC: OSAK 4.1 based firmware. END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-05-23T21:48:08.000000Z K 7 svn:log V 70 MFC: Additions to support increased functionality in ray driver (1.4) END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-05-23T21:53:50.000000Z K 7 svn:log V 79 MFC: 1.21 Use constants in for scanning the memory window with. END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-05-23T21:56:40.000000Z K 7 svn:log V 44 MFC: support for -I option (pccardd.c 1.12) END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-05-23T21:59:23.000000Z K 7 svn:log V 25 MFC: document -I option. END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-05-23T22:01:52.000000Z K 7 svn:log V 81 MFC: Only set memory window offset for ed cards (1.66) Add -I option (1.64) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:05:08.000000Z K 7 svn:log V 41 Lock the VM while twiddling the vmspace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:06:47.000000Z K 7 svn:log V 219 - Lock the VM when initializing the vmspace for proc0. - Don't bother releasing Giant while doing a lookup on the vm_map of initproc while starting up init. We have to grab it again right after the lookup anyways. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:09:18.000000Z K 7 svn:log V 81 Take a more conservative approach and still lock Giant around VM faults for now. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-05-23T22:10:55.000000Z K 7 svn:log V 1260 Tweak the xmphy driver a little bit based on something I learned about the built-in 1000baseX interface in the Level 1 LXT1001 chip. The Level 1 PHY comes up with the isolate bit in the control register set by default, but it also has the autonegotiate bit set. When you tell the xmphy driver to select IFM_AUTO mode, it sees that the autoneg bit is already on, and thus doesn't bother updating the control register. However this means that the isolate bit is never turned off (unless you manually select 1000baseSX full or half duplex mode, which does result in the control register being modified and the ISO bit being turned off). This subtle and unusual behavioral difference stopped me from being able to receive packets on the SMC9462TX card for several days, since isolating the PHY disconnects it from the MAC's data interface. The fix is to omit the 'is the autoneg big set?' test, since it doesn't really provide much of an optimization anyway. This commit also updates the xmphy driver to support the Jato/Level 1 internal PHY. (I'm not sure how Jato Technologies is related to Level 1: all I know is the OUI from the PHY ID registers maps to Jato in the OUI database.) This will be used once I add the if_lge driver to support the LXT10010 chip. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-05-23T22:11:25.000000Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:13:10.000000Z K 7 svn:log V 95 Acquire Giant around vm_map_remove() inside of the obreak() syscall for vm_object_terminate(). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-23T22:13:58.000000Z K 7 svn:log V 32 lock vm while playing with pmap END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-23T22:17:28.000000Z K 7 svn:log V 62 pmap_mapdev needs the vm_mtx, aquire it if not already locked END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:17:43.000000Z K 7 svn:log V 447 - Obtain Giant in mmap() syscall while messing with file descriptors and vnodes. - Fix an old bug that would leak a reference to a fd if the vnode being mmap'd wasn't of type VREG or VCHR. - Lock Giant in vm_mmap() around calls into the VM that can call into pager routines that need Giant or into other VM routines that need Giant. - Replace code that used a goto to jump around the else branch of a test to use an else branch instead. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:20:29.000000Z K 7 svn:log V 138 Don't acquire/release Giant around some of the places that need it in spec_getpages(). Instead, assert that Giant is held by the caller. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:24:49.000000Z K 7 svn:log V 227 - Always call bfreekva() w/o vm_mtx held. - Always call vfs_setdirty() with vm_mtx held. - Fix an old comment: vm_hold_unload_pages is called vm_hold_free_pages() nowadays. - Always call vm_hold_free_pages() w/o vm_mtx held. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:26:05.000000Z K 7 svn:log V 97 Assert Giant is held by the caller rather than getting it and releasing it in getpages/putpages. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:27:52.000000Z K 7 svn:log V 144 Assert Giant is held for the device pager alloc and getpages methods since we call the mmap method of the cdevsw of the device we are mmap'ing. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:31:15.000000Z K 7 svn:log V 266 - Fix the sw_alloc_interlock to actually lock itself when the lock is acquired. - Assert Giant is held in the strategy, getpages, and putpages methods and the getchainbuf, flushchainbuf, and waitchainbuf functions. - Always call flushchainbuf() w/o the VM lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:35:45.000000Z K 7 svn:log V 710 - Lock the VM around the pmap_swapin_proc() call in faultin(). - Don't lock Giant in the scheduler() function except for when calling faultin(). - In swapout_procs(), lock the VM before the proccess to avoid a lock order violation. - In swapout_procs(), release the allproc lock before calling swapout(). We restart the process scan after swapping out a process. - In swapout_procs(), un #if 0 the code to bump the vmspace reference count and lock the process' vm structures. This bug was introduced by me and could result in the vmspace being free'd out from under a running process. - Fix an old bug where the vmspace reference count was not free'd if we failed the swap_idle_threshold2 test. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:38:00.000000Z K 7 svn:log V 291 - Add lots of vm_mtx assertions. - Add a few KTR tracepoints to track the addition and removal of vm_map_entry's and the creation adn free'ing of vmspace's. - Adjust a few portions of code so that we update the process' vmspace pointer to its new vmspace before freeing the old vmspace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:42:10.000000Z K 7 svn:log V 615 - Assert that the vm lock is held for all of _vm_object_allocate(). - Restore the previous order of setting up a new vm_object. The previous had a small bug where we zero'd out the flags after we set the OBJ_ONEMAPPING flag. - Add several asserts of vm_mtx. - Assert Giant is held rather than locking and unlocking it in a few places. - Add in some #ifdef objlocks code to lock individual vm objects when vm objects each have their own lock someday. - Don't bother acquiring the allproc lock for a ddb command. If DDB blocked on the lock, that would be worse than having an inconsistent allproc list. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-05-23T22:47:16.000000Z K 7 svn:log V 116 A feature to allow one to telnet to a unix domain socket. Obtained from: Lyndon Nerenberg END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:48:28.000000Z K 7 svn:log V 415 - Add in several asserts of vm_mtx. - Assert Giant in vm_pageout_scan() for the vnode hacking that it does. - Don't hold vm_mtx around vget() or vput(). - Lock Giant when calling vm_pageout_scan() from the pagedaemon. Also, lock curproc while setting the P_BUFEXHAUST flag. - For now we still hold Giant for all of the vm_daemon. When process limits are locked we will be only need Giant for swapout_procs(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:51:23.000000Z K 7 svn:log V 143 - Assert Giant is held in the vnode pager methods. - Lock the VM while walking down a vm_object's backing_object list in vnode_pager_lock(). END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-05-23T22:54:07.000000Z K 7 svn:log V 249 A feature to allow one to telnet to a unix domain socket. (MFC from non-crypto version) Also update the crypto telnet's man page to reflect other options ported from the non-crypto version. Obtained from: Lyndon Nerenberg END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:55:13.000000Z K 7 svn:log V 106 Don't release Giant around vm_oject_page_clean() in fsync() as the pager putpages called will need Giant. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-23T22:58:09.000000Z K 7 svn:log V 143 Don't acquire Giant just to call trap_fatal(), we are about to panic anyway so we'd rather see the printf's then block if the system is hosed. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T23:01:37.000000Z K 7 svn:log V 38 We don't need to include END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-23T23:03:00.000000Z K 7 svn:log V 45 define _KERNEL before including END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T23:24:05.000000Z K 7 svn:log V 77 Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T23:25:50.000000Z K 7 svn:log V 14 Remove cruft. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-23T23:27:08.000000Z K 7 svn:log V 191 *sigh* We can't remove VINUMDEBUG entirely, since we include kernel header files and sources which depend on it. For userland, define VINUMDEBUG here. Also remove a now superfluous #ifdef. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-23T23:33:08.000000Z K 7 svn:log V 26 Build snp(4) as a module. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-23T23:38:05.000000Z K 7 svn:log V 78 Correct style bugs with regards to long lines and comments. Reviewed by: bde END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-05-24T00:14:19.000000Z K 7 svn:log V 60 Oops, forgot the 'u' in the getopt for the previous commit. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-24T00:43:44.000000Z K 7 svn:log V 95 Add snp_olddisc member to struct snoop; the linedisc'ized snp(4) uses this. Pointy hat to: dd END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-24T03:50:55.000000Z K 7 svn:log V 134 Use pw(8) instead of grep'ing through /etc/passwd. This fixes automatic filling of the "Originator" field for NIS users. PR: 24372 END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-24T03:52:32.000000Z K 7 svn:log V 93 Spelling police: insure -> ensure PR: 27600 Submitted by: Iain Templeton END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-24T04:03:28.000000Z K 7 svn:log V 251 Move getb1 and putb1 from pcic_isa.c to pcic.c. Rename them to pcic_{get,put}b_io. There are some pci bridges (the CL-PD6729 and maybe others) that do not have memory mapped registers, so we'll need these in both places. Declare them in pcicvar.h. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-24T04:24:22.000000Z K 7 svn:log V 539 Do what we should have done a long time ago: o If the class is PCIC_BRIDGE, subclass is PCIS_BRIDGE_PCMCIA and programming interface is 0, assume that it is a generic PCMCIA PCI chip we can program. I don't think there are any of these that we don't know about, but you never know. o If the class is PCIC_BRIDGE, subclass is PCIS_BRIDGE_CARDBUS and programming interface is 0, assume that it is a YENTA cardbus bridge that we know how to cope with. There are likely some cardbus bridges that haven't it made it in here yet. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-05-24T06:24:06.000000Z K 7 svn:log V 47 Remove DEV_SNP -> opt_snp.h Forgotten by: dd END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-05-24T06:26:18.000000Z K 7 svn:log V 64 Produce a config-time warning about EXT2FS and GPL_MATH_EMULATE END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-24T06:54:48.000000Z K 7 svn:log V 194 Use bus_space functions rather than inb/outb. Add defines for PCIC_INDEX and PCIC_DATA offsets. Change PCIC_INDEX_0 to PCIC_PORT_0 Add define for PCIC_NPORT. Document why the vadem probe works. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-24T07:22:08.000000Z K 7 svn:log V 68 Fix $FreeBSD$ style committer messed up in rev 1.7 for some reason. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-05-24T07:22:27.000000Z K 7 svn:log V 699 This patch implements O_DIRECT about 80% of the way. It takes a patchset Tor created a while ago, removes the raw I/O piece (that has cache coherency problems), and adds a buffer cache / VM freeing piece. Essentially this patch causes O_DIRECT I/O to not be left in the cache, but does not prevent it from going through the cache, hence the 80%. For the last 20% we need a method by which the I/O can be issued directly to buffer supplied by the user process and bypass the buffer cache entirely, but still maintain cache coherency. I also have the code working under -stable but the changes made to sys/file.h may not be MFCable, so an MFC is not on the table yet. Submitted by: tegge, dillon END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-05-24T07:25:50.000000Z K 7 svn:log V 35 MFC (1.30): Add a missing free(3). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-24T08:47:42.000000Z K 7 svn:log V 127 Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files. Do the same for the non-wcs*/wmem* files while I'm here. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T08:47:57.000000Z K 7 svn:log V 74 Backout rev. 1.22 as the change that caused problems was also backed out. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-24T09:17:52.000000Z K 7 svn:log V 112 Add a -A option to ping which beeps when packets are lost. PR: 11818 Submitted by: Marc Evans marc@destek.net END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-24T09:27:02.000000Z K 7 svn:log V 306 If the user exists abruptly, tip's "tipout" child can hang around forever. Since the lock file doesn't get cleaned up, this prevents other users from accessing the target device. (phk adds: Man, this has been bugging me for YEARS!) PR: 12528 Submitted by: Craig Leres leres@ee.lbl.gov MFC after: 1 week END K 10 svn:author V 3 nik K 8 svn:date V 27 2001-05-24T09:28:05.000000Z K 7 svn:log V 96 Document the -l option. PR: docs/27440 Submitted by: Flix-Antoine Paradis END K 10 svn:author V 3 nik K 8 svn:date V 27 2001-05-24T09:28:59.000000Z K 7 svn:log V 47 Remove the "undocumented" comment in re lflag. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-24T09:33:08.000000Z K 7 svn:log V 76 Restrict even further what parts of can be seen from userland. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-24T11:18:32.000000Z K 7 svn:log V 150 Update boot[12] program to compile ELF binary. Submitted by: Nobuyuki Koganemaru and kawanobe@st.rim.or.jp (Kawanobe Koh) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-24T11:19:43.000000Z K 7 svn:log V 20 (Re-)enabled boot2. END K 10 svn:author V 5 markm K 8 svn:date V 27 2001-05-24T12:20:03.000000Z K 7 svn:log V 82 MFC: Blowfish password hashing scheme (From OpenBSD) and remove the dlsym() hack. END K 10 svn:author V 3 dcs K 8 svn:date V 27 2001-05-24T12:33:20.000000Z K 7 svn:log V 81 MFC: 1.24, 1.25, replace functional bugs of ctype-ish functions with style bugs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T13:13:56.000000Z K 7 svn:log V 64 Missed one mount_null(8) -> mount_nullfs(8) in previous commit. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T13:15:49.000000Z K 7 svn:log V 32 mount_portal -> mount_portalfs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T13:17:47.000000Z K 7 svn:log V 34 mount_null(8) -> mount_nullfs(8). END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T13:20:41.000000Z K 7 svn:log V 34 mount_umap(8) -> mount_umapfs(8). END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T13:23:54.000000Z K 7 svn:log V 60 mount_fdesc -> mount_fdescfs mount_portal -> mount_portalfs END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T15:20:11.000000Z K 7 svn:log V 74 Actually rename FDESC, PORTAL, UMAP and UNION file systems. OK'ed by: bp END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-24T16:52:13.000000Z K 7 svn:log V 50 Remove vestiges of the old, broken sound drivers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-24T17:01:51.000000Z K 7 svn:log V 179 Add a new kernel option 'BLEED' to be used for code that is still under development but is being developed in the tree for whatever reason. Not objected to by: peter, jlemon END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-24T17:16:06.000000Z K 7 svn:log V 93 MFC: Add ip4 as a possible upperspec This will be superceeded by the next vendor import END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-24T17:17:44.000000Z K 7 svn:log V 68 MFC: Mention that ip4, icmp and icmp6 are possible upperspec values END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-24T17:42:01.000000Z K 7 svn:log V 55 MFC: (rev. 1.13, 1.16) Document all net.inet.tcp MIBs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-24T18:04:29.000000Z K 7 svn:log V 71 Stick VM syscalls back under Giant if the BLEED option is not defined. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-24T18:06:22.000000Z K 7 svn:log V 17 whitespace/style END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-24T18:19:00.000000Z K 7 svn:log V 94 Oops. Unremove vestiges of the old, broken sound drivers. They are now used in new drivers. END K 10 svn:author V 5 markm K 8 svn:date V 27 2001-05-24T18:35:52.000000Z K 7 svn:log V 298 Add the "auth_as_self" option to the pam_unix module (there is no reason not to add it to others later). This causes the pam_unix module to check the user's _own_ password, not the password of the account that the user is authenticating into. This will allow eg: WHEELSU type behaviour from su(1). END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-05-24T19:00:22.000000Z K 7 svn:log V 70 NetBSD's inetd uses different syntex from FreeBSD's in faith support. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-24T19:29:15.000000Z K 7 svn:log V 335 Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints. The STLport will probably become broken again, but I'll work on fixing it later. I wish someone would explain why the NetBSD Cirtus branch has the types in their stddef.h... Requested by: bde, ru PR: 27606 Submitted by: Naohiko Tsuji END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-24T19:32:09.000000Z K 7 svn:log V 244 MFC: back out wint_t and mbstate_t as I am tired of the complaints. The STLport will probably become broken again, but I'll work on fixing it later. I wish someone would explain why the NetBSD Cirtus branch has the types in their stddef.h... END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-05-24T20:08:02.000000Z K 7 svn:log V 62 MFC 1.8->1.9, 1.13->1.14: Improve language and code examples. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-24T20:27:16.000000Z K 7 svn:log V 93 Don't take the detour around devsw() to find out if the proto-cdevsw is already initialized. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-24T20:28:06.000000Z K 7 svn:log V 60 Don't rely on cdevsw_add() when we hack about with dev_t's. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2001-05-24T20:50:03.000000Z K 7 svn:log V 128 MFC: Allow users to add local Makefile targets. Revision Changes Path 1.17 +6 -1 src/etc/mail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2001-05-24T20:51:06.000000Z K 7 svn:log V 373 MFC: Make the default .mc file be `hostname`.mc if SENDMAIL_MC make.conf knob is not set. This allows admins to create a per-machine configuration file while leaving the freebsd.mc template pristine. Provide a rule to create `hostname`.mc from freebsd.mc if it doesn't exist. Revision Changes Path 1.16 +12 -3 src/etc/mail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2001-05-24T20:52:13.000000Z K 7 svn:log V 439 MFC: String operations could silently truncate long strings, leaving the output corrupted. Mark's patch fixes this be removing the MAXTOK limitation on substring operations and allowing the putback buffer size to be the limiting factor. If the putback buffer size if reached, m4 gives an error instead of silently truncating the string. Revision Changes Path 1.12 +9 -9 src/usr.bin/m4/eval.c END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T01:09:43.000000Z K 7 svn:log V 71 Add ability to make the console (zs) device for AS8[24]00 (TurboLaser) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T01:43:42.000000Z K 7 svn:log V 45 Turn on TCP_EXTENSIONS (rfc1323) by defualt. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T01:46:39.000000Z K 7 svn:log V 39 I didn't fix the comment in rev 1.107. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T01:50:19.000000Z K 7 svn:log V 59 MFC: rev. 1.107-8 (TCP_EXTENSIONS (rfc1323) on by defualt) END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T02:24:15.000000Z K 7 svn:log V 164 Add support for card "D" "Link DWL-650 11Mbps WLAN Card" which is the most amusing CIS mistake I've seen in some time. # I'm using this card to make this commit! END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T04:27:48.000000Z K 7 svn:log V 48 RFC 1323 (TCP extensions) is now on by default. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T05:22:00.000000Z K 7 svn:log V 25 Minor name space issues. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T05:25:43.000000Z K 7 svn:log V 219 Add intrack field to each slot. This can be used to acknowledge interrupts on other buses. Right now it isn't used, but will be for the pci attachment. # Add copyright by me for this year since I've changed so much. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-25T07:32:58.000000Z K 7 svn:log V 55 Make it clear that -P is the default. PR: docs/27629 END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-25T07:34:53.000000Z K 7 svn:log V 38 MFC: Document that -P is the default. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-25T08:14:14.000000Z K 7 svn:log V 127 - sys/msdosfs moved to sys/fs/msdosfs - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-05-25T08:33:40.000000Z K 7 svn:log V 41 MFC: by default link make(1) statically. END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-05-25T08:43:30.000000Z K 7 svn:log V 250 Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi) Add a CAPI (hardware independent) driver i4bcapi(4) and hardware driver iavc (4) to support active CAPI-based BRI and PRI cards (currently AVM B1 and T1 cards) to isdn4bsd. END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-05-25T08:45:10.000000Z K 7 svn:log V 56 update to include the latest modifications to isdn4bsd. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-25T09:06:52.000000Z K 7 svn:log V 162 Use the name given to the dev_t, rather than creating our own. This makes it possible to give sensible information for /dev/fd.720 and similar "special" devices. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-25T09:07:23.000000Z K 7 svn:log V 50 Don't lie to diskerr() now that it listens to us. END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-25T09:24:50.000000Z K 7 svn:log V 475 Add the 'next' and 'prev' commands (aliased to '+' and '-') which skip forward or backward by a specified number of tracks (defaulting to 1). Use strvisx() to display the media catalog in case it contains unprintable characters. Sort includes. Based on two patches submitted by PR, plus style fixes and other changes of my own. Submitted by: Seth Kingsley , Maxime Henrion PR: bin/22672, bin/26962 MFC After: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-25T09:54:38.000000Z K 7 svn:log V 28 mdoc(7) police: Fix markup. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T10:36:46.000000Z K 7 svn:log V 155 + Turn on SMP support by default (yes an Alpha SMP kernel works on uniprocessor systems, aren't Alpha's neat :-)) + Add example KTR (debugging) options. END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-25T12:11:02.000000Z K 7 svn:log V 124 Mention that ppp.conf.isdn isn't appropriate for external TAs Add a section to ppp.conf.sample that is. MFC after: 3 weeks END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-05-25T12:18:47.000000Z K 7 svn:log V 37 update isdn4bsd related information. END K 10 svn:author V 4 alex K 8 svn:date V 27 2001-05-25T12:27:00.000000Z K 7 svn:log V 188 This script can control the state of your ISDN line. It counts how many scripts/users currently use the ISDN line and uses "ifconfig down" if noone uses it any more. Not objected by: hm END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-25T12:27:40.000000Z K 7 svn:log V 207 MFC: - fix DOS functions 4c, 0a, 51 - implement file truncation - fix boot order - fix slice handling - add type 6 as legal systemID - update BIOS time PR: 15528 15531 15547 20925 END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-05-25T13:04:58.000000Z K 7 svn:log V 92 Submitted by: phk Add the V.21 modem emulator code written by phk from the old i4b tarball. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-25T13:23:42.000000Z K 7 svn:log V 128 Make the PTY drivers cloning algorithm create "CHEAPCLONE" dev_t, so that some twit cannot allocate all 256 PTY's with "ls -l". END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-05-25T13:25:59.000000Z K 7 svn:log V 177 Add the contributed directory from the i4b tarball and the files from it which would be nice to have. Move isdnd_acct and isdnctl to the contrib directory where they belong to. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-25T13:32:53.000000Z K 7 svn:log V 50 Make if_tun's clone create SI_CHEAPCLONE devices. END K 10 svn:author V 3 dcs K 8 svn:date V 27 2001-05-25T14:18:55.000000Z K 7 svn:log V 29 MFC: 1.26, s/Cthulu/Cthulhu/ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2001-05-25T15:05:00.000000Z K 7 svn:log V 147 MFC: rev 1.16 Fix the rmuser script to correctly determine if a user does not exist. PR: 26674 Submitted by: Anton Berezin END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-05-25T16:05:22.000000Z K 7 svn:log V 79 Fix DMA on machines with more than 128MB. Obtained from: cg MFC after: 5 days END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-05-25T16:16:55.000000Z K 7 svn:log V 53 MFC rev 1.10: include the Power Control page (0x1a). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-05-25T16:59:11.000000Z K 7 svn:log V 3424 o Merge contents of struct pcred into struct ucred. Specifically, add the real uid, saved uid, real gid, and saved gid to ucred, as well as the pcred->pc_uidinfo, which was associated with the real uid, only rename it to cr_ruidinfo so as not to conflict with cr_uidinfo, which corresponds to the effective uid. o Remove p_cred from struct proc; add p_ucred to struct proc, replacing original macro that pointed. p->p_ucred to p->p_cred->pc_ucred. o Universally update code so that it makes use of ucred instead of pcred, p->p_ucred instead of p->p_pcred, cr_ruidinfo instead of p_uidinfo, cr_{r,sv}{u,g}id instead of p_*, etc. o Remove pcred0 and its initialization from init_main.c; initialize cr_ruidinfo there. o Restruction many credential modification chunks to always crdup while we figure out locking and optimizations; generally speaking, this means moving to a structure like this: newcred = crdup(oldcred); ... p->p_ucred = newcred; crfree(oldcred); It's not race-free, but better than nothing. There are also races in sys_process.c, all inter-process authorization, fork, exec, and exit. o Remove sigio->sio_ruid since sigio->sio_ucred now contains the ruid; remove comments indicating that the old arrangement was a problem. o Restructure exec1() a little to use newcred/oldcred arrangement, and use improved uid management primitives. o Clean up exit1() so as to do less work in credential cleanup due to pcred removal. o Clean up fork1() so as to do less work in credential cleanup and allocation. o Clean up ktrcanset() to take into account changes, and move to using suser_xxx() instead of performing a direct uid==0 comparision. o Improve commenting in various kern_prot.c credential modification calls to better document current behavior. In a couple of places, current behavior is a little questionable and we need to check POSIX.1 to make sure it's "right". More commenting work still remains to be done. o Update credential management calls, such as crfree(), to take into account new ruidinfo reference. o Modify or add the following uid and gid helper routines: change_euid() change_egid() change_ruid() change_rgid() change_svuid() change_svgid() In each case, the call now acts on a credential not a process, and as such no longer requires more complicated process locking/etc. They now assume the caller will do any necessary allocation of an exclusive credential reference. Each is commented to document its reference requirements. o CANSIGIO() is simplified to require only credentials, not processes and pcreds. o Remove lots of (p_pcred==NULL) checks. o Add an XXX to authorization code in nfs_lock.c, since it's questionable, and needs to be considered carefully. o Simplify posix4 authorization code to require only credentials, not processes and pcreds. Note that this authorization, as well as CANSIGIO(), needs to be updated to use the p_cansignal() and p_cansched() centralized authorization routines, as they currently do not take into account some desirable restrictions that are handled by the centralized routines, as well as being inconsistent with other similar authorization instances. o Update libkvm to take these changes into account. Obtained from: TrustedBSD Project Reviewed by: green, bde, jhb, freebsd-arch, freebsd-audit END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-25T17:08:22.000000Z K 7 svn:log V 300 New release notes: O_DIRECT flag for open(2) and fcntl(2), RFC 1323 enabled by default for TCP, ipfw(8) -d, Makefile WARNS, boot-time enable of background_fsck, ping(8) -A, vidcontrol(1) -p, telnet(1) -u, default vinum(8) stripe size change to 279KB, OpenSSH 0.9.6. MFCs noted: smbfs kernel part. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-05-25T17:16:07.000000Z K 7 svn:log V 111 David kindly added the 'zs0' to /dev/MAKEDEV to make TurboLaser users happy. Submitted by: obrien@freebsd.org END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-25T17:25:47.000000Z K 7 svn:log V 28 MF*.TXT: isdn4bsd updates. END K 10 svn:author V 3 jkh K 8 svn:date V 27 2001-05-25T17:55:39.000000Z K 7 svn:log V 212 Take pcm (audio) back out of GENERIC; there appears to be some concensus, most notably among the maintainers, that it's better loaded as a module. Finally-pushed-over-the-edge-by-the-anguished-cries-of: rwatson END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-25T18:01:34.000000Z K 7 svn:log V 334 RELNOTESng is now the default for -CURRENT release builds. (Floppy images get TXT renderings only; CDROM and FTP areas get TXT and HTML.) Remove the old *.TXT release documentation files, as they have been subsumed into RELNOTESng. The new layout will greatly facilitate their maintenence and help keep them internally consistent. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T18:03:07.000000Z K 7 svn:log V 22 Update copyright info END K 10 svn:author V 3 tmm K 8 svn:date V 27 2001-05-25T18:24:52.000000Z K 7 svn:log V 366 Add a check to determine whether extended attributes have been initialized on the file system before trying to grab the lock of the per-mount extattr structure, as this lock is unitialized in that case. This is needed because ufs_extattr_vnode_inactive is called from ufs_inactive, which is also used by EA-unaware file systems such as ext2fs. Reviewed by: rwatson END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T18:28:49.000000Z K 7 svn:log V 175 Migrate from unit based to dev base. Don't save unit number, but do save dev. Convert all uses of unit to dev as appropriate. Minor comment fixes to pcic_softc definition. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T18:49:08.000000Z K 7 svn:log V 50 JHB would prefer the KTR examples not be in here. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T19:00:07.000000Z K 7 svn:log V 197 Teach gcc about '%+' so it will not warn when using '%+' in a format string when using strftime(), since our libc supports it. PR: 26827 Submitted by: Marc Olzheim END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T19:01:34.000000Z K 7 svn:log V 206 MFC: gcc.295 rev 1.12 Teach gcc about '%+' so it will not warn when using '%+' in a format string when using strftime(), since our libc supports it. PR: 26827 Submitted by: Marc Olzheim END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T19:12:58.000000Z K 7 svn:log V 230 Separate out pci cardbus bridge definitions to a common file for use by both OLDCARD and NEWCARD. # didn't make the tables the same because oldcard supports more devices than # newcard and newcard's 16-bit stuff needs some work. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T19:22:36.000000Z K 7 svn:log V 116 Move to using the common device list. Move to table driven probing of these devices since we have such a long list. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-25T19:23:04.000000Z K 7 svn:log V 150 Add vm locking to sendfile(2) and sf_buf_free(). Reported by: Tamiji Homma Tested by: Tamiji Homma END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-25T19:24:58.000000Z K 7 svn:log V 27 Fix a minor formatting nit END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-05-25T20:33:06.000000Z K 7 svn:log V 39 track the One True Architecture (i386) END K 10 svn:author V 4 eric K 8 svn:date V 27 2001-05-25T20:42:40.000000Z K 7 svn:log V 108 Add warnings about trusting user-supplied data. Reviewed by: ru Approved by: murray Obtained from: OpenBSD END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T20:51:22.000000Z K 7 svn:log V 669 The standard Xterm geometry is 80x24, not 80x_65_. In the past 2 months or so, after rlogining into another host, the environment has the geometry wrong. Peter suggested that this behavior change was most likely caused by the PAM stuff that changed to run a proper session with a forked child. And that for some reason the window size is no longer being transferred via an OOB message on the socket. This change fixes my problem and seems to be a good stopgap measure until someone has time to ktrace/ktrace -i inetd to catch all the child processes it spawns while doing an rlogin and change window size a few times to see how far the change messages are getting. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-25T20:56:28.000000Z K 7 svn:log V 19 make this compile. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-25T21:03:40.000000Z K 7 svn:log V 71 catch up to i386: Don't acquire Giant just to print the trap and panic END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-05-25T21:46:22.000000Z K 7 svn:log V 69 Include elf32.h and elf64.h to be more code compatable with Solaris. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2001-05-25T23:10:27.000000Z K 7 svn:log V 159 Fix the error buffer passed to kvm_openfiles to have a length of _POSIX2_LINE_MAX as required. While being there, wrap an overly long line. MFC after: 3 days END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-25T23:15:05.000000Z K 7 svn:log V 97 Mark error() as __printflike() and fix a non-exploitable format string error. MFC after: 1 week END K 10 svn:author V 3 tmm K 8 svn:date V 27 2001-05-25T23:36:09.000000Z K 7 svn:log V 110 Fix the error buffer passed to kvm_openfiles to have a correct length of _POSIX2_LINE_MAX. MFC after: 3 days END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-25T23:40:58.000000Z K 7 svn:log V 91 List new directories created under share/examples/isdn/* in order to unbreak installworld. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2001-05-25T23:42:08.000000Z K 7 svn:log V 70 MFC of rev. 1.2: nfsstat hasn't needed setgid kmem for some time now. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2001-05-25T23:51:13.000000Z K 7 svn:log V 102 MFC of rev. 1.17: nfsstat is no longer setgid kmem, so there is no need to give up setgid privileges. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-25T23:52:26.000000Z K 7 svn:log V 31 Update comments on RELNOTESng. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2001-05-26T00:02:13.000000Z K 7 svn:log V 110 Fix the error buffer passed to kvm_openfiles to have a correct length of _POSIX2_LINE_MAX. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2001-05-26T06:01:43.000000Z K 7 svn:log V 38 Update reality in the strings comment END K 10 svn:author V 3 jkh K 8 svn:date V 27 2001-05-26T08:04:34.000000Z K 7 svn:log V 73 Remove pcm hints here now that it's gone from GENERIC. Reminded-by: bde END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-26T08:27:58.000000Z K 7 svn:log V 768 Create a general facility for making dev_t's depend on another dev_t. The dev_depends(dev_t, dev_t) function is for tying them to each other. When destroy_dev() is called on a dev_t, all dev_t's depending on it will also be destroyed (depth first order). Rewrite the make_dev_alias() to use this dependency facility. kern/subr_disk.c: Make the disk mini-layer use dependencies to make sure all relevant dev_t's are removed when the disk disappears. Make the disk mini-layer precreate some magic sub devices which the disk/slice/label code expects to be there. kern/subr_disklabel.c: Remove some now unneeded variables. kern/subr_diskmbr.c: Remove some ancient, commented out code. kern/subr_diskslice.c: Minor cleanup. Use name from dev_t instead of dsname() END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-26T09:26:17.000000Z K 7 svn:log V 26 MFC: Correct a diagnostic END