Ĩf104230 219 152 201 549 1127 252 349 306 542 198 276 365 189 480 364 189 916 163 281 295 169 162 183 174 153 407 331 155 169 169 169 167 183 977 102 338 124 120 274 229 1144 106 264 664 276 187 411 190 189 161 170 535 308 260 249 173 121 299 422 157 188 381 134 178 144 200 471 181 142 124 138 221 218 146 123 263 151 194 205 216 172 158 220 283 239 220 421 205 108 113 273 181 153 224 166 135 127 201 174 187 319 370 308 161 216 644 216 282 248 776 275 174 360 185 223 174 151 147 121 231 140 237 173 166 117 718 415 295 194 122 162 181 362 159 136 254 207 275 282 355 228 224 149 170 161 227 180 153 216 209 170 115 336 161 156 221 152 168 590 127 166 115 462 187 400 402 354 267 136 245 340 133 168 161 274 136 310 310 138 108 154 190 384 163 110 215 256 208 248 337 110 110 159 377 254 299 117 124 261 159 218 185 179 200 629 263 189 132 498 139 171 132 118 249 298 203 132 121 163 129 K 10 svn:author V 3 phk K 8 svn:date V 27 2002-09-30T19:19:47.000000Z K 7 svn:log V 60 Plug memory leaks. Detected by: FlexeLint Approved by: jhb END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2002-09-30T19:55:42.000000Z K 7 svn:log V 106 Remove a left over '&' from the conversion to using our softc referenced seeprom store. MFC after: 1 day END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-09-30T20:18:47.000000Z K 7 svn:log V 455 Make sysinstall's desktop configuration menu install the real kde and gnome metaports, rather than the less-featureful kdebase and gnomecore. The general consensus seems to be that sysinstall and the disc 1 package list were pruned down due to space considerations. Those don't appear to be a factor; in fact, we've been shipping the metaports on disc 1 since 4.6. This commit gets sysinstall caught up. Approved by: re Discussed with: portmgr (will) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-09-30T20:20:22.000000Z K 7 svn:log V 1028 First half of implementation of ksiginfo, signal queues, and such. This gets signals operating based on a TailQ, and is good enough to run X11, GNOME, and do job control. There are some intricate parts which could be more refined to match the sigset_t versions, but those require further evaluation of directions in which our signal system can expand and contract to fit our needs. After this has been in the tree for a while, I will make in kernel API changes, most notably to trapsignal(9) and sendsig(9), to use ksiginfo more robustly, such that we can actually pass information with our (queued) signals to the userland. That will also result in using a struct ksiginfo pointer, rather than a signal number, in a lot of kern_sig.c, to refer to an individual pending signal queue member, but right now there is no defined behaviour for such. CODAFS is unfinished in this regard because the logic is unclear in some places. Sponsored by: New Gold Technology Reviewed by: bde, tjr, jake [an older version, logic similar] END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-09-30T20:37:58.000000Z K 7 svn:log V 157 Use as's --defsym switch to compensate for the loss of the M4 substitution of SIOPRT which broke kgzldr and therefore make release. Pointed out by: murray END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-09-30T20:48:29.000000Z K 7 svn:log V 251 Convert use of p_siglist and old SIG*() macros to use prototyped functions to get a sigset_t, and further to check for any queued signals, rather than an empty signal set, to go with the move to signal queues rather than signal sets. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-09-30T20:50:00.000000Z K 7 svn:log V 209 Add tunables for the existing sysctl twiddles for pipe and vm enforcement so they can be disabled prior to kernel start. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-09-30T20:51:48.000000Z K 7 svn:log V 445 Move vnode MAC label initialization to after the release of the vnode interlock in getnewvnode() to avoid possible sleeps while holding the mutex. Note that the warning from Witness is a slight false positive since we know there will be no contention on the interlock since we haven't made the vnode available for use yet, but the theory is not a bad one. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 8 blackend K 8 svn:date V 27 2002-09-30T20:57:05.000000Z K 7 svn:log V 100 MFC: 1.112 (it was forgotten in previous MFC) Typo fix s/o packet/on packet/ Approved by: re (jhb) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-09-30T21:08:38.000000Z K 7 svn:log V 183 Change p_cpulimit to be in seconds instead of microseconds. Since p_runtime now is a bintime, it is no longer an optimization to store p_cpulimit as microseconds. Suggested by: phk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-09-30T21:13:54.000000Z K 7 svn:log V 272 - Add a new per-process flag PS_XCPU to indicate that at least one thread has exceeded its CPU time limit. - In mi_switch(), set PS_XCPU when the CPU time limit is exceeded. - Perform actual CPU time limit exceeded work in ast() when PS_XCPU is set. Requested by: many END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-09-30T21:15:33.000000Z K 7 svn:log V 92 Lock access to the signal queue, and related structures, with PROC_LOCK. Submitted by: jhb END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-09-30T21:24:21.000000Z K 7 svn:log V 384 - Remove installation dir from build because, he doesn't build well (Makefile) - Adding build relnotes/alpha (he must be in build for a long time, but for some obscur reasons, it does'nt) (relnotes/Makefile) - MFen 1.22.2.297-> 1.22.2.300 (relnotes/common/new.sgml) - Some minors typos and grammars fixs (errata/article.sgml, relnotes/common/new.sgml) Approved by: re@(bmah) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-09-30T21:40:33.000000Z K 7 svn:log V 266 The list of queued signals is not, can not, and will not be exported to the userland. If someone wants to implement a backup p_siglist in the kernel for compatability and to export one could. For now, just tell KVM to hand an empty signal set off to the userland. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-09-30T23:17:31.000000Z K 7 svn:log V 97 MFC: A whole boatload of cards from -current. This brings us up through 1.252. Approved by: re@ END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T00:07:28.000000Z K 7 svn:log V 818 (Forced commit, to clarify previous commit of ksiginfo/signal queue code.) I've added a structure, kernel-private, to represent a pending or in-delivery signal, called `ksiginfo'. It is roughly analogous to the basic information that is exported by the POSIX interface 'siginfo_t', but more basic. I've added functions to allocate these structures, and further to wrap all signal operations using them. Once the operations are wrapped, I've added a TailQ (see queue(3)) of these structures to 'struct proc', and all pending signals are in that TailQ. When a signal is being delivered, it is dequeued from the list. Once I finish the spreading of ksiginfo throughout the tree, the dequeued structure will be delivered to the process in question, whereas currently and normally, the signal number is what is used. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T00:16:17.000000Z K 7 svn:log V 66 Back out code changes that snuck into the previous forced commit. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-01T00:17:39.000000Z K 7 svn:log V 187 Use M_NOWAIT instead of M_WAITOK when allocating dmamaps; the allocations functions may be called from a device strategy routine when sleeping is bad. Submitted by: phk Reviewed by: tmm END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T00:28:14.000000Z K 7 svn:log V 197 Fix typo, should zero the kinfo_proc's siglist, not the real one's - the real one doesn't have one. Submitted by: jake, scottl Big pointed hat that lands one in the badcommitters box to: jmallett END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:42:51.000000Z K 7 svn:log V 74 Use if_printf(ifp, "blah") instead of printf("ar%d: blah", ifp->if_unit). END K 10 svn:author V 4 eric K 8 svn:date V 27 2002-10-01T00:44:11.000000Z K 7 svn:log V 69 Increment version number for the addition of getopt_long(3) to libc. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:44:31.000000Z K 7 svn:log V 88 Use if_printf(ifp, "blah") instead of printf("%s%d: blah", ifp->if_name, ifp->if_unit); END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:46:41.000000Z K 7 svn:log V 79 Use if_printf(ifp, "blah") instead of printf(CS_NAME"%d: blah", ifp->if_unit); END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:49:28.000000Z K 7 svn:log V 58 Use if_printf() instead of printf() to print "ed#: blah". END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:52:58.000000Z K 7 svn:log V 311 Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit). A number of functions in this driver still use the unit number in their printouts because they pass the unit directly as a function argument instead of passing a softc or struct ifnet pointer. This should be resolved at a future date. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T00:54:14.000000Z K 7 svn:log V 238 Remove bits and pieces of support for atty, which was made obsolete by adding history and vi/emacs-style line editing to the shell itself. Atty was a user-mode terminal emulator (like screen and window) that did line editing and history. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:55:22.000000Z K 7 svn:log V 60 Use if_printf() instead of printf() to print "sbni#: blah". END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:56:39.000000Z K 7 svn:log V 74 Use if_printf(ifp, "blah") instead of printf("sn%d: blah", ifp->if_unit). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:58:16.000000Z K 7 svn:log V 74 Use if_printf(ifp, "blah") instead of printf("sr%d: blah", ifp->if_unit). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T00:59:40.000000Z K 7 svn:log V 74 Use if_printf(ifp, "blah") instead of printf("vx%d: blah", ifp->if_unit). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-10-01T01:03:02.000000Z K 7 svn:log V 72 Use if_printf(ifp, "foo") instead of printf("xe%d: foo", ifp->it_unit). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T01:30:33.000000Z K 7 svn:log V 91 Remove some kind of profiling support that required the 4.2BSD monitor() function in libc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-01T02:35:59.000000Z K 7 svn:log V 880 Reserve system call numbers for the following system calls: __mac_get_pid Retrieve MAC label of a process by pid Similar to __mac_get_proc() except that the target process of the operation is explicitly specified rather than assuming curthread. __mac_get_link Retrieve MAC label of a path with NOFOLLOW __mac_set_link Set MAC label of a path with NOFOLLOW extattr_set_link Set EAs on a path with NOFOLLOW extattr_get_link Retrieve EAs on a path with NOFOLLOW extattr_delete_link Delete EAs on a path with NOFOLLOW These calls are similar to __mac_get_file(), __mac_set_file(), extattr_set_file(), extattr_get_file(), and extattr_delete_file(), except that they do not follow symlinks. The distinction between these calls is similar to lchown() vs chown(). Implementations to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-01T02:37:35.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T02:49:28.000000Z K 7 svn:log V 240 When working with sigset_t's, and needing to perform masking operations based on a process's pending signals, use the signal queue flattener, ksiginfo_to_sigset_t, on the process, and on a local sigset_t, and then work with that as needed. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-01T02:50:26.000000Z K 7 svn:log V 31 Add needed include of queue.h. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T02:58:38.000000Z K 7 svn:log V 23 Add a missing include. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T03:19:49.000000Z K 7 svn:log V 176 Until I find a way to release arbitrary locks held when sending signals (there really should not be some), use the M_NOWAIT flag to malloc(9), and panic(9) if malloc(9) fails. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-01T03:24:20.000000Z K 7 svn:log V 132 Push 'security.mac.debug_label_fallback' behind options MAC_DEBUG. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-01T04:30:19.000000Z K 7 svn:log V 1046 Improve locking of pipe mutexes in the context of MAC: (1) Where previously the pipe mutex was selectively grabbed during pipe_ioctl(), now always grab it and then release if if not needed. This protects the call to mac_check_pipe_ioctl() to make sure the label remains consistent. (Note: it looks like sigio locking may be incorrect for fgetown() since we call it not-by-reference and sigio locking assumes call by reference). (2) In pipe_stat(), lock the pipe if MAC is compiled in so that the call to mac_check_pipe_stat() gets a locked pipe to protect label consistency. We still release the lock before returning actual stat() data, risking inconsistency, but apparently our pipe locking model accepts that risk. (3) In various pipe MAC authorization checks, assert that the pipe lock is held. (4) Grab the lock when performing a pipe relabel operation, and assert it a little deeper in the stack. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-10-01T06:10:11.000000Z K 7 svn:log V 14 need exca too END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-01T06:34:21.000000Z K 7 svn:log V 170 Get rid of the TODO macro in the few places that still need work; either comment it out or change to explicit panics. It conflicts with things like #if TODO in drivers. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T07:24:55.000000Z K 7 svn:log V 571 Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1: Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h. These two new copies are still intact copies of disklabel.h and therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them in programs which already include is currently a no-op. This commit adds a number of such #includes. Once I have verified that I have fixed all the places which need fixing, I will commit the updated versions of the three #include files. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T07:26:35.000000Z K 7 svn:log V 183 Remove WARNS=0 and WFORMAT=0. The shell compiles cleanly at WARNS=2 on at least i386. If there are warnings on other archs, I'd rather hear about them than pretend they didn't exist. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-01T08:00:41.000000Z K 7 svn:log V 95 MFC (1.85: round up instead of towards 0 in clock_getres()). PR: 41781 Approved by: re (jhb) END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-01T08:40:07.000000Z K 7 svn:log V 318 Use the %t format modifier to print differences between pointers. This fixes two format warnings on 64 bits archs which are fatal now that WFORMAT=0 has been removed. It doesn't fully fix the sh(1) build on 64 bits platforms though, there is still some quad_t issues that need to be fixed. Tested on: i386, sparc64 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T08:55:28.000000Z K 7 svn:log V 98 Add back WARNS=0 and WFORMAT=0; gcc is finding nonexistent format string errors with %qd formats. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T09:58:50.000000Z K 7 svn:log V 97 Add pc98 to universe target. Remember about /usr/obj and look for conf/NOTES in the right place. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T10:08:08.000000Z K 7 svn:log V 69 Move the vop-vector declaration into devfs_vnops.c where it belongs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T10:18:22.000000Z K 7 svn:log V 78 The bus number is unsigned, it cannot be less than zero. Found by: FlexeLint END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-01T11:34:42.000000Z K 7 svn:log V 442 Merged all interesting difference between the old math.h and the current one into the latter and removed the former. This works around the bug that some broken Makefiles add -I.../src/include to CFLAGS, resulting in the old math.h being preferred and differences between the headers possibly being fatal. The merge mainly involves declaring some functions as __pure2 although they are not yet all strictly free of side effects. PR: 43544 END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-01T11:44:35.000000Z K 7 svn:log V 215 Fixed a last-minute editing error in previous commit. nfs and/or cvs replaced a 14-byte change in the middle of the file with 14 NULs at EOF despite or because of aborting the initial commit to pick up the change. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-01T11:44:38.000000Z K 7 svn:log V 167 - Don't use quad_t when we really mean rlim_t. - Cast rlim_t to intmax_t when printing it. This should fix the last format errors in sh(1). Tested on: i386, sparc64 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T11:48:18.000000Z K 7 svn:log V 156 Restore "not found" error message when searching for (or executing) a program fails because the file or a path component does not exist. Suggested by: bde END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-10-01T12:12:45.000000Z K 7 svn:log V 81 It is now safe to remove WARNS=0 and WFORMAT=0. Tested on: alpha, i386, sparc64 END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T13:15:11.000000Z K 7 svn:log V 29 Don't #error if we are lint. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T13:22:12.000000Z K 7 svn:log V 206 Replace a home-grown printf() clone with a fwopen() wrapper around libc's vfprintf() that writes to a `struct output' instead of a file. Inspired by NetBSD's similar changes (they used asprintf() instead). END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-01T13:28:24.000000Z K 7 svn:log V 329 Removed the only PCI_DEBUG ifdef in the kernel. PCI_DEBUG was not a supported option and it disabled a whole 2 lines of bootverbose messages. I wanted to see 1 of the messages (about the latency timers). This is a wrong place to decode pci configurations, but the code is already here and handles more details than pciconf(8). END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-01T13:29:45.000000Z K 7 svn:log V 66 test -h is deprecated; use -L instead. PR: bin/40846 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-01T13:41:13.000000Z K 7 svn:log V 96 Back out experimental changes to fmtstr() that I didn't mean to include in the previous commit. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-01T13:44:15.000000Z K 7 svn:log V 288 Changed "file system" back to "filesystem" in the usage message. English rules don't apply to tokens that are supposed to represent single args. This was only fixed in the man page. Fixed other differences between the man page and the usage message (1 formatting bug and 1 syntax bug). END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T14:01:58.000000Z K 7 svn:log V 42 A more lint friendly #ifdef lint section. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T14:05:06.000000Z K 7 svn:log V 86 Include instead of Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T14:07:18.000000Z K 7 svn:log V 52 Use long long to indicate 64bitness in #ifdef lint. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T14:08:08.000000Z K 7 svn:log V 107 It is too much work convincing lint why we would want empty structures, so make the non-empty #ifdef lint. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-01T14:10:08.000000Z K 7 svn:log V 378 - Adjust comment noting that handling of CPU limit exhaustion is done in ast(). - Actually set KEF_ASTPENDING so ast() is called. I think this is buggy for a process with multiple KSE's in that PS_XCPU is not a KSE event, it's a process-wide event. IMO there really should probably be two ASTPENDING flags, one for per-process, and one for per-KSE. Submitted by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-01T14:13:13.000000Z K 7 svn:log V 89 Actually clear PS_XCPU in ast() when we handle it. Submitted by: bde Pointy hat to: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-01T14:16:50.000000Z K 7 svn:log V 50 Various style fixups. Submitted by: bde (mostly) END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-10-01T15:21:09.000000Z K 7 svn:log V 32 Add yet another Promise PCI id. END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-10-01T15:21:57.000000Z K 7 svn:log V 46 Misc cleanups. Pointed out by: phk/flexelint END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T15:24:35.000000Z K 7 svn:log V 128 Remember to include "opt_devfs.h" so we get any relevant changes to NDEVFSINO before we include devfs.h. Spotted by: FlexeLint END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-10-01T15:42:04.000000Z K 7 svn:log V 121 Add quirks for DaisyTechnology PhotoClip camera. Submitted by: Olexander Kunitsa MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T15:48:31.000000Z K 7 svn:log V 54 Fix some harmless mis-indents. Spotted by: FlexeLint END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-01T15:49:32.000000Z K 7 svn:log V 31 Minor style nits in a comment. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-01T16:32:09.000000Z K 7 svn:log V 169 Convert the bus space accessors from macros to inlines. This fixes some problems with drivers that expect functions rather than function like macros. Reviewed by: tmm END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2002-10-01T16:41:29.000000Z K 7 svn:log V 57 MFC: Don't panic while probing the 2842 Approved by: RE END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T17:15:53.000000Z K 7 svn:log V 97 Back our kernel support for reliable signal queues. Requested by: rwatson, phk, and many others END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-01T17:17:32.000000Z K 7 svn:log V 107 Ressurect libkvm use of the bitmasked signal list in the kernel, now that reliable signal queues are gone. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T17:31:28.000000Z K 7 svn:log V 123 Remove a comma trailing an if clause. According to Kirk: "Luckily, the statement is usually true". Spotted by: FlexeLint END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-10-01T17:47:44.000000Z K 7 svn:log V 77 Fix cut&paste error: "tm_spare" should have been "km_spare". Noticed by: ru END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-10-01T17:50:44.000000Z K 7 svn:log V 63 Fix spelling error; say what "UTS" stands for. Noticed by: ru END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-01T17:59:53.000000Z K 7 svn:log V 124 Add prototypes for rstat(3) and havedisk(3). Requested by: kris, Emil Mikulic MFC After: 1 day END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T18:42:32.000000Z K 7 svn:log V 190 Don't restrict device drivers ability to sleep in the ioctl method, this is actually entirely legal. Do bio's with ioctls in them in a g_call_me() function. Sponsored by: DARPA & NAI Labs END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-01T19:05:18.000000Z K 7 svn:log V 145 Moved the cam and cd9660 modules to the MI list. Don't build msdosfs or syscons on sparc64; msdosfs will likely never work, syscons needs work. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T19:29:19.000000Z K 7 svn:log V 127 Divorce bsd disklabels, IBM PC MBR's and whatever the things are called on NEC PC98 machines. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-01T19:31:09.000000Z K 7 svn:log V 324 Don't call INT 12H anymore in boot program. Many recent machine have a broken INT 12H (Get base memory size) implementation and boot program stops if INT 12H is called. This commit should solve the problem at very first step of FreeBSD installation occurred on newer some machines. Reviewed by: bde, jhb MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T19:33:09.000000Z K 7 svn:log V 112 Use the canonical root:operator 0640 for GEOM disk devices. Spotted by: brooks Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-01T20:05:58.000000Z K 7 svn:log V 16 Whitespace nit. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-10-01T20:32:59.000000Z K 7 svn:log V 17 Return the ``u'' END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T20:51:47.000000Z K 7 svn:log V 180 The pmap_prefault_pageorder[] array was initialize with wrong values due to a missing comma. I have no idea what trouble, if any, this may have caused. Pointed out by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T20:56:29.000000Z K 7 svn:log V 89 Fix the same misinitialization of pmap_prefault_pageorder as on i386. Suggeste by: jake END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T21:59:46.000000Z K 7 svn:log V 61 Indentation indicates missing braces. Spotted by: FlexeLint END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-01T22:02:06.000000Z K 7 svn:log V 128 make rstat(3) return an 'enum clnt_stat' rather than an 'int' to match the prototype from rstat.x -> rstat.h. MFC After: 1 day END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-01T22:04:31.000000Z K 7 svn:log V 72 Add a field to struct cmn_unit to hold a pointer to the driver's softc. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-01T22:27:03.000000Z K 7 svn:log V 43 Fix two misindents. Spotted by: FlexeLint END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-01T22:33:40.000000Z K 7 svn:log V 34 Fix a typo in BGE_BIGENDIAN_INIT. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-01T22:59:11.000000Z K 7 svn:log V 109 Actually use the exitstatus value that we maintain. PR: 43562 Submitted by: Marc Olzheim END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-01T23:15:32.000000Z K 7 svn:log V 83 choosen -> chosen PR: 42962 Submitted by: Scott D Friedemann END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-01T23:35:33.000000Z K 7 svn:log V 96 Correct minor errors in the code examples. PR: 41993 Submitted by: David Lay END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-01T23:53:51.000000Z K 7 svn:log V 227 Don't claim to return the fileid which we unloaded. The kernel doesn't do this, and it wouldn't be very useful if it did, since the caller supplies us with that number. PR: 41329 Submitted by: Michael Galassi END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T00:09:24.000000Z K 7 svn:log V 278 Remove the "special processes" section. It has rotted, and the idea ceased to be useful when the number of "special processes" went from 3 to one per device. I considered replacing it with a "kernel threads" section, but this seemed like the wrong place for that. PR: 40969 END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T00:27:14.000000Z K 7 svn:log V 216 Permit the argument to the -s option to be a hostname. I see no reason to restrict this to a numeric address. PR: 41841 Submitted by: Dmitry Pryanishnikov , Maxim Maximov END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T00:29:34.000000Z K 7 svn:log V 70 Merge from crypto telnet: permit the argument to -s to be a hostname. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T00:37:01.000000Z K 7 svn:log V 124 Remove some #if 0'd code. After this, a "make unifdef" here produces no changes (against crypto telnet). Reviewed by: MD5 END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T00:59:14.000000Z K 7 svn:log V 552 In a diskless setup, rc.d/initdiskless may overwrite parts of /etc on a per-machine or per-cluster (with different ways of expressing what's part of a cluster) basis. In order for this to be effective, rc.conf has to be reread after initdiskless is finished. Implement this by adding a hook to etc/rc which rereads rc.conf by request. This can also be implemented by renaming initdiskless to initdiskless.sh and sourcing rc.conf there manually, but it was decided that, that would be uglier than a hook in etc/rc. Developed in concert with: gordon END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-02T01:33:50.000000Z K 7 svn:log V 122 Remove options NO_MODULES=true. Lots of modules build, but may not load or work properly. MAC modules work at least :). END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T02:07:08.000000Z K 7 svn:log V 190 Correct the exports(5) example to use -ro in the paragraph that talks about how exporting / and /usr works even if they're read-only. PR: 42076 Submitted by: Marco Molteni END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T02:17:59.000000Z K 7 svn:log V 156 Don't crash when the user feeds us nonesense in the form: ifconfig IF ether WHATEVER -alias PR: 42544 Submitted by: Mike Makonnen END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-02T02:42:38.000000Z K 7 svn:log V 679 Add a new MAC entry point, mac_thread_userret(td), which permits policy modules to perform MAC-related events when a thread returns to user space. This is required for policies that have floating process labels, as it's not always possible to acquire the process lock at arbitrary points in the stack during system call processing; process labels might represent traditional authentication data, process history information, or other data. LOMAC will use this entry point to perform the process label update prior to the thread returning to userspace, when plugged into the MAC framework. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T03:24:27.000000Z K 7 svn:log V 183 Add an -o option to exit after receiving one reply. This can be used to test whether a link is live. PR: 38573 Submitted by: David Taylor Obtained from: NetBSD END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-02T03:29:00.000000Z K 7 svn:log V 82 Removed bits related to MBRs now that they have a proper home in . END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T04:13:32.000000Z K 7 svn:log V 266 o Update a visibility conditional. o Adjust some comments in keeping with the header's local style. o Change some typedefs to use types that don't require namespace pollution or deprecated types. o Move some macros to the "does not belong in this header" section. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T04:19:47.000000Z K 7 svn:log V 92 Use visibility conditionals. Only TCP_NODELAY ends up being defined in the standards case. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T04:22:34.000000Z K 7 svn:log V 129 Include so the visibility conditionals are available. (This should have been included with the previous revision.) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-02T04:42:24.000000Z K 7 svn:log V 80 Create/destroy memory zones on module load/unload, not on device attach/detach. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-02T04:47:52.000000Z K 7 svn:log V 57 Use more standard variable names for modevent functions. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-10-02T05:15:34.000000Z K 7 svn:log V 56 size_t is not a struct (fix mislabelling in a comment). END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-02T06:24:19.000000Z K 7 svn:log V 27 Cast malloc() assignments. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-10-02T07:02:46.000000Z K 7 svn:log V 136 Too strict error checking in rev. 1.22 broke pwd_mkdb(8) in NIS environment. An empty UID and GID are valid there. Spotted by: rwatson END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T07:16:04.000000Z K 7 svn:log V 48 Virgin import (trimmed) of eXpat version 1.95.5 END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T07:16:04.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r104349, 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 2002-10-02T07:16:05.000000Z K 7 svn:log V 77 This commit was manufactured by cvs2svn to create tag 'expat-vendor-v1_95_5'. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T07:35:35.000000Z K 7 svn:log V 74 Build libexpat out of src/contrib/expat. Not connected to the build yet. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T07:36:08.000000Z K 7 svn:log V 25 Add LIBEXPAT definition. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-10-02T07:44:29.000000Z K 7 svn:log V 622 Some kernel threads try to do significant work, and the default KSTACK_PAGES doesn't give them enough stack to do much before blowing away the pcb. This adds MI and MD code to allow the allocation of an alternate kstack who's size can be speficied when calling kthread_create. Passing the value 0 prevents the alternate kstack from being created. Note that the ia64 MD code is missing for now, and PowerPC was only partially written due to the pmap.c being incomplete there. Though this patch does not modify anything to make use of the alternate kstack, acpi and usb are good candidates. Reviewed by: jake, peter, jhb END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T07:44:50.000000Z K 7 svn:log V 321 Use standards visibility conditionals to conditionalize most of this header (details on how the visibility conditionals work are available in ). Use standard types instead of BSD specific ones, so that this header compiles in the standards case (specifically this means changing `u_int' to `unsigned int'). END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T07:48:13.000000Z K 7 svn:log V 201 o Add typedef for size_t. o Fix regoff_t typedef to not require as a prerequisite (specifically use `__off_t' instead of `off_t'). o Add restrict type-qualifier to function prototypes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T07:48:39.000000Z K 7 svn:log V 101 Put some failing ioctl related printfs under a suitable debug flag. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T07:49:35.000000Z K 7 svn:log V 29 Add restrict type-qualifier. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T07:51:02.000000Z K 7 svn:log V 70 Move GEOM's sysctls under kern.geom. Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T07:55:33.000000Z K 7 svn:log V 88 style(9): o Align members of struct if_nameindex. o Align and sort function prototypes. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-10-02T08:42:06.000000Z K 7 svn:log V 265 Further improve --fast-read mode - when reading archive from stdin ensure that SIGTERM we are sending to decompressor when there is nothing left to do is actually delivered to decompressor, not to the another copy of tar, which does unblocking. MFC after: 2 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T08:59:28.000000Z K 7 svn:log V 67 #include the right thing for PC98 Sponsored by: DARPA & NAI Labs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T09:09:25.000000Z K 7 svn:log V 44 Fix mis-indentation. Spotted by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T09:11:18.000000Z K 7 svn:log V 161 Mark two places where an unsigned number is checked "if (foo < 0)" with an XXX comment. Somebody[TM] should look at this in some detail. Spotted by: FlexeLint END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T09:34:29.000000Z K 7 svn:log V 114 Absorb into kern/subr_bus.c to prevent misunderstandings. Suggested by: bde Approved by: dfr END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-10-02T09:38:17.000000Z K 7 svn:log V 178 Since bpf is no longer an optional component, remove associated ifdef's. Submitted by: don't quite remember - the name of the sender disappeared with the rest of my inbox. :( END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-02T09:57:54.000000Z K 7 svn:log V 189 Use %d in a printf() format string and cast the argument to int instead of using %td when we know that the number is between 0 and 9; mksyntax is a build tool and needs to work on -stable. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-10-02T10:53:44.000000Z K 7 svn:log V 259 Add the 'restrict' type qualifier to the prototypes of `sigaction', `sigprocmask', `sigaltstack', and `sigwait' as well as to the prototypes of the apparantly unimplemented functions `sigtimedwait' and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001. END K 10 svn:author V 4 roam K 8 svn:date V 27 2002-10-02T12:31:10.000000Z K 7 svn:log V 134 Teach ncal(1) about month names specified on the command line. Reviewed by: -audit Approved by: silence on -audit MFC after: 3 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T13:52:36.000000Z K 7 svn:log V 131 PC98 is not a true architecture, but a subarchitecture of i386, so we need to use a slightly differnt command to PC98::buildworld. END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-10-02T14:13:38.000000Z K 7 svn:log V 57 MFC: Add yet another Promise chip id. Approved by: re@ END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-02T14:28:26.000000Z K 7 svn:log V 78 Add an example showing how to use wcstok(). Fix ordering of See Also section. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2002-10-02T14:30:14.000000Z K 7 svn:log V 64 MFi386: fork1 apparently takes 4 args now Forgotten by: scottl END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-02T16:03:26.000000Z K 7 svn:log V 129 Remove 6-years-stale #if0, the behaviour isn't ever going to be limited to compatible mode, as far as I know, since we use it... END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-02T16:06:39.000000Z K 7 svn:log V 83 Code that has been #if0'd with the comment "WHY" since revision 1.1 can disappear. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-02T16:14:16.000000Z K 7 svn:log V 61 Unhook rpc.rstatd from the build until it actually compiles. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-10-02T16:25:04.000000Z K 7 svn:log V 122 Update sysinstall text for the number and size of ports in the ports collection (see ports/INDEX 1.366). Approved by: re END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-02T16:39:39.000000Z K 7 svn:log V 111 De-obfuscate local use of members of 'struct thread', for which we have local variables, and group assignment. END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-10-02T16:48:16.000000Z K 7 svn:log V 75 Let kse_wakeup() take a KSE mailbox pointer argument. Reviewed by: julian END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-10-02T17:07:39.000000Z K 7 svn:log V 20 -Wall'ify (mostly). END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2002-10-02T17:50:38.000000Z K 7 svn:log V 239 Add 2 Ids for new ServerWorks host to PCI bridge chipset. These are still unknown name but these are working as well as the other ServerWorks chipset. Description strings should be corrected when the chipsets are known. MFC after: 1 week END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-10-02T18:01:51.000000Z K 7 svn:log V 66 Add a man page for the KSE system calls. Reviewed by: julian, ru END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-02T18:25:09.000000Z K 7 svn:log V 59 Access td->td_kse inside sched_lock. Submitted by: julian END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T18:29:50.000000Z K 7 svn:log V 127 Rename local function havedisk() to haveadisk() to avoid conflict a with another function by the same name in a system header. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T18:37:11.000000Z K 7 svn:log V 59 Hook rpc.rstatd back up to the build now that it compiles. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T20:29:54.000000Z K 7 svn:log V 76 Fix a probably rare and inconsequential memory leak. Spotted by: FlexeLint END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-02T20:31:47.000000Z K 7 svn:log V 497 Rename the mutex thread and process states to use a more generic 'LOCK' name instead. (e.g., SLOCK instead of SMTX, TD_ON_LOCK() instead of TD_ON_MUTEX()) Eventually a turnstile abstraction will be added that will be shared with mutexes and other types of locks. SLOCK/TDI_LOCK will be used internally by the turnstile code and will not be specific to mutexes. Making the change now ensures that turnstiles can be dropped in at a later date without affecting the ABI of userland applications. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-10-02T20:33:52.000000Z K 7 svn:log V 35 Catch up to SMTX -> SLOCK changes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-10-02T20:34:23.000000Z K 7 svn:log V 74 Fix rare and probably inconsequential memory leak. Spotted by: FlexeLint END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-10-02T23:12:01.000000Z K 7 svn:log V 20 Whitespace fix only END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-02T23:25:38.000000Z K 7 svn:log V 368 Fix various style(9) bugs: o Unusual order of #ifndef _FOO_H_, followed by license. o Missing tab in struct sched_param between type and member name. o Space used, instead of tab, after #define. o Reversed comment for #endif. o Irregular comment block. o Space used, instead of tab, to seperate return value type from function name. o Unordered function prototypes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2002-10-03T01:22:05.000000Z K 7 svn:log V 91 set ke_bound to NULL when kse owner thread becomes runnable. Reviewed by: julian (mentor) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2002-10-03T02:13:00.000000Z K 7 svn:log V 302 In an SMP environment post-Giant it is no longer safe to blindly dereference the struct sigio pointer without any locking. Change fgetown() to take a reference to the pointer instead of a copy of the pointer and call SIGIO_LOCK() before copying the pointer and dereferencing it. Reviewed by: rwatson END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-03T04:09:00.000000Z K 7 svn:log V 304 XXX Add a check for p->p_limit being NULL before dereferencing it. This is totally bogus but will hide the occurances of access of 0xbc(NULL) which people have run into lately. This is not a proper fix, just a bandaid, until the cause of this happening is tracked down and fixed. Reviewed by: rwatson END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-10-03T04:32:47.000000Z K 7 svn:log V 256 In lieu of a good way to prevent every possible looping in make(1), stop there from being more than 500 processes forked by make(1), to prevent a forkbomb from happening, in a dumb and mechanical way. PR: alane Submitted by: bin/42772 MFC after: 2 weeks END K 10 svn:author V 8 truckman K 8 svn:date V 27 2002-10-03T06:03:26.000000Z K 7 svn:log V 169 hashinit() calls MALLOC(), so release the filedesc lock in knote_attach() before calling hashinit() and relock afterwards, taking care to see that we don't lose a race. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2002-10-03T06:10:54.000000Z K 7 svn:log V 41 Correct an indentation. Noticed by: phk END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-03T06:27:50.000000Z K 7 svn:log V 151 Remove namespace pollution by not including and , instead provide a local typedef for pid_t and forward declare struct timespec. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-03T06:31:16.000000Z K 7 svn:log V 246 Fix various style(9) bugs: o Source ID's in wrong location. o Space used, instead of tab, after typedef. o Unaligned function prototype for twalk(). Other changes: o Add missing const qualifier in tfind(). o Add comment about missing functions. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-03T06:33:33.000000Z K 7 svn:log V 40 Add missing const qualifier in tfind(). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-10-03T06:44:01.000000Z K 7 svn:log V 73 Static'ify a variable. Submitted by: Matt Emmerton END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-03T08:49:29.000000Z K 7 svn:log V 69 Add an Examples section with an example of how to use the functions. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-03T10:40:01.000000Z K 7 svn:log V 181 towlower() appeared twice in the synopsis; one of the occurrences should have been towupper(). Add towupper() to the Name section while I'm at it. Obtained from: NetBSD (junyoung) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-03T10:42:19.000000Z K 7 svn:log V 45 HTTP authentication got broken in rev. 1.49. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-03T11:14:00.000000Z K 7 svn:log V 217 Point out that although toupper() and tolower() really accept rune_t's and not just unsigned char's, callers should use towupper() and towlower() instead when working with wide characters if portability is a concern. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-03T11:23:06.000000Z K 7 svn:log V 217 Document towlower() and towupper() in separate manual pages instead of trying to confusingly document both on the same page. The new manual pages are based on tolower(3) and toupper(3) instead of the old towlower(3). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-03T13:46:09.000000Z K 7 svn:log V 42 Updated text for the MAC framework, UFS2. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-03T14:07:26.000000Z K 7 svn:log V 16 Add an example. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-03T14:09:06.000000Z K 7 svn:log V 62 Improve three instances of questionable or confusing grammar. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2002-10-03T14:11:29.000000Z K 7 svn:log V 97 Fix some twelve hour clock braindamage. The range for hours is 0-23 not 1-12. MFC After: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-03T15:00:07.000000Z K 7 svn:log V 291 Use a non-bogus type for representing the values of offsets in structs. off_t is for offsets in files, and it is signed so it was no better than the original type of int for avoiding warnings from broken lints, except accidentally on machines like i386's where size_t is smaller than off_t. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-03T16:20:14.000000Z K 7 svn:log V 70 Added some header files from -stable and fixed the boot[12] programs. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-10-03T16:21:40.000000Z K 7 svn:log V 17 Connected boot2. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-10-03T17:19:36.000000Z K 7 svn:log V 122 Oops, the previous version was a last minute test version with off_t replaced by int instead of size_t. Spotted by: fanf END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-10-03T17:25:33.000000Z K 7 svn:log V 163 Allocate 64K recieve buffer for DNS responses. Though res_query.c also defines and refers MAXPACKET, it is not related to ansbuf. So, I didn't touch res_query.c. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-03T18:12:03.000000Z K 7 svn:log V 114 Cope with a GCC bug by using an alternative, but equivalent function prototype for regexec(). Noticed by: robert END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-10-03T18:34:13.000000Z K 7 svn:log V 154 Fix various style(9) bugs: o Unusual order of #ifndef _FOO_H_, followed by license. o Missing tabs in typedef and #define. o Reversed comment for #endif. END K 10 svn:author V 5 johan K 8 svn:date V 27 2002-10-03T19:30:22.000000Z K 7 svn:log V 242 Actually implement gzip's -c option. minigzip now also doubles as zcat properly. PR: 13043 Submitted by: Toshihiko ARAI Jonathan Towne Approved by: peter, sheldonh (mentor) MFC After: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-10-03T19:39:20.000000Z K 7 svn:log V 15 Add stpcpy(3). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-10-03T19:51:04.000000Z K 7 svn:log V 15 Add stpcpy(3). END K 10 svn:author V 3 ken K 8 svn:date V 27 2002-10-03T19:59:24.000000Z K 7 svn:log V 67 Fix style problems in the quirk entry section. MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-03T20:30:09.000000Z K 7 svn:log V 282 Move swblk_t from sys/types.h to sys/dmap.h, the only include that uses it. It's also only used in vm/vm_swap.c, but that is also the only source file that #include's . sys/dmap.h could probably be embedded entirely in vm_swap.c since that is the only consumer of it. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2002-10-03T20:39:29.000000Z K 7 svn:log V 156 Fix all whitespace style bugs where spaces have been used where tabs should have been. Cut & paste disease? Spotted by: vi(1) tabstop=4 MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-10-03T21:50:37.000000Z K 7 svn:log V 202 Correct a problem wherein NFS servers running NFSv2 would not return certain classes of failure responses to the client during a failed remove operation. Submitted by: Ian Dowse END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:18:21.000000Z K 7 svn:log V 23 Update for post-kseIII END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:19:58.000000Z K 7 svn:log V 30 Update stubs for post-kseIII. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:24:31.000000Z K 7 svn:log V 166 Drop login.c and logwtmp.c from the library build. None of the apps that we build use it, and any that do should be using the official login()/logwtmp() in libutil. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:25:50.000000Z K 7 svn:log V 65 Make the man page for utmp/lastlog match the actual definitions. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:29:26.000000Z K 7 svn:log V 123 EFI GPT partitions use 'p' as a slice seperator. eg: da0p1 or da0p217. (There is a theoretical limit of 16384 partitions) END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:32:09.000000Z K 7 svn:log V 91 Display the name of the acpi node that we do not find the pci interrupt routing table for. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:33:46.000000Z K 7 svn:log V 85 Fix printf format errors on 64 bit systems where sizes are long instead of just int. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T00:35:22.000000Z K 7 svn:log V 105 Oops, missed this one. Fix a printf format error on 64 bit systems where sizes are long instead of int. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T01:00:35.000000Z K 7 svn:log V 534 Do a bit of rude hackery to get clock interrupts on all CPUs. This is partly based on the Alpha system which duplicates the clock to each cpu, instead of doing a clock roundrobin like on i386. This means we get hz * ncpu clocks per second and so we have to seperate clock sampling from actual 'do the work' clock processing. The BSP runs the complete processing, the rest just sample state etc. Using the on-cpu interval timer is not ideal as it will drift. There is more to be done here, we should use an external clock source. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2002-10-04T01:13:34.000000Z K 7 svn:log V 167 - fix zero-sized stack alloc from previous commit. a default is now selected ala sparc64 - KSEIII routines implemented (taken from i386/sparc64) Approved by: Benno END K 10 svn:author V 6 grehan K 8 svn:date V 27 2002-10-04T01:19:18.000000Z K 7 svn:log V 94 Clean up ddb warnings/errors and enable in GENERIC Approved by: benno Motivated by: gallatin END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T01:23:58.000000Z K 7 svn:log V 38 Declare itc_frequency and itm_reload. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T01:31:39.000000Z K 7 svn:log V 403 Add some unspeakable hackery to the tree under #ifdef __ia64__ to work around limitations in the ia64 kernel stack handling code. Basically preallocate a bunch of threads (and hence kstacks) while contigmalloc() still works, and never free them back to the general memory pool. After the system has been running for a while, contigmalloc() eventually fails at a critical momemt and panics the system. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T01:33:30.000000Z K 7 svn:log V 45 List the IO SAPIC delivery mode definitions. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-10-04T01:57:46.000000Z K 7 svn:log V 77 Gah, spell extern correctly. Do not trust cut/paste via old mozilla builds. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-04T01:58:55.000000Z K 7 svn:log V 38 Remove duplicate calls to make_dev(). END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-04T02:21:26.000000Z K 7 svn:log V 24 Minor style(9) changes. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2002-10-04T03:06:16.000000Z K 7 svn:log V 152 Yesterday, FreeBSD-current ate my disklabel. Today, I wrote a program to tell me where the partitions used to be. Now I have my /media filesystem back. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-10-04T03:18:26.000000Z K 7 svn:log V 205 Add a placeholder implementation of wcscoll() and wcsxfrm() which gives locale-sensitive collation only in single-byte locales, and just does binary comparison for the others with extended character sets. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-10-04T06:06:04.000000Z K 7 svn:log V 107 Alas, poor matcd, I knew ye well. It doesn't work. It cannot be made to work. Goodbye. X-MFC after: ASAP END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-04T07:14:19.000000Z K 7 svn:log V 38 newbus & bus_space the mcd(4) driver. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-04T07:15:34.000000Z K 7 svn:log V 27 Turn on the mcd(4) module. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-10-04T08:11:59.000000Z K 7 svn:log V 72 MFC: 1.61: Reincarnate HTTP authentication code. Approved by: re (jhb) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-10-04T08:33:10.000000Z K 7 svn:log V 35 Remove duplicate make_dev() calls. END