Searched hist:83686 (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sys/kern/
H A Dsubr_hints.cdiff 148586 Sun Jul 31 08:46:55 MDT 2005 netchild The resource_xxx routines in subr_hints.c are called before and after the
kenv environment in kern_environment.c switches to dynamic kenv. The prior
call sets the static variable hintp to the static hints in subr_hints.c
(hintmode==0).

However, changes to the environment are not detected by the resource_xxx
lookups after the change to dynamic kernel environment, so the lookup
routines only report the old stuff of hintmode==0, even after the change to
the dynamic kenv. This causes kenv users to see a different environment than
the kernel routines.

This is a problem in the mixer.c code that looks up initial mixer volume
settings from the hints: If the hints are dynamic and not from the
device.hints file, mixer.c doesn't see them, but kenv does.

The patch from the PR (modified to comply to the style of the function)
solves this.

PR: 83686
Submitted by: Harry Coin <harrycoin@qconline.com>
/freebsd-9.3-release/share/misc/
H A Dbsd-family-treediff 83686 Thu Sep 20 00:13:51 MDT 2001 obrien Welcome 4.4-FreeBSD to the family.

Completed in 63 milliseconds