ƒ®1127000 223 148 183 119 573 122 115 129 309 136 193 178 109 279 217 175 185 154 141 124 319 272 116 145 144 523 188 444 122 308 152 300 360 173 140 495 127 231 332 183 190 173 314 104 322 347 161 146 181 122 165 651 159 517 111 111 225 213 232 189 210 151 148 367 121 108 195 334 137 131 128 121 120 131 149 266 126 389 152 166 128 157 652 114 164 234 456 632 159 123 173 134 149 167 147 253 412 146 206 338 354 429 251 202 115 193 152 240 168 258 202 120 132 129 199 237 240 189 187 187 154 149 136 247 410 114 114 148 105 128 240 182 135 174 310 145 225 196 264 146 165 765 108 102 102 194 379 170 288 318 484 355 198 141 380 126 320 291 230 178 129 119 129 280 304 138 1056 157 270 128 308 268 168 484 180 115 126 237 180 166 142 391 190 1183 128 261 203 196 398 306 665 179 131 236 282 232 468 204 111 234 321 147 127 367 178 133 160 141 126 133 237 169 170 1844 282 133 1319 291 366 552 148 214 135 316 K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-03-15T00:11:27.000000Z K 7 svn:log V 55 Mention ubser(4) devices, fix a minor punctuation nit. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-03-15T00:24:27.000000Z K 7 svn:log V 90 Grammar nits. Move a SGML comment to a more meaningful (and correct) place in this file. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-15T00:49:40.000000Z K 7 svn:log V 24 Shorten a long comment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-15T01:52:00.000000Z K 7 svn:log V 476 Lock down global variables in if_tap (primarily, the tap softc list); add tapmtx, which protects globale variables. Notes: - The EBUSY check in MOD_UNLOAD may be subject to a race. Moving the event handler unregister inside the mutex grab may prevent that race. - Locking of global variables safely is now possible because tapclones is only modified when the module is loading or unloading, thanks to phk's recent chang to clone_setup(). - softc locking to follow. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2004-03-15T03:41:07.000000Z K 7 svn:log V 25 Validate argument to -i. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2004-03-15T04:10:29.000000Z K 7 svn:log V 18 static and const. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-15T06:36:55.000000Z K 7 svn:log V 32 Remove redundant suser() check. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-15T06:42:40.000000Z K 7 svn:log V 211 Revert to the original vslock() and vsunlock() API with the following exceptions: Retain the recently added vslock() error return. The type of the len argument should be size_t, not u_int. Suggested by: bde END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-15T06:43:51.000000Z K 7 svn:log V 39 Style(9) changes. Pointed out by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-15T07:19:41.000000Z K 7 svn:log V 101 gasp(1) isn't linked with -lgnuregex, and it doesn't need either. Reviewed by: obrien END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-15T07:25:30.000000Z K 7 svn:log V 87 MFC: 1.98, 1.99. Mainly useful for displaying the polling(4) status of the interface. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-15T08:03:10.000000Z K 7 svn:log V 17 Whitespace nits. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-15T08:14:35.000000Z K 7 svn:log V 186 Make this compile with -O2. A proper fix would use a struct to represent vectors, instead of requiring the caller to keep track of element size and count and pass them in by reference. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-15T09:11:23.000000Z K 7 svn:log V 119 Make overflow/wraparound checking more robust and unbreak len=0 in vslock(), mlock(), and munlock(). Reviewed by: bde END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-15T10:05:27.000000Z K 7 svn:log V 78 Change len pararmeter from u_int to size_t. Document vslock() return values. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-15T10:32:37.000000Z K 7 svn:log V 88 Document additional reasons that sysctl(3) can return ENOMEM (due to vslock() failure). END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-15T10:39:01.000000Z K 7 svn:log V 62 including isa_device.h was historical in this file, remove it END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-15T10:39:37.000000Z K 7 svn:log V 49 Temporarily comment out cy. Remove COMPAT_OLDISA END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-15T11:27:39.000000Z K 7 svn:log V 32 Kill bogus isa compat opt file. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-03-15T12:03:48.000000Z K 7 svn:log V 226 Add support for detaching PCI controllers. This adds support for cardbus ATA/SATA controllers. I get roughly the same transfer speeds as on true PCI controllers. Nice to be able to add a couble of "real" disks to a laptop :) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-15T12:10:34.000000Z K 7 svn:log V 179 Remove sysctl security.jail.list_allowed. This functionality was a misfeature, sysctl was added and turned off by default just to check if nobody complains. Reviewed by: rwatson END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-03-15T13:17:24.000000Z K 7 svn:log V 24 Add SATA support fields END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-03-15T13:21:41.000000Z K 7 svn:log V 53 Add printing of relevant SATA info where approbiate. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-15T13:23:20.000000Z K 7 svn:log V 52 Add -DDEBUG to DEBUG_FLAGS if PAM_DEBUG is defined. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-15T13:41:17.000000Z K 7 svn:log V 427 Fix some style(9) related issues after discussion with/education from bde: - Add and where required (do not depend on other headers pulling it in). - __dead -> __dead2 - #if defined() -> #ifdef - Remove ugly PRIu64 macros and use %llu w/ (unsigned long long) cast. All changes looped back to OpenBSD (where applicable) for easier sync in the future. Requested by: bde Approved by: bms(mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-15T13:43:44.000000Z K 7 svn:log V 93 Move GID/UID_MAX under __BSD_VISIBLE protection. Requested by: bde Approved by: bms(mentor) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-15T16:39:03.000000Z K 7 svn:log V 349 Add vectors for _snprintf() and _vsnprintf() (redirected straight to snprintf() and vsnprintf() in FreeBSD kernel land). This is needed by the Intel Centrino 2200BG driver. Unfortunately, this driver still doesn't work right with Project Evil even with this tweak, but I'm unable to diagnose the problem since I don't have access to a sample card. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-03-15T17:01:31.000000Z K 7 svn:log V 26 Remove whitespace at EOL. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-15T17:08:28.000000Z K 7 svn:log V 215 Don't try to pass off a struct sockaddr as a struct sockaddr_in when it may in fact very well be a struct sockaddr_in6. Just use plain struct sockaddr. This brings us yet another step closer to a clean -O2 build. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-15T17:43:36.000000Z K 7 svn:log V 60 Remove bogus (void **) casts. This unbreaks the -O2 build. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-15T18:04:41.000000Z K 7 svn:log V 206 softdep_sync_metadata: fix bug introduced in rev. 1.57.2.10: call drain_output() in correct place (before checking dirty list and with locks held). Approved by: mckusick Spotted by: END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-15T18:17:10.000000Z K 7 svn:log V 266 The tcp_reass_qsize increment should occur only after we have checked for memory allocation failure. On systems that frequently have a memory shortage, this could result in an effectively smaller reassembly queue than was configured. Approved by: security-officer END K 10 svn:author V 3 wes K 8 svn:date V 27 2004-03-15T18:36:21.000000Z K 7 svn:log V 81 Add script for creating ramdisks at boot time, in time to be processed by fstab. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-15T18:38:29.000000Z K 7 svn:log V 48 Correctly document the default value of UsePAM. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-15T18:48:28.000000Z K 7 svn:log V 402 Drop the proc lock around calls to the MD functions ptrace_single_step(), ptrace_set_pc(), and cpu_ptrace() so that those functions are free to acquire Giant, sleep, etc. We already do a PHOLD/PRELE around them so that it is safe to sleep inside of these routines if necessary. This allows ptrace() to be marked MP safe again as it no longer triggers lock order reversals on Alpha. Tested by: wilko END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-15T18:50:06.000000Z K 7 svn:log V 35 Regen for ptrace being safe again. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-15T20:02:07.000000Z K 7 svn:log V 137 MFC in part tcp_input.c 1.228, tcp_subr.c 1.182, tcp_var.h 1.98: Limit TCP segment reassembly queue size. Approved by: security-officer END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-15T20:34:18.000000Z K 7 svn:log V 238 Add ru.koi8-r.win.kbd based on ru.koi8-r.shift.kbd which closely mimics ru(winkeys) XFree86 layout. Differences with ru.koi8-r.shift.kbd are: - ctrl+shift = alock - left/right win = meta, menu = saver - alock'ed shift+[0-9] = )!@#$%^&*( END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-15T21:20:39.000000Z K 7 svn:log V 91 New release note: ata(4) cardbus ATA/SATA support. ifconfig(8) prints polling(4) status. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-15T21:47:34.000000Z K 7 svn:log V 98 The PPS code needs to be much more brutal to avoid synchronism on hardware with non-sucky clocks. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-15T22:24:28.000000Z K 7 svn:log V 80 Add arl(4): driver for Aironet Arlan 655 wireless adapters. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-15T22:43:49.000000Z K 7 svn:log V 221 - Mark ABI syscalls that call wait4() MP safe as recent changes to the kernel wait4() made these all panic() implementations otherwise. - The i386 linux_ptrace() syscall is MP safe. Alpha was already marked MP safe. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-15T22:44:35.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-15T23:09:17.000000Z K 7 svn:log V 229 Add a mixer script that saves the current settings of all mixers present in the system on shutdown and restores the settings on boot. The settings can also be reset to the saved values via 'mixer reload'. Reviewed by: current@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-15T23:10:34.000000Z K 7 svn:log V 254 When installing boot blocks into an Alpha BSD label, setup the location, length, and flags fields at the end of the SRM boot sector so that SRM can find the bootstrap code. This fixes bsdlabel -m alpha to generate bootable disklabels. Reviewed by: phk END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T00:12:33.000000Z K 7 svn:log V 69 Allow the user to override CFLAGS and COPTFLAGS on the command line. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T00:12:59.000000Z K 7 svn:log V 54 Add configuration shortcuts for CFLAGS and COPTFLAGS. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T00:15:05.000000Z K 7 svn:log V 89 The documentation lists configuration variables in uppercase, so dump them in uppercase. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T00:24:54.000000Z K 7 svn:log V 30 Build the tinderbox with -O2. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T00:31:27.000000Z K 7 svn:log V 73 Set TZ to UTC so dates in the history file will match dates in the logs. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-16T01:28:45.000000Z K 7 svn:log V 553 Don't bother calling vslock() and vsunlock() if oldlen is zero. If vslock() returns ENOMEM, sysctl_wire_old_buffer() should set wiredlen to zero and return zero (success) so that the handler will operate according to sysctl(3): The size of the buffer is given by the location specified by oldlenp before the call, and that location gives the amount of data copied after a successful call and after a call that returns with the error code ENOMEM. The handler will return an ENOMEM error because the zero length buffer will overflow. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-16T04:40:10.000000Z K 7 svn:log V 67 New release note: arl(4) for Aironet Arlan 655 wireless adapters. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-03-16T06:53:03.000000Z K 7 svn:log V 419 Rename the wiredlen member of struct sysctl_req to validlen and always set it to avoid the need for a bunch of code that tests whether or not the lock member is set to REQ_WIRED in order to determine which length member should be used. Fix another bug in the oldlen return value code. Fix a potential wired memory leak if a sysctl handler uses sysctl_wire_old_buffer() and returns an EAGAIN error to trigger a retry. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-16T07:11:07.000000Z K 7 svn:log V 14 MFC rev. 1.39 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-16T07:12:44.000000Z K 7 svn:log V 14 MFC rev. 1.14 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-16T08:33:33.000000Z K 7 svn:log V 127 Fix memory leak PR: bin/64321 Submitted by: Rodney Ruddock MFOpenBSD: rev 1.17 MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-16T08:34:19.000000Z K 7 svn:log V 121 MFC: 1.313: Use fresh tools in installkernel, if available. 1.416: Create hierarchy before installing a new kernel. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-16T08:37:19.000000Z K 7 svn:log V 139 Correct size argument passed to copyinstr() in linux_mount(): mntfromname and mntonname are both MNAMELEN characters long, not MFSNAMELEN. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-16T08:59:37.000000Z K 7 svn:log V 97 Make vfs_nmount() public. The Linux emulator needs this in order to mount linprocfs filesystems. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-16T09:05:56.000000Z K 7 svn:log V 117 Use vfs_nmount() to mount linprocfs filesystems in linux_mount(); linprocfs doesn't support the old mount interface. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-16T09:45:38.000000Z K 7 svn:log V 59 Add fairly minimal documentation for the nmount() syscall. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-16T10:41:23.000000Z K 7 svn:log V 51 Get ready to mark open, creat and nosys as MPSAFE. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-16T10:46:42.000000Z K 7 svn:log V 269 Nudge Giant as far as I can into kern_open(). Mark open() as MPSAFE. Use kern_open() to implement creat() rather than taking the long route through open(). Mark creat as MPSAFE. While I'm at it, mark nosys() (syscall 0) as MPSAFE, for all the difference it will make. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-16T11:06:31.000000Z K 7 svn:log V 29 Sort MLINKS. Noticed by: ru END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T12:08:59.000000Z K 7 svn:log V 16 Whitespace nit. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T12:12:10.000000Z K 7 svn:log V 102 Given the impact of CFLAGS and COPTFLAGS on the build, report them in the log, even when not verbose. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-16T12:23:43.000000Z K 7 svn:log V 238 Remove RAIDFrame. It hasn't worked since GEOM replaced the old disk mini-layer. I don't have time to bing it forward into the GEOM world, and no one else has stepped forward to claim it. It'll be in the Attic for safe keeping for now. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-16T12:27:34.000000Z K 7 svn:log V 42 Remove the module reference for RAIDframe END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-16T12:28:40.000000Z K 7 svn:log V 36 Remove the RAIDframe userland tool. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-16T12:35:55.000000Z K 7 svn:log V 33 Remove the RAIDframe manual page END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-16T12:40:11.000000Z K 7 svn:log V 28 Don't use the pcic polling. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-16T12:43:08.000000Z K 7 svn:log V 27 Move the arl to i386 only. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-16T12:46:14.000000Z K 7 svn:log V 38 The arlconfig is needed on i386 only. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-16T13:30:11.000000Z K 7 svn:log V 57 Refer to "wide characters" instead of "wide-characters". END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-03-16T13:34:50.000000Z K 7 svn:log V 170 Add powerpc to temporary fix. The new cpu device claims all 'generic' OpenFirmware nexus nodes, since it uses bus_generic_probe. Maybe the cpu device probe should be MD. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-16T13:42:23.000000Z K 7 svn:log V 34 Remove dangling raidctl reference END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-03-16T13:46:29.000000Z K 7 svn:log V 296 o Add an -S option to not attempt to ascertain the validity of a shell. o Add a -D option to not attempt to create the home directory. o Treat the /nonexistent home directory specially. It means the user has no home directory and it should not be created. o Update Copyright year and my email. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-16T13:47:33.000000Z K 7 svn:log V 57 Bump patch level for update of FreeBSD-SA-04:04.tcp fix. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-16T15:28:16.000000Z K 7 svn:log V 74 MFC: em(4) hiccup fix, ng_vlan(4), ifconfig(8) polling status support. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-16T15:30:46.000000Z K 7 svn:log V 36 New release note: raid(4) removal. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-03-16T16:23:28.000000Z K 7 svn:log V 65 Update the SiS support to distinguish older southbridges better. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-16T17:07:06.000000Z K 7 svn:log V 559 Change libdisk and sysinstall to use d_addr_t rather than u_long for disk addresses. For arch's with 64-bit longs, this is a nop, but for i386 this allows sysinstall to properly handle disks and filesystems > 1 TB. Changes from the original patch include: - Use d_addr_t rather than inventing a blkcnt type based on int64_t. - Use strtoimax() rather than strtoull() to parse d_addr_t's from config files. - Use intmax_t casts and %jd rather than %llu to printf d_addr_t values. Tested on: i386 Tested by: kuriyama Submitted by: julian MFC after: 1 month END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-16T17:24:06.000000Z K 7 svn:log V 19 Fix $FreeBSD$ ids. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-16T17:55:57.000000Z K 7 svn:log V 73 MFC: 1.414, 1.415: Fixed the essential GID checks. Prodded by: gshapiro END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-03-16T18:04:14.000000Z K 7 svn:log V 136 Added entries for 90 columns russian VGA modes. PR: conf/51830 Submitted by: Sergiy Vyshnevetskiy MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-16T18:56:22.000000Z K 7 svn:log V 363 Remove a bogus assertion and readd it in a more correct location. A thread might be enqueued on a sleep queue but not be asleep when the timeout fires if it is blocked on a lock trying to check for pending signals before going to sleep. In the case of fixing up the TDF_TIMEOUT race, however, the thread must be marked asleep. Reported by: kan (the bogus one) END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-16T19:04:28.000000Z K 7 svn:log V 539 Refactor the existing machine-dependent sf_buf_free() into a machine- dependent function by the same name and a machine-independent function, sf_buf_mext(). Aside from the virtue of making more of the code machine- independent, this change also makes the interface more logical. Before, sf_buf_free() did more than simply undo an sf_buf_alloc(); it also unwired and if necessary freed the page. That is now the purpose of sf_buf_mext(). Thus, sf_buf_alloc() and sf_buf_free() can now be used as a general-purpose emphemeral map cache. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-03-16T19:25:55.000000Z K 7 svn:log V 67 Add explicit dependency on "ether", since we use ether_ifattach(). END K 10 svn:author V 7 thierry K 8 svn:date V 27 2004-03-16T19:39:11.000000Z K 7 svn:log V 27 Approved by: mat (mentor). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-03-16T20:12:06.000000Z K 7 svn:log V 77 MFC the new syslog.conf.5 manual page and changes from newsyslog.8 rev 1.43. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-03-16T20:12:38.000000Z K 7 svn:log V 38 Attach newsyslog.conf.5 to the build. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T20:42:02.000000Z K 7 svn:log V 57 Use unions to avoid violating C99 strict aliasing rules. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T20:45:37.000000Z K 7 svn:log V 75 Use void * instead of char * to avoid violating C99 strict aliasing rules. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-16T21:03:25.000000Z K 7 svn:log V 54 Fix copyrights and mandoc markup. Pointed out by: ru END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-16T21:30:41.000000Z K 7 svn:log V 160 Run through indent(1) so I can read the code without getting a headache. The result isn't quite knf, but it's knfer than the original, and far more consistent. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-03-16T22:06:32.000000Z K 7 svn:log V 319 Avoid doing bawrite to initialize inode block while holding cylinder group block locked. If filesystem has any active snapshots, bawrite can come back trying to allocate new snapshot data block from the same cylinder group and cause panic due to recursive lock attempt. PR: 64206 Reviewed by: mckusick Tested by: pjd END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-16T22:14:37.000000Z K 7 svn:log V 54 New release note: libdisk's u_long->d_addr_t change. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-16T22:29:26.000000Z K 7 svn:log V 112 Implement "arlconfig arlX quality". Man pages fixes. Submitted by: Stanislav A. Svirid END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-17T01:09:59.000000Z K 7 svn:log V 241 Add tap_mtx to tap_softc in order to protect per-softc variables (tap_pid, tap_flags). if_tap should now be entirely MPSAFE. Committed from: Bamboo house by ocean in Taiwan Tropical paradise provided by: Chia-liang Kao END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-17T01:12:09.000000Z K 7 svn:log V 257 Remove tun_proc; replace with tun_pid. tun_proc pointer may be stale as the process that opens tun_softc can exit before the file descriptor is closed. Taiwan experience provided by: keichii Crashing breakers provided by: Chia-liang Kao END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-17T01:43:08.000000Z K 7 svn:log V 336 Re-add macro versions of getc(), getchar(), putc(), putchar(), feof(), ferror(), fileno() and clearerr(), using the value of __isthreaded to decide between the fast inline single-threaded code and the more general function equivalent. This gives most of the performance benefits of the old unsafe macros while preserving thread safety. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-17T01:59:47.000000Z K 7 svn:log V 158 Add a tip for people who are using database-related ports on a sparc64 system that they intend to upgrade to 64-bit time_t. Noticed by: Roderick van Domburg END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-03-17T02:12:19.000000Z K 7 svn:log V 105 Fix a POSIX conformance bug. POSIX says sigwait should return error number in return value not in errno. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-17T03:43:53.000000Z K 7 svn:log V 20 Adjust $FreeBSD$'s. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-17T07:40:42.000000Z K 7 svn:log V 98 Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including vs. just . END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-17T07:58:36.000000Z K 7 svn:log V 57 Play along with the effort to use getopt_long from libc. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-17T07:58:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r127105, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-17T08:50:17.000000Z K 7 svn:log V 75 Move the _arlconfig define in the existing i386 section. Suggested by: ru END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-17T09:37:13.000000Z K 7 svn:log V 160 Adjust the number of processes waiting on a semaphore properly if we're woken up in the middle of sleeping. PR: misc/64347 Reviewed by: tjr MFC after: 7 days END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T10:50:46.000000Z K 7 svn:log V 106 MFC in part tcp_input.c 1.228, tcp_subr.c 1.182, tcp_var.h 1.98: Limit TCP segment reassembly queue size. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-17T10:51:18.000000Z K 7 svn:log V 29 GC unnecessary include file. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-17T10:52:12.000000Z K 7 svn:log V 41 Trust bsd.prog.mk to set SRCS correctly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-17T11:06:40.000000Z K 7 svn:log V 38 Improved incorrect usage diagnostics. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-03-17T11:35:23.000000Z K 7 svn:log V 105 Correct a grammatical error. PR: docs/63984 Submitted by: Ulrich Spoerlein MFC after: 1 day END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T12:11:08.000000Z K 7 svn:log V 141 Correct a denial-of-service vulnerability in OpenSSL (CAN-2004-0079). Obtained from: OpenSSL CVS (http://cvs.openssl.org/chngview?cn=12033) END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T12:11:08.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r127114, 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 2004-03-17T12:11:09.000000Z K 7 svn:log V 93 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_7c_patch1'. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T12:18:23.000000Z K 7 svn:log V 92 MFC s3_pkt.c 1.1.1.9: Correct a denial-of-service vulnerability in OpenSSL (CAN-2004-0079). END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T12:23:51.000000Z K 7 svn:log V 92 MFC s3_pkt.c 1.1.1.9: Correct a denial-of-service vulnerability in OpenSSL (CAN-2004-0079). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-17T12:37:28.000000Z K 7 svn:log V 62 Re-add text that says getc() is a macro (back out rev. 1.16.) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-17T12:46:17.000000Z K 7 svn:log V 57 Re-add description of putc() macro (back out rev. 1.13.) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-17T12:54:06.000000Z K 7 svn:log V 44 Update list of macros defined in . END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-17T12:54:21.000000Z K 7 svn:log V 150 Make ddp_ports static, as it's not used outside of ddp_usrreq.c. Inspired by: Day spent hiking to hot springs in Taiwan Powered by: Asia BSDCon 2004 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-17T13:19:43.000000Z K 7 svn:log V 317 Fix information leakage. Without this fix it is possible to cheat policies like: - sysctl security.bsd.see_other_[gu]ids=0, - mac_seeotheruids(4), - jail(2) and get full processes list with their arguments. This problem exists from revision 1.62 of kern_proc.c when it was introduced. Reviewed by: nectar, rwatson. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-17T13:41:37.000000Z K 7 svn:log V 17 Language cleanup END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-17T13:55:40.000000Z K 7 svn:log V 17 Language cleanup END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-17T14:06:57.000000Z K 7 svn:log V 51 o Start sentences on new lines o misc format fixes END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-17T14:07:44.000000Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T15:49:33.000000Z K 7 svn:log V 33 Vendor import of OpenSSL 0.9.7d. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T15:49:33.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r127128, 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 2004-03-17T15:49:34.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_7d'. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T16:15:46.000000Z K 7 svn:log V 40 Update manual pages for OpenSSL 0.9.7d. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-17T17:39:12.000000Z K 7 svn:log V 77 Enable the programming of multicast filters on -stable. Reviewed by: julian END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-17T17:40:34.000000Z K 7 svn:log V 217 Add bus_alloc_resource_any(9), which does bus_alloc_resource() with the appropriate default values. Document it in the manpage. Submitted by: Mark Santcroos Reviewed by: imp, dfr, bde Abstains: bde END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-17T17:44:39.000000Z K 7 svn:log V 50 Resolve conflicts after import of OpenSSL 0.9.7d. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-17T17:50:55.000000Z K 7 svn:log V 132 Convert callers to the new bus_alloc_resource_any(9) API. Submitted by: Mark Santcroos Reviewed by: imp, dfr, bde END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-17T17:54:25.000000Z K 7 svn:log V 103 MFC: bus_alloc_resource_any(9) for compatibility with 5.x. No driver conversions will be done in 4.x. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-17T18:10:38.000000Z K 7 svn:log V 171 Don't report EPIPE errors on nfs sockets. These can be due to idle tcp mounts which will be closed by netapp, solaris, etc. if left idle too long. Obtained from: NetBSD END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-17T18:38:07.000000Z K 7 svn:log V 51 I accidently spammed rev. 1.18, back out rev 1.19. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-03-17T19:04:58.000000Z K 7 svn:log V 73 remove stale comment since these limits have been increased YEARS ago... END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-17T20:00:00.000000Z K 7 svn:log V 672 - Replace wait1() with a kern_wait() function that accepts the pid, options, status pointer and rusage pointer as arguments. It is up to the caller to copyout the status and rusage to userland if needed. This lets us axe the 'compat' argument and hide all that functionality in owait(), by the way. This also cleans up some locking in kern_wait() since it no longer has to drop locks around copyout() since all the copyout()'s are deferred. - Convert owait(), wait4(), and the various ABI compat wait() syscalls to use kern_wait() rather than wait1() or wait4(). This removes a bit more stackgap usage. Tested on: i386 Compiled on: i386, alpha, amd64 END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-17T20:10:59.000000Z K 7 svn:log V 17 Fixed a warning. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-17T20:19:45.000000Z K 7 svn:log V 11 NULL -> 0. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-17T20:50:25.000000Z K 7 svn:log V 11 NULL -> 0. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-17T21:10:20.000000Z K 7 svn:log V 101 Add a comment with an explanation why we don't report EPIPE errors on nfs sockets. Requested by: ru END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-17T21:11:02.000000Z K 7 svn:log V 283 Style(9) round for the pf kernel parts. Mostly #if defined() -> #ifdef Also set HOOK_HACK to true (remove the related #ifdef's) as we have the hooks in the kernel this was missed during the merge from the port. Noticed by: Amir S. (for the HOOK_HACK part) Approved by: bms(mentor) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-03-17T21:45:55.000000Z K 7 svn:log V 78 sync comment with i386's isa.c.. This removes a comment that is YEARS old... END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-17T21:49:47.000000Z K 7 svn:log V 195 Fix border error to allow systems that specify 100 for latency also use C2 and 1000 to use C3. Submitted by: Bruno Ducrot Tested by: Scott Lambert END K 10 svn:author V 5 green K 8 svn:date V 27 2004-03-17T21:54:52.000000Z K 7 svn:log V 223 Eliminate bogus usage of WI_RSSI_TO_DBM(). Not only does it bogusly clip/destroy the dB value contained in the wi(4)'s receive frames, it doesn't match with the flag set in the radiotap header (unperturbed dB versus dBm). END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-17T22:46:58.000000Z K 7 svn:log V 391 Improvements to 'ps -p '. If is a process id that does not exist, then just print the header (if any) and exit, thus matching the behavior on -stable and other OS's. Also adds support for being a comma-separated list of processes, and does a much better checking for invalid-values of , such as 'ps -p someword'. Reviewed by: mentioned on freebsd-current MFC after: 10 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-17T23:25:04.000000Z K 7 svn:log V 262 Revise socow_iodone() in light of recent sf_buf changes. Specifically, use sf_buf_free() instead of sf_buf_mext() to consolidate all actions that require the page queues lock in one critical section. While I'm here remove unnecessary splvm() and splx() calls. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-18T00:18:45.000000Z K 7 svn:log V 102 Cleanup hints, given that no hammer machine have (nor ever will have) ISA slots. Submitted by: Peter END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-18T00:50:40.000000Z K 7 svn:log V 46 Mention the user account for 'pf' is "proxy". END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-03-18T01:02:46.000000Z K 7 svn:log V 283 Add support for Crystalfontz CFA-632, CFA-633 and CFA-634, all of them are based on the same USB->COM bridge, but have different product IDs. PR: Submitted by: Reviewed by: Approved by: Obtained from: http://www.tnpi.biz/computing/freebsd/crystalfontz.shtml MFC after: 3 days END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-03-18T01:06:28.000000Z K 7 svn:log V 30 Regen after 1.169 of usbdevs. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-18T01:28:23.000000Z K 7 svn:log V 227 Fix 'ps -p proclist' and 'ps -u userlist' so the command returns non-zero if no processes were matched. Also sorts the list of 'int's in main, as long as I had to add another one... Noticed by: Nate Lawson MFC after: 10 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-18T02:33:58.000000Z K 7 svn:log V 198 Support the DPF (start dependent function) resource type in parsing _PRS. This should fix this error people get attaching cardbus controllers: pcib0: _PRS resource entry has unsupported type 2 END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-18T02:36:41.000000Z K 7 svn:log V 137 Back out code for auto-gdb detection that accidentally leaked into the bus_alloc_resource_any commit. Submitted by: bde Pointy-hat: njl END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-18T02:53:38.000000Z K 7 svn:log V 83 Document machdep.hlt_cpus. Submitted by: Craig Rodrigues END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-03-18T02:54:42.000000Z K 7 svn:log V 37 Removed a vestige of the stl driver. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-18T03:01:28.000000Z K 7 svn:log V 27 Braino in previous commit. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-18T04:45:29.000000Z K 7 svn:log V 34 Configure as --enable-64-bit-bfd. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-18T07:17:10.000000Z K 7 svn:log V 187 Move "is consumer attached?" check before G_VALID_PROVIDER() check, because if consumer is not attached, its provider never will be valid, so we never reach this check. Approved by: phk END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-18T07:21:31.000000Z K 7 svn:log V 212 More cleanups: - 0 should have been -1 in previous commit (just to stay consistent), - Spell null pointers as NULL, not 0, - Fixed the comment about pr_usesysctl to not confuse it with boolean. Pointed by: bde END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-03-18T09:45:17.000000Z K 7 svn:log V 45 Generate opt_inet.h. Add opt_inet.h to SRCS. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-18T09:55:11.000000Z K 7 svn:log V 959 sAdd a comment indicating why there continues to be a race condition in the tap driver, even with Giant over the cdev operation vector, due to a non-atomic test-and-set of the si_drv1 field in the dev_t. This bug exists with Giant under high memory pressure, as malloc() may sleep in tapcreate(), but is less likely to occur. The resolution will probably be to cover si_drv1 using the global tapmtx since no softc is available, but I need to think about this problem more generally across a range of drivers using si_drv1 in combination with SI_CHEAPCLONE to defer expensive allocation to open(). Correct what appears to be a bug in the original if_tap implementation, in which tapopen() will panic if a tap device instance is opened more than once due to an incorrect assertion -- only triggered if INVARIANTS is compiled in (i.e., when built into a kernel). Return EBUSY instead. Expand mtx_lock() coverage using tp->tap_mtx to include tp->ether_addr. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-18T10:17:03.000000Z K 7 svn:log V 66 Comment various stages of buildkernel, symmetrical to buildworld. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-18T10:55:47.000000Z K 7 svn:log V 178 Install /bin/sh safely. This allows a shell script to be used to strip binaries by specifying it in the STRIPBIN environment variable honoured by install(1). MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-18T12:22:31.000000Z K 7 svn:log V 31 s/enable/enables/ in a comment END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-18T12:34:14.000000Z K 7 svn:log V 210 Make the vaule of PTT_RELAY_SID match the RFC. This should help PPPoE users that are working with relayed PPPoE. Submitted by: Bodo Rüskamp PR: 44936 Approved by: julian MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-18T14:18:51.000000Z K 7 svn:log V 171 Correct a bug introduced with the recent clone API chang: when the clone event handler for if_tap fails, make sure to clean up clone state to prevent a clone memory leak. END K 10 svn:author V 6 davidc K 8 svn:date V 27 2004-03-18T15:18:20.000000Z K 7 svn:log V 73 Echo and pass dumpdev as the device argument to savecore. PR: bin/51655 END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-03-18T16:33:05.000000Z K 7 svn:log V 388 Verify more bits of the ELF header: the program header table entry size and the ELF version. Also, avoid a potential integer overflow when determining whether the ELF header fits entirely within the first page. Reviewed by: jdp A panic when attempting to execute an ELF binary with a bogus program header table entry size was Reported by: Christer Öberg END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-18T16:39:19.000000Z K 7 svn:log V 88 New release note: SA-04:05.openssl /etc/rc.d/mixer /etc/rc.d/gbde_swap (wording fix) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-18T16:41:35.000000Z K 7 svn:log V 23 MFC: SA-04:05.openssl. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-18T17:42:14.000000Z K 7 svn:log V 34 Import of Intel ACPI-CA 20040311. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-18T17:42:14.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r127175, 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 2004-03-18T17:42:15.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20040311'. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-18T17:46:27.000000Z K 7 svn:log V 74 Check in files off the vendor branch as well as files with local patches. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-18T17:51:55.000000Z K 7 svn:log V 50 New release note: Intel ACPI-CA 20040311 import. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-18T18:05:08.000000Z K 7 svn:log V 295 For AMD64, lets officially support a -O2 kernel build! I've added -fno-strict-aliasing for now so we can ease into this. I wanted to shoot for -O3, but the inlining caused problems due to GCC's size heuristics; so also add -frename-registers, which is one of the things -O3 would have given us. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-03-18T18:15:58.000000Z K 7 svn:log V 96 Add the missing Giant when doing anything with VFS -- in this case, releasing the ktrace vnode. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-18T18:23:37.000000Z K 7 svn:log V 1089 Utilize sf_buf_alloc() and sf_buf_free() to implement the ephemeral mappings required by mdstart_swap(). On i386, if the ephemeral mapping is already in the sf_buf mapping cache, a swap-backed md performs similarly to a malloc-backed md. Even if the ephemeral mapping is not cached, this implementation is still faster. On 64-bit platforms, this change has the effect of using the direct virtual-to-physical mapping, avoiding ephemeral mapping overheads, such as TLB shootdowns on SMPs. On a 2.4GHz, 400MHz FSB P4 Xeon configured with 64K sf_bufs and "mdmfs -S -o async -s 128m md /mnt" before: dd if=/dev/md0 of=/dev/null bs=64k 134217728 bytes transferred in 0.430923 secs (311465697 bytes/sec) after with cold sf_buf cache: dd if=/dev/md0 of=/dev/null bs=64k 134217728 bytes transferred in 0.367948 secs (364773576 bytes/sec) after with warm sf_buf cache: dd if=/dev/md0 of=/dev/null bs=64k 134217728 bytes transferred in 0.252826 secs (530870010 bytes/sec) malloc-backed md: dd if=/dev/md0 of=/dev/null bs=64k 134217728 bytes transferred in 0.253126 secs (530240978 bytes/sec) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-18T18:27:04.000000Z K 7 svn:log V 31 Grammar fix MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-18T18:42:22.000000Z K 7 svn:log V 168 Add tunables for disabling serialized method execution and disabling the new _OSI method. These can be used if these new features end up causing regression for users. END K 10 svn:author V 8 dannyboy K 8 svn:date V 27 2004-03-18T20:36:14.000000Z K 7 svn:log V 105 Get rid of a spurious "the". PR: 64081 Submitted by: Chris Pepper MFC after: 1 day END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-03-18T20:44:01.000000Z K 7 svn:log V 102 MFC r1.15: Correct a grammatical error. PR: docs/63984 Submitted by: Ulrich Spoerlein END K 10 svn:author V 5 guido K 8 svn:date V 27 2004-03-18T20:58:51.000000Z K 7 svn:log V 303 When mmap-ing a file from a noexec mount, be sure not to grant the right to mmap it PROT_EXEC. This also depends on the architecture, as some architextures (e.g. i386) do not distinguish between read and exec pages Inspired by: http://linux.bkbits.net:8080/linux-2.4/cset@1.1267.1.85 Reviewed by: alc END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-18T21:07:54.000000Z K 7 svn:log V 214 Fixed a nasty old bug where a visual bell in the currently active VTY prevented waking up processes waiting for the output queue to get free on other VTYs. In collaboration with: Vsevolod Lobko MFC after: 1 week END K 10 svn:author V 5 guido K 8 svn:date V 27 2004-03-18T21:10:11.000000Z K 7 svn:log V 570 Prevent the strange situation that after each load/unload of a ppbus device, the device is probed multiple times (so each device is detected N times after unloading/loading the module N-1 times). The real fix is (quote Doug and Warner): > : In an ideal world, there should be some kind of BUS_UNIDENTIFY method > : which a driver could use to delete the devices it created in > : BUS_IDENTIFY. > > Or the bus would have a driver deleted routine that got called and it > would remove all instances of the devclass attached to it. Reviewed by: Doug Rabson & Warner Losh END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-19T02:24:05.000000Z K 7 svn:log V 83 Forced commit to recognize repo-copy of ddb_pcb.c from ddp_usrreq.c. Thanks Peter! END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-19T03:28:38.000000Z K 7 svn:log V 36 'vi' got away from me in rev. 1.13. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-19T06:15:45.000000Z K 7 svn:log V 140 Re-enable detach events after adding a bugfix from NetBSD that unbreaks them. Submitted by: dillon Obtained from: NetBSD MFC after: 2 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-19T07:05:01.000000Z K 7 svn:log V 189 Move the poweroff handler to a separate function. Make sure it is run on the boot processor (cpuid == 0). Some chipsets do not power off the system if the shutdown handler runs on an AP. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-19T07:14:23.000000Z K 7 svn:log V 136 Diff reduction to NetBSD Trying to figure out why this only works with SOME EHCI controllers. Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-19T07:21:22.000000Z K 7 svn:log V 371 Isolate PCB-specific ethertalk DDP functions in ddp_pcb.c, removing them from ddp_usrreq.c. Functions moved are: at_pcballoc() at_pcbconnect() at_pcbdetach() at_pcbdisconnect() at_pcbsetaddr() at_sockaddr() Also moved are ddp_ports and ddpcb, global variables associated with DDP pcbs. This makes PCB implementation more parallel to inet, inet6, and ipx. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-19T08:19:52.000000Z K 7 svn:log V 108 Diff reduction to NetBSD Bring over sundry small fixes from NetBSD Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-19T08:26:52.000000Z K 7 svn:log V 14 MFC rev. 1.20 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-19T09:04:56.000000Z K 7 svn:log V 141 Do not redundantly set the stream orientation in getc(), putc(), and related functions - __sgetc() and __sputc() will set it when necessary. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-03-19T10:28:34.000000Z K 7 svn:log V 229 When doing round-robin reads from a multi-plex volume, only switch to the next plex if the sector to be read isn't nearby the last read sector. Submitted by: Vsevolod Lobko via ru@ Approved by: grog (mentor) END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-03-19T14:16:07.000000Z K 7 svn:log V 55 MFC 1.27 changes. Document missing EFAULT errno value. END K 10 svn:author V 8 dannyboy K 8 svn:date V 27 2004-03-19T14:28:53.000000Z K 7 svn:log V 30 MFC 1.14: Remove extra "the". END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-19T15:08:58.000000Z K 7 svn:log V 275 Create /usr/sbin in ${WORLDTMP}. I've accidentally removed it in revision 1.343, but it's needed for btxld(8), and this fix (along with the --enable-64-bit-bfd configured BFD on i386) allows other architectures to successfully cross-build the i386 world. Tested on: alpha END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-03-19T16:04:11.000000Z K 7 svn:log V 86 Shave-off troff cycles by invoking .Fa only once. Submitted by: ru MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-19T16:36:29.000000Z K 7 svn:log V 38 Depend on rev 1.40. Submitted by: ru END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-19T17:36:47.000000Z K 7 svn:log V 65 Add generic support for the recent Adaptec flavors of ServeRAID. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-19T17:40:45.000000Z K 7 svn:log V 46 Delete local junk in previous commit. Sorry. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-19T17:57:07.000000Z K 7 svn:log V 35 Removed 3x2 dots I don't like. ;) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-19T20:14:23.000000Z K 7 svn:log V 41 Sync with OpenBSD (two-year old bug fix) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-19T20:14:23.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r127208, 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 2004-03-19T20:14:24.000000Z K 7 svn:log V 73 This commit was manufactured by cvs2svn to create tag 'OPENBSD_20040319'. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-19T21:19:15.000000Z K 7 svn:log V 78 - Remove some unused #includes. - Apply some style fixes to mdstart_swap(). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-19T22:37:06.000000Z K 7 svn:log V 1745 Many fixes: * Disabled shared-library building, as some API breakage is still likely. (I didn't realize it was turned on by default.) If you have an existing /usr/lib/libarchive.so.2, I recommend deleting it. * Pax interchange format now correctly stores and reads UTF8 for extended attributes. In particular, pax format can portably handle arbitrarily long pathnames containing arbitrary characters. * Library compiles cleanly at -O2, -O3, and WARNS=6 on all FreeBSD-CURRENT platforms. * Minor portability improvements inspired by Juergen Lock and Greg Lewis. (Less reliance on stdint.h, isolating of various portability-challenged constructs.) * archive_entry transparently converts multi-byte <-> wide character strings, allowing clients and format handlers to deal with either one, as appropriate. * Support for reading 'L' and 'K' entries in standard tar archives for star compatibility. * Recognize (but don't yet handle) ACL entries from Solaris tar. * Pushed format-specific data for format readers down into format-specific storage and out of library-global storage. This should make it easier to maintain individual formats without mucking with the core library management. * Documentation updates to track the above changes. * Updates to tar.5 to correct a few mistakes and add some additional information about GNU tar and Solaris tar formats. Notes: * The basic 'tar' reader is getting more general; there's not much point in keeping the 'gnutar' reader separate. Merging the two would lose a bunch of duplicate code. * The libc ACL support is looking increasingly inadequate for my needs here. I might need to assemble some fairly significant code for parsing and building ACLs. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-03-19T23:20:23.000000Z K 7 svn:log V 187 solid reports that it is buggy *and* that it slows down transmit speed. Buggy report: Matt Dillon & others Slowness report: I can't find the e-mail MFC After: 1 minute END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-03-19T23:21:05.000000Z K 7 svn:log V 39 MFC rev 1.167; disable TX checksumming END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T02:14:02.000000Z K 7 svn:log V 1222 Introduce the hw.uart.console and hw.uart.dbgport environment variables to select a serial console and debug port (resp). On ia64 these replace the use of hints completely and take precedence over hints on alpha, amd64 and i386. On sparc64 these variables are not yet recognised. The reasons for introducing these variables are: 1. Hints have side-effects. They reserve the unit number for use by isa or acpi devices and therefore cannot be used to select a pci device. Also, the use of a unit number to select a device prior to bus enumeration is nonsense. The new variables have no side- effects and are not based on unit numbers. 2. Hints don't have the expression power to allow the sysadmin to select UARTs that are not legacy PC devices and need the support of compile-time constants to give the sysadmin some level of flexibility. The hw.uart.console and hw.uart.dbgport variables specify a list of attributes. An attribute is a tag-value pair, seperated by a colon. Attributes are seperated by a comma. Where possible, tags are the same as those in /etc/remote (only br and pa in practice). Details can be found in the manpage (not part of this commit). Not tested on: amd64, pc98 END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-03-20T02:24:24.000000Z K 7 svn:log V 196 Forced commit to correct 1.167's truncated commit log: Disable hardware TX checksumming for 3c905 series chips, as we have solid reports that it is buggy *and* that it slows down transmit speed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T04:23:03.000000Z K 7 svn:log V 270 Remove the last traditional hints. These hints only served the purpose for uart(4) to figure out which device to use as console. Use this file to define hw.uart.console instead so that we don't have to put it in the default loader.conf, which makes it hard to override. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T04:38:21.000000Z K 7 svn:log V 456 Actually program the list of recording devices in sv_mix_setrecsrc(). This change has not been tested. This change was triggered by a gcc(1) warning on ia64 at -O2. The variable v was not used after being computed, which resulted in enough dead code elimination (DCE) to confuse the compiler and emit a bogus warning about the use of the variable i without prior definition. The variable i is the loop variable. Submitted by: des Responsibility: marcel END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T05:27:14.000000Z K 7 svn:log V 53 Replace uint64_t with unsigned long in struct dbreg. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-20T06:14:55.000000Z K 7 svn:log V 121 New release note: xl(4) hardware TX checksum disabled, uart(4) hw.uart.{console,dbgport} environment variable support. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-20T06:19:38.000000Z K 7 svn:log V 43 MFC: xl(4) hardware TX checksum disabled. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-03-20T07:10:16.000000Z K 7 svn:log V 221 Add a way for rc.d/devfs to set more than just the system devfs up. Yes, this means for stuff OTHER than jails, too. Example usage: #devfs_system_ruleset="root" devfs_set_rulesets="/dev=root /etc/namedb/dev=named_devfs" END