Revision
342 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:47:20 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 341
Fix some race conditions in TTY code. tty and sessrele(), doenterpgrp(), leavepgrp(), pgdelete() and enterpgrp(). The tty code is still under giant lock, but the session/pgrp release code just used proctree_locks. P_CONTROLT isn't really fully locked too in enterpgrp().
Obtained from FreeBSD, mbr.
Revision
341 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:31:26 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 340
Retest tp->t_session because Giant might have been temporarily dropped while waiting for proctree_lock, allowing for an intervening tty_close() that cleared tp_>t_session.
Obtained from FreeBSD,tegge.
Revision
340 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:22:39 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 339
Consistently use if_printf() only in interface methods: if_start, if_ioctl, if_watchdog, etc or in functions that are used by these methods only. In all other cases, device_printf should be used.
This also fixes several panics when if_printf() is called before softc->ifp was initialized.
Revision
339 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:18:09 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 338
IF_LLADDR does not necessarily return aligned memory addresses. Since accessing ID registers in rt181x9 needs 32bit register access and RL_IDR6/RL_IDR7 registers are reserved registers bzero() is needed before copying the ethernet address.
This fixes a bug in Sparc64
Obtained from FreeBSD, yongari.
Revision
338 -
Directory Listing
-
[select for diffs]
Modified
Mon Dec 18 23:50:50 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 337
As discussed on freebsd-threads@freebsd.org, a libpthread bug exists that this patch by Peter Edwards Corrects.
Here is a summary:
I've a problem when a process uses:
libpthread
detached threads
mixed bound/unbound threads
suspended threads (a la pthread_resume_np())
whereby some newly created suspended threads don't get scheduled.
I think I've tracked it down, so if someone could review the
reasoning, I'd be grateful.
Newly launched threads have a "struct pthread" that may be allocated
from a freelist of GCed threads. Apparently, when detached threads
enter the GCed list, they can still have the "active" flag set on
them. Later, this causes problems when this thread is recycled and
resumed, because _thr_setrunnable_unlocked() doesn't add it to a
run queue.
thr_cleanup can be called either from the bound-threads scheduler,
or the unbound scheduler. One callsite clears "active", "needswitchout",
and "lock_switch" to zero before the call. The other callsite just
clears "check_pending". I think these flags are all either bound-thread
or unbound-thread specific, and that there was an unintended
assumption that the thread would remain with the same "boundedness"
after being recycled, which isn't neccessarily the case. (Or another
way - the idea was that there was no need to clear the "active"
flag on a bound thread, as its only used for unbound threads, but
a GCed bound thread might be recycled into an unbound thread)
Given that, it seems correct to clean up the thread the same way
for both cases, and just move that code into thr_cleanup.
Revision
334 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 30 03:54:25 2006 UTC
(17 years, 5 months ago)
by
laffer1
Diff to
previous 333
Minor cleanups to sync. $MidnightBSD$
Cleaned up source so that it would be more portable and inline with NetBSD.
Revision
333 -
Directory Listing
-
[select for diffs]
Modified
Wed Nov 29 17:09:59 2006 UTC
(17 years, 5 months ago)
by
laffer1
Diff to
previous 332
Minor adjustment on the value for "short filename" situations to match freebsd's behavior. Using -1 makes more sense.
Revision
330 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 24 19:41:57 2006 UTC
(17 years, 5 months ago)
by
laffer1
Diff to
previous 329
Check that -w width is not above maximum. Use DWIDTH constant instead of a hard coded constant.
Reported by Gruzicki Wlodek on Bugtraq.
Obtained from FreeBSD, NetBSD, and OpenBSD.
Revision
321 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 18:51:07 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 320
i915 attachment and running fixed.
i915 vblank support.
Radeon's new memory map support.
ATI PCI/PCIE GART fix.
r300 fixes
Hack to radeon module to shut up errors.
Obtained from FreeBSD stable
Revision
319 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 16:55:24 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 318
Be reasonable when overwrite mode is enabled and there are hard links. Overwriting when links > 1 will cause data loss.
Obtained from FreeBSD, OpenBSD.
Revision
314 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 14:50:16 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 313
Only catch SIGINFO when LIBPTHREAD_DEBUG is defined in the environment.
Eliminate a race condition in timed waist (cv, mutex, sleeps).
Don't forget to init a TAILQ before using it.
Allocate a thread's tcb last so it is easier to handle failures to malloc() siginfo.
Include needed headers obtained through pthread.h
Obtained from FreeBSD (March 2006 MFC)
Revision
313 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 13:55:39 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 312
Remove alpha references, install shared libc_r into /lib because its aliased by libpthread and some /sbin tools.
Revision
298 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 28 04:16:57 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 297
Don't set CR0_NE and CR0_MP in npx_probe() as they are already set earlier in cpu_setregs().
If we know this CPU has a FPU via cpuid, just assume INT16 and make the dmesg quiet. This is true for all Pentium class processors and even some 486DX systems.
Revision
286 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 27 15:44:29 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 285
Sync mpt driver with 6-Stable (6.2 beta). Adds support for newer fibre channel cards and SCSI controllers.
Revision
282 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 27 15:28:41 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 281
Part 3:
Add support for nforce5 and intel ICH8 chipsets. Add some additional ICH7 support.
From FreeBSD
Revision
281 -
Directory Listing
-
[select for diffs]
Modified
Thu Oct 26 21:17:32 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 280
Part 2 of our large ata update. Most of these changes come from FreeBSD 6-stable or 6.1 Release. We should be at least at 6.1 release levels with our support for devices with this commit.
Add support for the JMicron JMB361, 365 and 366 chips.
Make the ATAPI sense data accessible when using the ioctl interface.
Revision
276 -
Directory Listing
-
[select for diffs]
Modified
Wed Oct 18 15:52:35 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 275
Avoid a warning for each whiteout found during ls -lW
# ls -lW
total 2
-rw-r--r-- 1 root wheel 6 Oct 18 14:46 file1
ls: ./file2: No such file or directory
w--------- 0 root wheel 0 Jan 1 1970 file2
From FreeBSD rev 1.76
Revision
268 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 14 23:08:54 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 267
Fast interupt handlers are causing problems on some systems. This will workaround the problem until it can be resolved.
Revision
267 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 13 23:15:50 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 266
Only use the channel in the request given to ata_completed if
its still present.
Only look for ICRC and CORR errors on ATA devices not ATAPI.
Get rid of all the long long and mixint casting in printfs'.
On all our platforms intmax == int64_t so simply using %j to
print int64_ts' is safe all over, and doesn't pollute the code.
Update atapi-fd to support direct devices such as disks.
ATAUSB will need to hook inot the delayed boot identity to
have interrupts running, so externalize it.
Add USB modes.
Revision
266 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 13 20:43:48 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 265
Keep the parent device (channel) around in ata_request so that we don't
panic on device removal or failure.
Clean up ata_fail_requests to prevent the queue mnging to fail.
Ensure ata_reinit does things in the right order to prevent panics.
Revision
244 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 10 15:23:51 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 243
Fix bug in malloc_uninit():
Releasing items from the mt_zone can not be done by a simple uma_zfree() call since mt_zone is allocated with the UMA_ZONE_MALLOC flag. Use uma_zfree_arg instead and supply the slam.
This bug can cause panics in low memory conditions while unloading kernel modules containing MALLOC_DEFINE(...) statements.
This commit brings kern_malloc.c up to FreeBSD 6.1 release equivalency.
Revision
235 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 10 14:38:30 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 233
This commit was generated by cvs2svn to compensate for changes in r234,
which included commits to RCS files with non-trunk default branches.
Revision
228 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 8 15:09:01 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 227
Fix some typos and clarify some information in the man page regarding column title such as =foo at the end of -o.
Revision
227 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 8 15:06:27 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 226
Fix the case where the user specifies an alternate heading for some output format keyword and the keyword they picked is an alias to some other keyword. This includes the segfault fixes. (FreeBSD)
Revision
222 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 8 06:08:55 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 221
Make sure the filename for the kernel is correct. The last character could be wrong with the previous code.
Revision
221 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 8 06:07:29 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 220
When enabling A20 put upper limit on amount of time we wait for the keyboard controller to get ready (65K x ISA access time, visually around 1 second). If we have wait more than that amount it's likely that the hardware is a legacy-free system and doesn't have a keyboard controller and doesn't require enabling A20 at all.
This makes cdboot/pxeldr work on MacBook Pro systems with Boot Camp and some IBM Netvista systems such as the S40.
Revision
214 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 7 18:33:48 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 213
The UK had some changes with their time zones. This also caused the zoneinfo import to screw up tzsetup.
Revision
209 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 3 02:03:03 2006 UTC
(17 years, 6 months ago)
by
raven
Diff to
previous 207
This commit was generated by cvs2svn to compensate for changes in r208,
which included commits to RCS files with non-trunk default branches.
Revision
204 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 2 00:16:53 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 202
gzio.c minigzip.c and zconf.h have changes that must be maintained during each upgrade from the vendor branch.
Revision
202 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 1 23:49:06 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 200
This commit was generated by cvs2svn to compensate for changes in r201,
which included commits to RCS files with non-trunk default branches.
Revision
186 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 23 01:26:01 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 185
This patch corrects a problem when the max vnodes is below the minimum required by the code. nm_wcommitsize calculation should be reviewed
Revision
173 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 17 02:37:31 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 172
Update from 6.0.5 to 6.1.4 Intel driver. This update adds support for one additional NIC and hopefully will fix some problems with the em found on some Dell gx260's negotiating below gigabit speeds!
Revision
166 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 9 13:48:40 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 165
Changed -p flag to -D for "Date". Cleaned up the manual. The utility now checks the length of the format argument and gives an error immediately.
I do not want cat to become a general purpose filter, but this functionality seems quite useful.
Revision
165 -
Directory Listing
-
[select for diffs]
Modified
Fri Sep 8 14:04:24 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 164
A new flag, -p, was added to cat which allows dates to be prepended to each line of output. This could be useful when logging from scripts, etc.
The format is based on strftime
so cat -p %D test might print out
09/08/06testing this
if the file test contained testing this.
This is based on a patch floating around FreeBSD-Current.
Revision
164 -
Directory Listing
-
[select for diffs]
Modified
Thu Sep 7 18:52:52 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 163
recursive DNS server, a remote attacker sending enough recursive
queries for the replies to arrive after all the interested clients
have left the recursion queue will trigger an INSIST failure in the
named(8) daemon. Also for a a recursive DNS server, an assertion
failure can occour when processing a query whose reply will contain
more than one SIG(covered) RRset.
For an authoritative DNS server serving a RFC 2535 DNSSEC zone which
is queried for the SIG records where there are multiple SIG(covered)
RRsets (e.g. a zone apex), named(8) will trigger an assertion failure
when it tries to construct the response.
Revision
162 -
Directory Listing
-
[select for diffs]
Modified
Wed Sep 6 14:57:43 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 161
Work around a deadlock when ATA waits for the taskqueue to call back for completion and something else is holding the taskqueue waiting for ATA to return.
Fixes the "semaphore timeout !! DANGER Will Robinson !!" messages. This patch was obtained from FreeBSD ata-queue.c 1.50.2.3 (march 1 2006) and ata-all.h from the same time.
Revision
134 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 27 18:49:41 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 133
Added Eric Anderson's patch for cp which adds -a an -l flags.
-a is an archive mode which is equivalent to -PpR
-l is link mode where regular files are hard linked instead of copied.
Revision
133 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 25 06:24:52 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 132
ACPI patches for laptops and other changes related to the new sleep_queue / em driver commit.
if_media was updated to allow import of bce and some baudrate changes in vge.
Revision
131 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 25 06:20:58 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 130
Patched ACPI problem in hwpcm which needs further testing. randomdev was updated along with it.
mii had a bug with recently driver patches as a function was missing to set the ifmedia_baudrate(). The function was added elsewhere.
Revision
127 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 07:53:57 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 124
This commit was generated by cvs2svn to compensate for changes in r126,
which included commits to RCS files with non-trunk default branches.
Revision
124 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 07:47:42 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 122
This commit was generated by cvs2svn to compensate for changes in r123,
which included commits to RCS files with non-trunk default branches.
Revision
122 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 06:51:36 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 121
Keyboard multiplexer added to GENERIC. syscons patched to detect keyboards and add them as they are found. i386 only.
Revision
121 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 05:37:56 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 120
Added psm ID's for glide point devices commonly found on laptops. Brings PSM support to FreeBSD 6.1 release.
Revision
120 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 05:35:39 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 119
Intel gigabit network driver (em) updated to 6.05 with FreeBSD 6-stable enhancements. Commit required a sync to a new version of the sleep queue routines which also fixed a deadlock problem. An ACPI issue with some laptops has been noted and a fix will be forthcoming.
Revision
117 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 00:18:42 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 116
rdate's -c flag was not working as -DLEAPSECONDS was not used in the base system to maintain posix compliance. Instead, rdate was altered to read a "right" subdirectory just as openbsd does. In right, leapsecond versions of all the zones are built so that we can maintain legal time if needed.
Revision
111 -
Directory Listing
-
[select for diffs]
Modified
Tue Aug 22 12:58:06 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 110
The old ntpdate program displayed the clock error by default. Change rdate to do the same thing. Idea from DragonFly.
Revision
109 -
Directory Listing
-
[select for diffs]
Modified
Tue Aug 22 05:52:12 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 108
Import of OpenBSD's rdate utility. Leapseconds flag disabled until a decision is made on /usr/share/zoneinfo/Right/UTC or equivalent.
Revision
108 -
Directory Listing
-
[select for diffs]
Modified
Tue Aug 22 05:03:27 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 107
Updated to tzdata2006j. Moved "systemv" into the backward category since its more backward than anything.
Revision
103 -
Directory Listing
-
[select for diffs]
Modified
Mon Aug 21 17:43:19 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 102
Finishing up the OpenNTPD commits. Since we no longer have ntpdate, i'll simply have to add rdate later.
Revision
99 -
Directory Listing
-
[select for diffs]
Modified
Mon Aug 21 05:54:56 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 98
Do to naming conflicts, openntpd had to be commited to its own directory src/contrib/openntpd. This commit should clean up most of the mess. I should plan these things out more carefully. :)
Revision
94 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 20 23:06:33 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 92
This commit was generated by cvs2svn to compensate for changes in r93, which
included commits to RCS files with non-trunk default branches.
Revision
90 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 20 16:05:47 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 88
This commit was generated by cvs2svn to compensate for changes in r89, which
included commits to RCS files with non-trunk default branches.
Revision
86 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 20 15:43:46 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 84
This commit was generated by cvs2svn to compensate for changes in r85, which
included commits to RCS files with non-trunk default branches.
Revision
61 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 17 13:00:11 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 59
Disabled stop on warning so ksh builds. Eventually some code changes should be made to clear up the errors.
Revision
56 -
Directory Listing
-
[select for diffs]
Modified
Mon Aug 14 11:52:13 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 55
My first past at MidnightBSDizing the installer. Perhaps I should look into teh DF installer.
Revision
53 -
Directory Listing
-
[select for diffs]
Modified
Sat Aug 12 01:05:38 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 51
This commit was generated by cvs2svn to compensate for changes in r52, which
included commits to RCS files with non-trunk default branches.
Revision
48 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 17:17:04 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 47
fast_ipsec has an error which allows packets to bypass the anti-replay check. See FreeBSD-SA6:11.ipsec
Revision
47 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 17:14:57 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 46
Corrected OPIE security issue where a user mistakenly got root password change acces. FreeBSD-SA6:12.opie
Revision
46 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 17:10:41 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 45
FreeBSD-SA6:13 and 14 were patched. The nis software and amd athlon fpu handling fixed. Changes to echo and pfctl are needed to fix compile bugs with changes related to cvs tags and macros.
Revision
45 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 12:57:36 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 43
Fixed a bug in smbfs where an attacker can escape a chroot environment. See FreeBSD-SA-06:16.smbfs
Revision
43 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 02:03:05 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 41
This commit was generated by cvs2svn to compensate for changes in r42, which
included commits to RCS files with non-trunk default branches.
Revision
6 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 25 02:38:42 2006 UTC
(18 years, 2 months ago)
by
laffer1
Diff to
previous 3
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision
3 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 25 02:29:52 2006 UTC
(18 years, 2 months ago)
by
laffer1
Diff to
previous 2
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.