ƒ³*91219 190 622 357 266 138 180 735 336 291 290 214 223 189 118 166 294 636 471 179 719 121 1525 166 241 302 283 275 165 606 187 146 206 116 182 149 160 123 686 326 215 301 135 1450 141 158 122 166 135 295 385 154 171 340 142 360 339 781 164 179 202 160 119 232 135 645 289 782 164 204 149 233 127 116 162 140 150 227 241 257 299 147 160 285 476 202 133 122 99 290 183 190 118 181 133 133 239 173 5029 345 159 188 239 144 256 248 415 138 308 222 158 155 185 286 132 221 145 169 110 295 146 110 108 197 148 147 266 431 143 161 265 142 129 124 166 140 117 593 611 233 118 325 222 174 475 484 168 144 131 421 383 128 289 173 212 184 547 180 352 268 231 219 110 112 214 160 115 187 302 216 322 222 336 99 311 139 139 1112 251 467 133 194 109 299 126 215 1249 180 606 174 115 163 K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T04:31:25.000000Z K 7 svn:log V 529 Declare time(not3) instead of depending on namespace pollution 3 layers deep in to eventually include to declare the user version. This is not quite the right place to declare it, but would be worse because time() is very MD so it isn't in libstand. Many places in the boot sources still get the user version using only 1 layer of pollution (#include . Some pollute themselves directly (#include ). But the boot Makefiles are too broken to enable warnings for redeclarations. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T04:47:39.000000Z K 7 svn:log V 264 #include instead of depending on namespace pollution in for the declaration of struct timeval (sys/stat.h> only needs timespecs even when its POSIX support is not turned on, so it shouldn't declare timevals). Fixed some #include messes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-25T04:49:17.000000Z K 7 svn:log V 170 Use the default 'ld' emulation rather than hard coding it. For FreeBSD, 'ld' 2.12.0 uses a different emulation than in the past. So this change makes the upgrade easier. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-25T04:52:36.000000Z K 7 svn:log V 43 MFC: rev 1.41 (use default 'ld' emulation) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-02-25T04:52:56.000000Z K 7 svn:log V 86 Improve grep'ing for variables in make.conf and rc.conf*. Thanks to cjc for the idea. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-25T04:56:50.000000Z K 7 svn:log V 641 Modify the tte format to not include the tlb context number and to store the virtual page number in a much more convenient way; all in one piece. This greatly simplifies the comparison for a matching tte, and allows the fault handlers to be much simpler due to not having to load wierd masks. Rewrite the tlb fault handlers to account for the new format. These are also written to allow faults on the user tsb inside of the fault handlers; the kernel fault handler must be aware of this and not clobber the other's registers. The faults do not yet occur due to other support that is needed (and still under my desk). Bug fixes from: tmm END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T05:00:39.000000Z K 7 svn:log V 243 #include instead of depending on namespace pollution in for the declaration of struct timeval. Removed unused includes ( doesn't declare anything of interest; only does). Sorted includes a bit. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T05:09:12.000000Z K 7 svn:log V 198 Unremoved used includes. is needed if isn't polluted, and is strictly a prerequisite for untiil we drop support for pre-2001 versions of POSIX. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T05:16:22.000000Z K 7 svn:log V 197 #include instead of depending on namespace pollution in for the declaration of struct timeval. Intentionally don't follow the local style of polluting the local headers. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T05:23:59.000000Z K 7 svn:log V 121 #include instead of depending on namespace pollution in for the declaration of struct timeval. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T05:31:49.000000Z K 7 svn:log V 130 #include for the definition of time functions instead of depending on namespace pollution 2 layers deep in . END K 10 svn:author V 8 matusita K 8 svn:date V 27 2002-02-25T05:35:39.000000Z K 7 svn:log V 92 Typo fix: missing ;. Pointed out by: Manfred Antar Pointy hat to: matusita END K 10 svn:author V 8 matusita K 8 svn:date V 27 2002-02-25T05:36:34.000000Z K 7 svn:log V 21 MFC 1.658: typo fix. END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-02-25T07:25:38.000000Z K 7 svn:log V 71 Add some basic FreeBSD/sparc64 Hardware Notes. Reviewed by: jake, tmm END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T07:39:34.000000Z K 7 svn:log V 201 #include for the definition of time functions instead of depending on namespace pollution 2 layers deep in . Removed unused include of . Only its pollution was used. END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-25T08:29:21.000000Z K 7 svn:log V 543 The TCP code did not do sufficient checks on whether incoming packets were destined for a broadcast IP address. All TCP packets with a broadcast destination must be ignored. The system only ignored packets that were _link-layer_ broadcasts or multicast. We need to check the IP address too since it is quite possible for a broadcast IP address to come in with a unicast link-layer address. Note that the check existed prior to CSRG revision 7.35, but was removed. This commit effectively backs out that nine-year-old change. PR: misc/35022 END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-02-25T09:17:44.000000Z K 7 svn:log V 374 Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) system call returns `EISDIR', not `EEXIST', so that be prepared for that. This should fix number of ports, that often call `mkdir -p //usr/local/foobar'. This is just a quick workaround, the real fix would be either to avoid calling mkdir("/", ...) or fix VFS code to return consistent errno for this case. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-25T09:41:43.000000Z K 7 svn:log V 84 Document what inpcb->inp_vflag is for. Submitted by: Marco Molteni END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-25T09:51:17.000000Z K 7 svn:log V 626 Add a new test_counter() function which tries to determine the width of the inter-value histogram for 2000 samples. If the width is 3 or less for 10 consequtive samples, we trust the counter to be good, otherwise we use the *_safe() method. This method may be too strict, but the worst which can happen is that we take the performance hit of the *_safe() method when we should not. Make the *_safe() method more discriminating by mandating that the three samples do not span more than 15 ticks on the counter. Disable the PCI-ident based probing as a means to recognize good counters. Inspiration from: dillon and msmith END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-02-25T10:27:51.000000Z K 7 svn:log V 26 Add a few missing commas. END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-25T10:54:07.000000Z K 7 svn:log V 1431 MFC: Long ago, there was just /etc/daily. Then /etc/security was split out of /etc/daily. Some time later, /etc/daily became a set of periodic(8) scripts. Now, this evolution continues, and /etc/security has been broken into periodic(8) scripts to make local customization easier and more maintainable. src/etc/Makefile 1.264 src/etc/defaults/periodic.conf 1.18 src/etc/mtree/BSD.root.dist 1.57 src/etc/periodic/Makefile 1.3 src/etc/periodic/daily/450.status-security 1.9 src/etc/periodic/security/100.chksetuid 1.1 src/etc/periodic/security/200.chkmounts 1.2 src/etc/periodic/security/300.chkuid0 1.1 src/etc/periodic/security/400.passwdless 1.1 src/etc/periodic/security/500.ipfwdenied 1.1 src/etc/periodic/security/550.ipfwlimit 1.2 src/etc/periodic/security/600.ip6fwdenied 1.1 src/etc/periodic/security/650.ip6fwlimit 1.2 src/etc/periodic/security/700.kernelmsg 1.1 src/etc/periodic/security/800.loginfail 1.1 src/etc/periodic/security/900.tcpwrap 1.1 src/etc/periodic/security/Makefile 1.1 src/etc/security 1.60 src/share/man/man5/periodic.conf.5 1.38 src/usr.sbin/periodic/periodic.8 1.26 END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-02-25T10:54:08.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_4_6'. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-25T12:02:03.000000Z K 7 svn:log V 148 #include for the definition of time functions instead of depending on namespace pollution 2 layers deep in . Sorted includes. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-02-25T13:24:02.000000Z K 7 svn:log V 205 In rev.1.4 type of (group)->gr_gid was changes from (int) to (gid_t), so that is now required. Add it, otherwise it breaks some ports. Submitted by: Joe Marcus Clarke END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-02-25T13:55:47.000000Z K 7 svn:log V 186 Backout rev.1.5 - it seems that it's posixly correct that the program needs to include before . Submitted by: fjoe, sheldonh David Malone END K 10 svn:author V 3 des K 8 svn:date V 27 2002-02-25T16:39:34.000000Z K 7 svn:log V 182 Rewrite the part of the conversation function that allocates the reply array; it was inelegant and neglected to check the return value from malloc(3). Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-02-25T17:20:40.000000Z K 7 svn:log V 69 Per POSIX doesn't require . Submitted by: ache END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-25T18:37:17.000000Z K 7 svn:log V 512 Implement a nested window state. This avoids attempting to spill a user window to the user stack while in a nested kernel trap. We do this for entry to the kernel from user mode, but if we get an interrupt in kernel mode while there are still user windows in the cpu, and we attempt to spill to the user stack, we may take too many nested traps and overflow the trap stack, causing a red state exception. This is needed by upcoming changes to allow the user tsb to not be locked in the tlb. Reviewed by: tmm END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-25T19:27:49.000000Z K 7 svn:log V 95 Fix a typo that somehow snuck into the last revision. This fixes the sh(1) syntax of the file. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-02-25T19:48:04.000000Z K 7 svn:log V 49 Add myself. Reviewed by: mike Approved by: mike END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-02-25T19:51:34.000000Z K 7 svn:log V 108 Add a link to the hubs article, at the part that talks about setting up FreeBSD mirrors. Reviewed by: bmah END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-25T21:42:23.000000Z K 7 svn:log V 22 Tidy up some warnings END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-25T21:52:34.000000Z K 7 svn:log V 90 Add one. Submitted by: jedgar Reviewed by: The usual gang of idiots in that IRC channel. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-25T21:53:18.000000Z K 7 svn:log V 55 Supply -DNO_WERROR to the kernel build during release. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-25T21:54:06.000000Z K 7 svn:log V 66 Add 'nowerror' to the vendor acpica code that spews out warnings. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-25T21:59:57.000000Z K 7 svn:log V 29 Add a hint about -DNO_WERROR END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-25T22:04:33.000000Z K 7 svn:log V 591 Turn on -Werror by default. This is is easily turned off, by either: - fix the warnings, they are there for a reason! - add -DNO_ERROR to your make(1) command. - add 'makeoptions NO_WERROR=true' to your kernel config. - add 'nowerror' to conf/files* that have warnings that should be fixed due to tracking 3rd party vendor code. - add 'nowerror' to conf/files* where the warning is false due to a compiler bug and fixing it with brute force would be too expensive. There are some very sloppy warnings in our kernel build, come on folks! 'make release' uses -DNO_WERROR intentionally. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-25T22:13:44.000000Z K 7 svn:log V 230 I was able to boot this kernel using the latest WIP kernel sources. I don't believe anyone is quite using the sparc64 kernel sources in CVS yet -- things aren't just quite ready (but almost). So this commit should be OK to make. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-25T22:58:41.000000Z K 7 svn:log V 121 Remove code to lock the user tsb into the tlb. We can handle faults on it now, as we do for normal wired kernel memory. END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-25T23:26:13.000000Z K 7 svn:log V 208 Thoreau listed twice. Give RFK's fullname and place of birth. Spell 'Wiener' correctly and add place of birth. PR: misc/35305 Submitted by: Philipp Mergenthaler END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-25T23:31:48.000000Z K 7 svn:log V 43 MFC 1.13 through 1.17: Sync with -CURRENT. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-25T23:49:51.000000Z K 7 svn:log V 1354 Work-in-progress commit syncing up pmap cleanups that I have been working on for a while: - fine grained TLB shootdown for SMP on i386 - ranged TLB shootdowns.. eg: specify a range of pages to shoot down with a single IPI, since the IPI is very expensive. Adjust some callers that used to trigger this inside tight loops to do a ranged shootdown at the end instead. - PG_G support for SMP on i386 (options ENABLE_PG_G) - defer PG_G activation till after we decide what we are going to do with PSE and the 4MB pages at the start of the kernel. This should solve some rumored strangeness about stale PG_G entries getting stuck underneath the 4MB pages. - add some instrumentation for the fine TLB shootdown - convert some asm instruction wrappers from functions to inlines. gcc seems to do a fair bit better with this. - [temporarily!] pessimize the tlb shootdown IPI handlers. I will fix this again shortly. This has been working fairly well for me for a while, but I have tweaked it again prior to commit since my last major testing round. The only outstanding problem that I know of is PG_G related, which is why there is an option for it (not on by default for SMP). I have seen a world speedups by a few percent (as much as 4 or 5% in one case) but I have *not* accurately measured this - I am a bit sceptical of these numbers. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-26T00:55:27.000000Z K 7 svn:log V 47 Fix a warning. Do not assume pointer == long. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-26T01:00:39.000000Z K 7 svn:log V 64 Fix a warning. useracc() should take a const pointer argument. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-26T01:01:37.000000Z K 7 svn:log V 28 Remove unused variable (td) END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-26T01:03:39.000000Z K 7 svn:log V 72 Fix warning. s/microuptime()/binuptime()/ for switchtime initial value. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-26T01:04:58.000000Z K 7 svn:log V 41 Fix warning; amdsmb_abort() is not used. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-26T01:11:08.000000Z K 7 svn:log V 200 Fix a warning by pulling prototype for arp_ifinit() into scope. Then fix cast the correct value into an incorrect value, which was not detected due to the missing prototype (but was harmless anyway). END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-26T01:15:08.000000Z K 7 svn:log V 292 Merge from NetBSD: usb.h (rev 1.61): date: 2002/01/01 14:23:37; author: augustss; Add a missing subclass definition. usb.h (rev 1.63) and usb_port.h (rev 1.52): date: 2002/02/25 00:46:37; author: augustss; Some portability improvement. Add define for usb.h version. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-26T01:19:56.000000Z K 7 svn:log V 59 in ulpt_reset() req.bmRequestType was unitialized, fix it. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-26T01:32:49.000000Z K 7 svn:log V 79 MFC: revision 1.42 In ulpt_reset() req.bmRequestType was unitialized, fix it. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-26T01:56:56.000000Z K 7 svn:log V 244 Make gif(4) nesting level and parallel tunnel support tunable at runtime via sysctl's. The old #defines, MAX_GIF_NEST and XBONEHACK are currently supported for backwards compatability, but will probably be removed at some point in the future. END K 10 svn:author V 6 jedgar K 8 svn:date V 27 2002-02-26T02:11:13.000000Z K 7 svn:log V 47 Enforce inbound IPsec SPD Reviewed by: fenner END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-26T02:19:33.000000Z K 7 svn:log V 264 When using hardware decoding, reconstruct the wire form of the ethernet header and push it up any attached bpf devices on the parent interface. This makes hardware vlan decoding more like the normal software path. Tested by: cjtt@employees.org MFC after: 2 weeks END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-26T02:36:49.000000Z K 7 svn:log V 246 After getting IANA to fix a typo in their port assignments, add some new IANA-blessed services and close some PRs. Ports for Jabber and PostgreSQL. PR: conf/35219, conf/35220 Submitted by: Sean Chittenden MFC after: 1 day END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-26T02:37:43.000000Z K 7 svn:log V 687 Allow the user tsb to span multiple pages. Make the default 2 pages for now until we do some testing to see what's best. This gives a massive reduction in system time for processes with a relatively large working set. The size of the tsb directly affects the rss size that a user process can keep mapped. When it starts to get full replacements occur and the process takes a lot of soft vm faults. Increasing the default from 1 page to 2 gives the following before and after numbers for compiling vfs_bio.c: before: 14.27 real 6.56 user 5.69 sys after: 8.57 real 6.11 user 1.62 sys This should make self hosted builds more tolerable. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-26T03:00:19.000000Z K 7 svn:log V 72 minor style(9) fix: return (foo); The file was mostly style(9) before. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-26T03:13:30.000000Z K 7 svn:log V 87 Add an experimental tunable: machdep.conspeed. # I'm not sure where to document this. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-26T03:22:44.000000Z K 7 svn:log V 109 If we're going to ifdef out the only reference to asr_drvinit, then go ahead and ifdef out the function too. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-26T03:31:35.000000Z K 7 svn:log V 68 Fix warnings introduced in the PCI_ALLOW_UNSUPPORTED_IO_RANGE case. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-26T03:37:35.000000Z K 7 svn:log V 27 Remove an unused variable. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-26T03:46:14.000000Z K 7 svn:log V 139 Until I can figure out how to live without the volatile qualifier on comdefaultrate, comment out the support for machdep.conspeed for now. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-02-26T04:21:30.000000Z K 7 svn:log V 38 MFC: vlan support. Approved by: imp END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-26T05:32:43.000000Z K 7 svn:log V 550 MFC rev 1.132: A few misc forkbomb defenses: - Leave 10 processes for root-only use, the previous value of 1 was insufficient to run ps ax | more. - Remove the printing of "proc: table full". When the table really is full, this would flood the screen/logs, making the problem tougher to deal with. - Force any process trying to fork beyond its user's maximum number of processes to sleep for .5 seconds before returning failure. This turns 2000 rampaging fork monsters into 2000 harmlessly snoozing fork monsters. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2002-02-26T05:43:05.000000Z K 7 svn:log V 191 In ad-hoc mode, the "associate" bit is valid to check to see if it is part of an ad-hoc network. This means another station needs to be around so they can both associate. MFC after: 1 week END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-26T05:49:28.000000Z K 7 svn:log V 687 MFC OOM killer changes: Changes to make the OOM killer much more effective: - Allow the OOM killer to target processes currently locked in memory. These very often are the ones doing the memory hogging. - Drop the wakeup priority of processes currently sleeping while waiting for their page fault to complete. In order for the OOM killer to work well, the killed process and other system processes waiting on memory must be allowed to wakeup first. Revision Changes Path 1.128 +2 -2 src/sys/vm/vm_fault.c 1.176 +23 -0 src/sys/vm/vm_page.c 1.188 +1 -2 src/sys/vm/vm_pageout.c 1.28 +3 -1 src/sys/vm/vm_pageout.h END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-02-26T06:29:08.000000Z K 7 svn:log V 71 Fix some minor spelling and grammatical problems, make one markup fix. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-26T06:39:38.000000Z K 7 svn:log V 110 Pu back a call to pmap_context_destroy which was accidentily removed in the previous commit. Spotted by: tmm END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-02-26T06:43:59.000000Z K 7 svn:log V 56 Sync with sparc64 devices in dev-sparc64.sgml rev. 1.1. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-26T06:57:30.000000Z K 7 svn:log V 139 Convert pmap.pm_context to an array of contexts indexed by cpuid. This doesn't make sense for SMP right now, but it is a means to an end. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-26T07:44:03.000000Z K 7 svn:log V 34 Hide GCCisms in the non-GCC case. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-26T09:16:27.000000Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-26T09:21:52.000000Z K 7 svn:log V 70 Fix warning in !SMP case. Submitted by: Maxime Henrion END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-26T09:27:39.000000Z K 7 svn:log V 48 Cast the variable, not the constant to 64 bits. END K 10 svn:author V 5 benno K 8 svn:date V 27 2002-02-26T09:55:17.000000Z K 7 svn:log V 56 Add makeoptions NO_WERROR=true so that we can build. =) END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-26T10:00:32.000000Z K 7 svn:log V 134 Revert part of the last commit. A couple of defines were removed by NetBSD because they don't use them (they've no usbd), but we do. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-26T10:05:20.000000Z K 7 svn:log V 145 - Fix indentation and return statements to conform to style(9). - Use the __FBSDID macro. - Fix some warnings. Submitted by: obrien (partly) END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-26T10:13:35.000000Z K 7 svn:log V 161 - Emulate instructions prefixed with 'rep' correctly: set the CX register to zero. Submitted by: Stefan Farfeleder PR: 35147 END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-26T10:22:25.000000Z K 7 svn:log V 203 Avoid a null-pointer dereference which occurred when emulating DOS interrupt 0x10 function 0x00 without dpy int tty.c being set. PR: 35147 Submitted by: Stefan Farfeleder END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-02-26T10:38:33.000000Z K 7 svn:log V 55 Hide "bla bla exists, skipping it" behind bootverbose. END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-02-26T10:40:42.000000Z K 7 svn:log V 68 When asked to print bytes (-b option) do that and put 16 on a line. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2002-02-26T13:20:20.000000Z K 7 svn:log V 190 MFC rev 1.74: don't call if_up() when upping the interface, since this would attempt to install the route to the destination twice. This opens the way for brian to MFC his route.c fix, too. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2002-02-26T13:23:52.000000Z K 7 svn:log V 381 Merge rev 1.59.2.10 of the base system's if_spppsubr.c. While i4b_ispppsubr.c is to be decommissioned from RELENG_4 shortly, merging this fix will get out of the way for brian to MFC his route.c fix regarding the rejection of routes to identical p2p destinations, without breaking i4b/sppp. MFCing all the base system's sppp changes will still require some testing and thus time. END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-26T13:51:22.000000Z K 7 svn:log V 106 Adding infrastructure for the installation dir and the initial french translation of the installation dir END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-26T13:52:08.000000Z K 7 svn:log V 38 Oups.... forget the entities file.... END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-26T13:53:09.000000Z K 7 svn:log V 27 adding installation subdir END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-26T14:23:44.000000Z K 7 svn:log V 5 MFen END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-02-26T15:12:54.000000Z K 7 svn:log V 194 Add some ifdef(RELEASE_CRUNCH) goo to explicitly list the requisite object files for crunchgen. Without this patch, release.4 will fail to build the crunched binaries for the release floppies. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-26T15:37:59.000000Z K 7 svn:log V 87 MFC: Add directories for et_EE.ISO8859-15, uk_UA.ISO8859-5 and el_GR.ISO8859-7 locales END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-26T16:17:45.000000Z K 7 svn:log V 98 Fixed 3 regressions in rev.1.99 (clobbering of the English fix in rev.1.98, and 2 unformattings). END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-26T16:47:53.000000Z K 7 svn:log V 22 MFC: *.EUC -> *.euc?? END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-26T16:50:04.000000Z K 7 svn:log V 85 MFC: backward compatibility aliases for *.EUC and et_EE.ISO_8859-15 locales, sorting END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-26T16:51:44.000000Z K 7 svn:log V 37 MFC: *.EUC -> *.euc?? locales rename END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-26T16:58:51.000000Z K 7 svn:log V 37 MFC: *.EUC -> *.euc?? locales rename END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-02-26T16:58:58.000000Z K 7 svn:log V 146 off by one error in Aaron Gifford's code. KAME PR 393. PR: kern/34242 Submitted by: Aaron D. Gifford MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-26T17:04:29.000000Z K 7 svn:log V 81 Initialize a variable bogusly to avoid a gcc bug that causes a spurious warning. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-26T17:06:21.000000Z K 7 svn:log V 4932 STAGE-1 of 3 commit - allow (but do not require) interrupts to remain enabled in critical sections and streamline critical_enter() and critical_exit(). This commit allows an architecture to leave interrupts enabled inside critical sections if it so wishes. Architectures that do not wish to do this are not effected by this change. This commit implements the feature for the I386 architecture and provides a sysctl, debug.critical_mode, which defaults to 1 (use the feature). For now you can turn the sysctl on and off at any time in order to test the architectural changes or track down bugs. This commit is just the first stage. Some areas of the code, specifically the MACHINE_CRITICAL_ENTER #ifdef'd code, is strictly temporary and will be cleaned up in the STAGE-2 commit when the critical_*() functions are moved entirely into MD files. The following changes have been made: * critical_enter() and critical_exit() for I386 now simply increment and decrement curthread->td_critnest. They no longer disable hard interrupts. When critical_exit() decrements the counter to 0 it effectively calls a routine to deal with whatever interrupts were deferred during the time the code was operating in a critical section. Other architectures are unaffected. * fork_exit() has been conditionalized to remove MD assumptions for the new code. Old code will still use the old MD assumptions in regards to hard interrupt disablement. In STAGE-2 this will be turned into a subroutine call into MD code rather then hardcoded in MI code. The new code places the burden of entering the critical section in the trampoline code where it belongs. * I386: interrupts are now enabled while we are in a critical section. The interrupt vector code has been adjusted to deal with the fact. If it detects that we are in a critical section it currently defers the interrupt by adding the appropriate bit to an interrupt mask. * In order to accomplish the deferral, icu_lock is required. This is i386-specific. Thus icu_lock can only be obtained by mainline i386 code while interrupts are hard disabled. This change has been made. * Because interrupts may or may not be hard disabled during a context switch, cpu_switch() can no longer simply assume that PSL_I will be in a consistent state. Therefore, it now saves and restores eflags. * FAST INTERRUPT PROVISION. Fast interrupts are currently deferred. The intention is to eventually allow them to operate either while we are in a critical section or, if we are able to restrict the use of sched_lock, while we are not holding the sched_lock. * ICU and APIC vector assembly for I386 cleaned up. The ICU code has been cleaned up to match the APIC code in regards to format and macro availability. Additionally, the code has been adjusted to deal with deferred interrupts. * Deferred interrupts use a per-cpu boolean int_pending, and masks ipending, spending, and fpending. Being per-cpu variables it is not currently necessary to lock; bus cycles modifying them. Note that the same mechanism will enable preemption to be incorporated as a true software interrupt without having to further hack up the critical nesting code. * Note: the old critical_enter() code in kern/kern_switch.c is currently #ifdef to be compatible with both the old and new methodology. In STAGE-2 it will be moved entirely to MD code. Performance issues: One of the purposes of this commit is to enhance critical section performance, specifically to greatly reduce bus overhead to allow the critical section code to be used to protect per-cpu caches. These caches, such as Jeff's slab allocator work, can potentially operate very quickly making the effective savings of the new critical section code's performance very significant. The second purpose of this commit is to allow architectures to enable certain interrupts while in a critical section. Specifically, the intention is to eventually allow certain FAST interrupts to operate rather then defer. The third purpose of this commit is to begin to clean up the critical_enter()/critical_exit()/cpu_critical_enter()/ cpu_critical_exit() API which currently has serious cross pollution in MI code (in fork_exit() and ast() for example). The fourth purpose of this commit is to provide a framework that allows kernel-preempting software interrupts to be implemented cleanly. This is currently used for two forward interrupts in I386. Other architectures will have the choice of using this infrastructure or building the functionality directly into critical_enter()/ critical_exit(). Finally, this commit is designed to greatly improve the flexibility of various architectures to manage critical section handling, software interrupts, preemption, and other highly integrated architecture-specific details. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-26T17:09:24.000000Z K 7 svn:log V 251 Apparently gcc3.1 is now using deprcated v8 instructions in v9 code due to them being faster in certain cases. Therefore we need to save and restore the v8 %y register around traps in kernel mode as well as traps in usermode. Tested by: obrien, tmm END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-26T17:11:37.000000Z K 7 svn:log V 64 Did someone turn on -Werror or something? Fix kernel breakage. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-26T17:35:21.000000Z K 7 svn:log V 93 Add a missing field to the end of array marker in the pci_ids array. Submitted by: sumikawa END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-02-26T17:50:00.000000Z K 7 svn:log V 146 MFC 1.119: In tcp_respond(), correctly reset returned IPv6 header. This is essential when the original packet contains an IPv6 extension header. END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-02-26T17:51:58.000000Z K 7 svn:log V 52 MFC 1.20: Corrected an argument to in6_pcbnotify(). END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-02-26T18:02:06.000000Z K 7 svn:log V 163 MFC 1.7: - Check the address family of a cached destination, in case of sharing the cache with IPv4. - Check if the cached route is up in in6_selectsrc(). END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-26T18:08:54.000000Z K 7 svn:log V 152 Make peter's commit compatible with interrupt-enabled critical_enter() and exit(), which has already solved the problem in regards to deadlocked IPI's. END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-02-26T18:11:24.000000Z K 7 svn:log V 322 MFC: - Check the address family of the destination cached in a PCB. - Clear the cached destination before getting another cached route. Otherwise, garbage in the padding space (which might be filled in if it was used for IPv4) could annoy rtalloc. sys/netinet/in_pcb.c: 1.97 sys/netinet/ip_output.c: 1.149 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-26T18:24:00.000000Z K 7 svn:log V 43 Staticize an extern that no one else used. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-26T19:43:03.000000Z K 7 svn:log V 214 Rather than include namespace pollution in in order to declare `gid_t', use the canonical protection scheme to define a type in two or more headers. This brings closer to POSIX.1-2001 conformance. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-26T20:09:19.000000Z K 7 svn:log V 126 Set ifp->if_name to "awi" instead of device_get_name(dev) to avoid casting away a const qualifier so the awi driver compiles. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-26T20:11:33.000000Z K 7 svn:log V 63 Fix warnings in the gif(4) driver so it compiles with -Werror. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-26T20:33:41.000000Z K 7 svn:log V 60 revert last commit temporarily due to whining on the lists. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-26T20:34:52.000000Z K 7 svn:log V 90 revert compatibility fix temporarily (thought it would not break anything leaving it in). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-26T21:39:32.000000Z K 7 svn:log V 190 use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent over the user supplied buffer. this can be a problem when the user doesn't supply a full dirent and we corrupt their memory. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-26T21:49:46.000000Z K 7 svn:log V 37 Define basic macros required by GDB. END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-26T21:56:40.000000Z K 7 svn:log V 126 MFC rev 1.177 Add one more comment to the OOM changes so that future readers of the code may better understand the code. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-26T22:53:57.000000Z K 7 svn:log V 50 MFC: 1.11 (use _GENERIC_DIRSIZ instead of sizeof) END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-02-26T23:38:34.000000Z K 7 svn:log V 74 remove "discards qualifier" erro by not potentially writing to a const *. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T00:03:01.000000Z K 7 svn:log V 17 Wrap long lines. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T00:21:04.000000Z K 7 svn:log V 201 Add a macro for shift of an integer (1 << shift == sizeof). Move the pointer define to live alongside it. For kicks assert at compile time that they are correct. Use these instead of magic numbers. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T00:27:05.000000Z K 7 svn:log V 53 Use pcpu.pc_cpumask instead of computing 1 << cpuid. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T00:28:35.000000Z K 7 svn:log V 17 Wrap long lines. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T00:31:31.000000Z K 7 svn:log V 15 Minor cleanup. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T01:04:56.000000Z K 7 svn:log V 101 allow reads of /dev/mem when securelevel is raised. Noticed by: Brian J. Peterson END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-27T01:48:17.000000Z K 7 svn:log V 53 didn't quite undo the last reversion. This gets it. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T02:02:13.000000Z K 7 svn:log V 52 remove trailing semi-colons from macro definitions. END K 10 svn:author V 5 danny K 8 svn:date V 27 2002-02-27T02:11:34.000000Z K 7 svn:log V 171 Remove problematic PHY_WRITE so that autoneg to 10 Mbps actually works. Submitted by: Dennis Reviewed by: Bill Paul MFC after: 7 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-27T02:14:58.000000Z K 7 svn:log V 336 Jake further reduced IPI shootdowns on sparc64 in loops by using ranged shootdowns in a couple of key places. Do the same for i386. This also hides some physical addresses from higher levels and has it use the generic vm_page_t's instead. This will help for PAE down the road. Obtained from: jake (MI code, suggestions for MD part) END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-02-27T02:21:43.000000Z K 7 svn:log V 48 Remove errors in LINT (now that they are fatal) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T02:44:45.000000Z K 7 svn:log V 66 Fix warnings caused by discarding const. Hairy Eyeball At: peter END K 10 svn:author V 3 jkh K 8 svn:date V 27 2002-02-27T03:22:03.000000Z K 7 svn:log V 172 Fix an erroneous == instead of = operator, causing an important variable not to be set and basically rendering getsid() broken in -stable. Merge from: -current and Darwin END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T03:38:10.000000Z K 7 svn:log V 51 MFC 1.52: note what the default address_family is. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T03:39:00.000000Z K 7 svn:log V 38 MFC 1.16: crdup(9) is not a protocol. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T03:39:23.000000Z K 7 svn:log V 33 MFC 1.14: memrange.h is in sys/. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T03:40:13.000000Z K 7 svn:log V 75 MFC 1.42: don't make it seem like vm.max_proc_mmap only affects MAP_FIXED. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T03:40:58.000000Z K 7 svn:log V 49 MFC 1.40: clarify when dump(8) honors UF_NODUMP. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T04:27:36.000000Z K 7 svn:log V 22 clarify panic message END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T04:45:37.000000Z K 7 svn:log V 501 Introduce a version field to `struct xucred' in place of one of the spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-27T05:09:14.000000Z K 7 svn:log V 518 Use the pci.c code wherever possible, rather than copying all the pci code into cardbus and s/pci/cardbus. This exposes a few pci_* functions that are now static. This work is similar to work Justin posted to the mobile list about a year or two ago, which I have neglected since then. This is a subset of his current work with the multiple inheritance newbus architecutre. When completed, that will eliminate the need for pci/pci_private.h. Similar work is needed for the cardbus_cis and pccard_cis code as well. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-27T05:11:11.000000Z K 7 svn:log V 141 fish -> fish Generated with: s:(.*?):\1:g END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T05:11:50.000000Z K 7 svn:log V 23 More IPV6 const fixes. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-27T06:05:24.000000Z K 7 svn:log V 230 Bandaid for the Uniprocessor kernel exploding. This makes a UP kernel boot and run (and indeed I am committing from it) instead of exploding during the int 0x15 call from inside the atkbd driver to get the keyboard repeat rates. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T06:05:50.000000Z K 7 svn:log V 128 Make cpu_identify take the value of the ver register and cpuid as arguments so we can print nice things about non-current cpus. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T06:08:13.000000Z K 7 svn:log V 81 Parameterize the number of pages to allocate for the per-cpu area on PCPU_PAGES. END K 10 svn:author V 4 jake K 8 svn:date V 27 2002-02-27T06:18:02.000000Z K 7 svn:log V 381 Minimal testing has shown that a 4 page tsb is a nice sweet spot for current work loads. It tapers off after that as gcc's working set generally just fits. compiling bin/csh: TSB_PAGES = 2 213.33 real 77.59 user 110.01 sys TSB_PAGES = 4 116.43 real 75.78 user 19.16 sys TSB_PAGES = 8 119.27 real 76.38 user 18.12 sys Testing by: tmm END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T07:35:59.000000Z K 7 svn:log V 388 First rev at making pipe(2) pipe's MPsafe. Both ends of the pipe share a pool_mutex, this makes allocation and deadlock avoidance easy. Remove some un-needed FILE_LOCK ops while I'm here. There are some issues wrt to select and the f{s,g}etown code that we'll have to deal with, I think we may also need to move the calls to vfs_timestamp outside of the sections covered by PIPE_LOCK. END K 10 svn:author V 2 gj K 8 svn:date V 27 2002-02-27T08:33:08.000000Z K 7 svn:log V 77 Remove a redundant decalaration of call_desc[] since it's now a fatal error. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-27T08:42:07.000000Z K 7 svn:log V 50 MFC rev. 1.96: unlink all log sockets at startup. END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-02-27T08:54:13.000000Z K 7 svn:log V 36 turn on the ethertype filter module END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-02-27T09:16:00.000000Z K 7 svn:log V 325 Fix warnings that have become fatal 1/ conditionalise (#if 0) function that is not used. Unused code left in place for netBSD compatibility. 2/ Recode loop to convince gcc that it does initialise a variable (use do-while instead of for() so gcc knows that we always go through at least once. Feel free to check my logic. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-27T09:51:33.000000Z K 7 svn:log V 288 Back out all the pmap related stuff I've touched over the last few days. There is some unresolved badness that has been eluding me, particularly affecting uniprocessor kernels. Turning off PG_G helped (which is a bad sign) but didn't solve it entirely. Userland programs still crashed. END K 10 svn:author V 5 peter K 8 svn:date V 27 2002-02-27T09:58:06.000000Z K 7 svn:log V 34 Re-fix a pointer/integer warning. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T10:07:15.000000Z K 7 svn:log V 193 Don't hardcode /sys when making tags, instead use ${.CURDIR}/.. this fixes a problem where one tries to make tags when the source isn't in /sys. Submitted by: Jihui Yang END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-02-27T10:36:03.000000Z K 7 svn:log V 76 MFC: register amd's dependency on NFS rc rev 1.292 rc.network rev 1.121 END K 10 svn:author V 8 tanimura K 8 svn:date V 27 2002-02-27T10:38:14.000000Z K 7 svn:log V 114 Return ESRCH if the target process is not inferior to the curproc. Spotted by: HIROSHI OOTA END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T11:27:48.000000Z K 7 svn:log V 89 MPsafe fixes: use SYSINIT to initialize pipe_zone. use PIPE_LOCK to protect kevent ops. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-02-27T12:12:25.000000Z K 7 svn:log V 452 MFC: During SIOCAIFADDR, if in_ifinit() fails and we've already added an interface address, blow the address away again before returning the error. In in_ifinit(), if we get an error from rtinit() and we've also got a destination address, return the error rather than masking EEXISTS. Failing to create a host route when configuring an interface is now treated as an error. Requested by: nsayer Made possible by: joerg END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-27T13:52:06.000000Z K 7 svn:log V 88 Change the wording of the inline comments from the previous commit. Objection from: ru END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-27T14:18:57.000000Z K 7 svn:log V 259 MFC 1.23: make(1) claims to ignore the remainder of a conditional once its value has been determined in a manner similar to C. However, this was not the case. This patch should fix the problem. PR: bin/34032 Submitted by: Alan Eldridge END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-27T14:26:07.000000Z K 7 svn:log V 172 Initial effort for the translation of the -CURRENT relnotes. Actually just the kernel section is translated, a lot of features are added in 5.0. So help is appreciate :-) END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-27T14:32:43.000000Z K 7 svn:log V 133 1) Remove blank line between include of sys/cdefs.h and __FBSDID 2) compare return value of inet_addr to INADDR_NONE rather than -1. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-27T14:40:09.000000Z K 7 svn:log V 121 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID. 2) Add missing include of stdlib.h for exit(), spotted by gcc3. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-02-27T14:43:55.000000Z K 7 svn:log V 19 Fixed a few typos. END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-27T14:44:35.000000Z K 7 svn:log V 17 MFen + Typos Fix END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-27T14:48:18.000000Z K 7 svn:log V 118 Build fix. Remember to hit me 42000 times with a stick and to repeat "I sould not commit before a zero warning build" END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-27T14:56:58.000000Z K 7 svn:log V 63 Add missing "#include " for memcmp, noticed by gcc3. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-02-27T14:57:54.000000Z K 7 svn:log V 24 Preprocess with pic(1). END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T14:58:32.000000Z K 7 svn:log V 92 Add a function which returns the correct hostname for a given credential. Reviewed by: phk END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T15:06:33.000000Z K 7 svn:log V 206 Use the getcredhostname function to fill the hostname into the linux_newuname_args structure. This should fix the case of jailed linux processes not using the jail's hostname. PR: 35336 Reviewed by: phk END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T15:12:56.000000Z K 7 svn:log V 120 - Use the new getcredhostname function in the SVR4 uname system call. - Remove spurious empty line. Reviewed by: phk END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-27T15:22:12.000000Z K 7 svn:log V 224 1) Move FreeBSD ID below vendor ID and don't compile vendor ID. 2) Cast some numbers we know to be positive to size_t before we MIN them with the result of a sizeof. 3) Compare result of inet_addr to INADDR_NONE, not -1. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T15:23:01.000000Z K 7 svn:log V 126 - Use the new getcredhostname function in xenix_utsname(), ibcs2_getipdomainname(), and ibcs2_utssys(). Reviewed by: phk END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-27T15:49:07.000000Z K 7 svn:log V 238 1) Don't use -Wall in Makefile. 2) Don't compile vendor ID. 3) WARNS=4 fixes (constness, make a global local to avoid shadowing, unused parameters, rename local to avoid shadowing, remove junk after #endif) 4) remove some "register"s. END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-27T16:01:11.000000Z K 7 svn:log V 5 MFen END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T16:43:20.000000Z K 7 svn:log V 215 Make getcredhostname() take a buffer and the buffer's size as arguments. The correct hostname is copied into the buffer while having the prison's lock acquired in a jailed process' case. Reviewed by: jhb, rwatson END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T16:47:27.000000Z K 7 svn:log V 44 Use the updated getcredhostname() function. END K 10 svn:author V 6 robert K 8 svn:date V 27 2002-02-27T16:55:30.000000Z K 7 svn:log V 44 Use the updated getcredhostname() function. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-27T17:16:18.000000Z K 7 svn:log V 1018 Add the following functions/macros to support byte order conversions and device drivers for bus system with other endinesses than the CPU (using interfaces compatible to NetBSD): - bwap16() and bswap32(). These have optimized implementations on some architectures; for those that don't, there exist generic implementations. - macros to convert from a certain byte order to host byte order and vice versa, using a naming scheme like le16toh(), htole16(). These are implemented using the bswap functions. - stream bus space access functions, which do not perform a byte order conversion (while the normal access functions would if the bus endianess differs from the CPU endianess). htons(), htonl(), ntohs() and ntohl() are implemented using the new functions above for kernel usage. None of the above interfaces is currently exported to user land. Make use of the new functions in a few places where local implementations of the same functionality existed. Reviewed by: mike, bde Tested on alpha by: mike END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-27T17:23:16.000000Z K 7 svn:log V 155 Fix a NULL deref panic in pipe_write, we can't blindly lock pipe->pipe_peer->pipe_mtxp because it may be NULL, so lock the passed in pipe's mutex instead. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-27T17:35:48.000000Z K 7 svn:log V 374 Add a driver for the Sun HME PCI/SBus ethernet adaptor, which is onboard in most machines of the Sun Ultra series. This is a port of the NetBSD driver which I enhanced to make use of the gather functionality and the configurable RX buffer offset to avoid copying all received/sent packet (instead, packets will be directly DMAd from mbuf chains and into mbuf clusters now). END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-27T17:38:17.000000Z K 7 svn:log V 38 Motherboard and processor translation END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-27T17:41:06.000000Z K 7 svn:log V 101 Add a driver for the Sun GEM (Gigabit) and ERI (100 Mb/s) PCI ethernet adaptors, ported from NetBSD. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-27T17:46:04.000000Z K 7 svn:log V 17 Add gem and hme. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-27T17:57:00.000000Z K 7 svn:log V 201 1) Remove -Wall from Makefile. 2) WARNs fixes (rename option to lookup_option to avoid shadowing, rename argv to argv1 to avoid shadowing, const stuff, prototypes, __unused). 3) Remove "register"s. END K 10 svn:author V 6 gioria K 8 svn:date V 27 2002-02-27T17:57:49.000000Z K 7 svn:log V 31 Adding Boot-loader translation END K 10 svn:author V 3 ume K 8 svn:date V 27 2002-02-27T18:02:15.000000Z K 7 svn:log V 122 MFC 1.10: Delete a needless rule for DAD. An unspecified address is never used as a destination address of IPv6 packets. END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-27T18:03:02.000000Z K 7 svn:log V 1153 Fix a horribly suboptimal algorithm in the vm_daemon. In order to determine what to page out, the vm_daemon checks reference bits on all pages belonging to all processes. Unfortunately, the algorithm used reacted badly with shared pages; each shared page would be checked once per process sharing it; this caused an O(N^2) growth of tlb invalidations. The algorithm has been changed so that each page will be checked only 16 times. Prior to this change, a fork/sleepbomb of 1300 processes could cause the vm_daemon to take over 60 seconds to complete, effectively freezing the system for that time period. With this change in place, the vm_daemon completes in less than a second. Any system with hundreds of processes sharing pages should benefit from this change. Note that the vm_daemon is only run when the system is under extreme memory pressure. It is likely that many people with loaded systems saw no symptoms of this problem until they reached the point where swapping began. Special thanks go to dillon, peter, and Chuck Cranor, who helped me get up to speed with vm internals. PR: 33542, 20393 Reviewed by: dillon MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-27T18:29:11.000000Z K 7 svn:log V 85 Put the last added source file in proper order. (and dcc the committer a dictionary) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-02-27T18:30:01.000000Z K 7 svn:log V 513 Temporarily lock Giant while we update td_ucred. The proc lock doesn't fully protect p_ucred yet so Giant is needed until all the p_ucred locking is done. This is the original reason td_ucred was not used immediately after its addition. Unfortunately, not using td_ucred is not enough to avoid problems. Since p_ucred could be stale, we could actually be dereferencing a stale pointer to dink with the refcount, so we really need Giant to avoid foot-shooting. This allows td_ucred to be safely used as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-02-27T18:32:23.000000Z K 7 svn:log V 82 Simple p_ucred -> td_ucred changes to start using the per-thread ucred reference. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-27T18:35:26.000000Z K 7 svn:log V 20 Build LukeM's ftpd. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2002-02-27T18:35:53.000000Z K 7 svn:log V 67 MFC: inspect ELF header and reject any non-FreeBSD shared objects. END