> Log:
> enclose getservbyport(3) call with mutex lock.
> since our getservbyport(3) is thread-safe on CURRENT, we don't need
> this workaround on CURRENT. however, it is not MFC'ed to RELENG_5,
> yet. so, we need this for RELENG_5.
> this fix is candidate for MFS to be in time for 5.4-RELEASE.
>
> Found by: tools/regression/lib/libc/resolv/resolv -r
> Reviewed by: hrs
> Tested by: hrs
Work done by: ume (he requested merge but I approved it too late)
Approved by: re (scottl approved me doing merge so tagging can be done)
1. Copy a NULL-terminated string into a fixed-length buffer, and
2. copyout that buffer to userland,
we really ought to
0. Zero the entire buffer
first.
Security: FreeBSD-SA-05:08.kmem
Approved by: re (kensmith)
Add new solaris slice type
Don't prefix /dev if it is already an absolute path.
Use correct open mode (possibly r/w) if we resort to opening a slice.
Approved by: re
> date: 2005/04/17 23:30:20; author: kensmith; state: Exp; lines: +0 -3
> Needed to drop "lang/gnat", "print/teTeX", and "textproc/docproj-jadetex"
> to make the packages fit on the CDs...
Approved by: re (scottl)
1. Make sure that the /etc/namedb symlink is pointing to the right place.
2. Unmount the devfs when stop'ing (including on shutdown).
3. Require cleanvar.
Approved by: re (kensmith)
Some changes to intr_execute_handlers():
- Fix NULL pointer dereferences caused when an ithread or a handler is
NULL which happens when a stray interrupt triggers after the respective
device interrupt was torn down.
- Remove the critical section around INTR_FAST handlers which actually
was a nested critical section. Both tl0_intr() and tl1_intr() already
enter a critical section for calling intr_execute_handlers().
Approved by: re (kensmith)
- Add a workaround for a bug in BlackBird CPUs (said to be part of the
SpitFire erratum #54) which can cause writes to the TICK_CMPR register
to fail. This seems to fix the dying clocks problem reported by jhb@
and kris@.
- In tick_init() just use tick_stop() for stopping the tick interrupts
until a proper handler is set up later. This also stops the system
tick interrupt on USIII systems earlier.
- Some minor changes, e.g. use FBSDID, remove unused headers, etc.
Requested by: kris
Approved by: re (kensmith)
Add the vm.exec_map_entries tunable and read-only sysctl, which controls
the number of entries in exec_map (maximum number of simultaneous execs
that can be handled by the kernel). The default value of 16 is
insufficient on heavily loaded machines (particularly SMP machines), and
if it is exceeded then executing further processes will generate a SIGABRT.
This is a workaround until a better solution can be implemented.
Approved by: re (kensmith)
merging sleepq_resume_thread() and sleepq_remove_thread(). This also
reduces the overall number of lock operations for sleep queue operations.
Approved by: re (kensmith)
Fix panics with misconfigured routing:
- Backout previous revision, the check is useless.
- Turn node to queue mode, since it is edge node.
Approved by: re (kensmith)
Correct multiple security related errors: a buffer overflow, NULL
pointer dereferences, possible use of uninitialized variables, and
memory leaks.
Security: CAN-2005-0753
Security: FreeBSD-SA-05:05.cvs
Approved by: re (kensmith)
- Add Dell PERC 4ei to the list of supported devices. It's an
alias used by Dell sometimes for PERC 4e/Si. [1]
- Delete some trailing whitespace.
Rapported by: Jon Kuster <[email protected]> [1]
Approved by: re (hrs)
UCS_RXSTOP flag so that it always tracks whether or not the receive
pipe is stopped. This ensures that we do not attempt to start the
same transfer twice, and it allows ucomstop() to skip the restarting
of the read pipe if it was not originally running, such as when
called indirectly from ucomreadcb().
Approved by: re (kensmith)
Add rudimentary man pages for kernel options sched_4bsd and sched_ule,
which document some of the sysctls available for configuring 4bsd, some
of the bullet features of ule, and that ule is considered experimental
still.
Fix small spelling error.
Approved by: re (kensmith)
Quote sound device names which contain numbers.
Note that this change does not apply to -CURRENT, because config(8)
there has been modified not to require the quoting.
Approved by: re (hrs)
1.141 Check facility is not too big.
1.140 Allow : and % in hostnames for IPv6.
1.139 Deal with using whitespace as a hostname delimiter.
Approved by: re@ (ken)
> date: 2005/04/08 12:05:37; author: jeff; state: Exp; lines: +1 -3
> - Fix kern/78664, restore the old ioctl length verification code for 5.x.
>
> Contributed by: Dan Nelson
Actual work by: jeff
Approved by: re (kensmith, scottl) - I approved commit but couldn't find
Jeff in time for him to do this before RC2, scottl said
we should go ahead with it so RC2 can be started.
> date: 2005/04/09 17:00:17; author: kensmith; state: Exp; lines: +4 -1
> Disable the NO_MIXED_MODE option by default but leave it as a commented
> entry to make it easy to find. It causes some popular motherboards to
> fail and the magic required to make them work isn't widely known.
>
> Requested by: des and others whose email address I've lost
> Discussed with: peter, obrien, re@
> Tested by: various folks on amd64@, des, kensmith
Approved by: re (scottl)
When a packet has been reinjected into ipfw(4) after dummynet(4) processing
we have a non-NULL args.rule. If the same packet later is subject to "tee"
rule, its original is sent again into ipfw_chk() and it reenters at the same
rule. This leads to infinite loop and frozen router.
Assign args.rule to NULL, any time we are going to send packet back to
ipfw_chk() after a tee rule. This is a temporary workaround, which we
will leave for RELENG_5. In HEAD we are going to make divert(4) save
next rule the same way as dummynet(4) does.
PR: kern/79546
Submitted by: Oleg Bulyzhin
Reviewed by: maxim, andre
Approved by: re (kensmith)
part of revision 1.8:
- Xref flowctl.8
revision 1.6, 1.5, 1.4:
- Added the SYNOPSIS section.
- Sort sections.
- Markup style.
revision 1.3:
1. To give the user a clue about the expiration timeout values, mention
the default timeouts of 1800 (activity) and 15 (inactivity) seconds.
2. Fix the "ifinfo" ASCII control message description:
it requires the interface number as an argument.
Approved by: re (kensmith)
run in PIO mode:
> sys/dev/ata/ata-all.c:
> revision 1.222.2.11
> date: 2005/04/04 16:42:35; author: kensmith; state: Exp; lines: +1 -1
> Change the default for hw.ata.atapi_dma so that DMA is off. We are
> seeing a lot of install problems that get fixed by turning DMA
> off. The sparc64 mailing list sees the most reports of this but it
> does come up on others. Changing the default should give us a more
> robust install, at the expense of people who need DMA for burning
> CDs needing to turn it on (maybe).
>
> The same change will be made in HEAD shortly by the ata maintainer.
>
> Discussed with: sos, scottl
>
> ---------
>
> share/man/man4/ata.4
> revision 1.46.2.3
> date: 2005/04/04 17:23:16; author: kensmith; state: Exp; lines: +1 -1
> Default for hw.ata.atapi_dma is now PIO.
>
> Reminded by: Joel Dahl <joel (at) automatvapen (dot) se>
Approved by: re (scottl)
completed I/O requests here.
- First allocate all needed bios, so if any of allocations fail, we can
free memory before sending any I/O requests down.
Reported by: Pawel Malachowski
Approved by: re (kensmith)
if the `-i' option was always specified. Correct some mostly
theoretical bugs related to misuse of the static buffer returned by
getpwnam.
Security: rexecd's document default policy of disallowing root logins
was not enforced.
Approved by: re
Loaded 100 of 16588 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.