Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



Hello,

At Tue, 26 Dec 2006 10:43:45 +0000 (UTC),
Elad Efrat wrote:
> Modified Files:
>       src/share/examples/secmodel: secmodel_example.c
>       src/share/man/man9: kauth.9 secmodel_bsd44.9
>       src/sys/arch/alpha/alpha: machdep.c
>       src/sys/arch/amd64/amd64: netbsd32_machdep.c sys_machdep.c
>       src/sys/arch/arm/arm32: mem.c
>       src/sys/arch/i386/i386: sys_machdep.c
>       src/sys/arch/pc532/pc532: mem.c
>       src/sys/arch/powerpc/powerpc: mem.c
>       src/sys/arch/sh3/sh3: mem.c
>       src/sys/arch/sh5/sh5: mem.c
>       src/sys/arch/vax/vax: mem.c
>       src/sys/arch/x86/x86: x86_machdep.c
>       src/sys/arch/xen/i386: sys_machdep.c
>       src/sys/kern: kern_auth.c
>       src/sys/secmodel/bsd44: secmodel_bsd44_securelevel.c
>           secmodel_bsd44_suser.c
>       src/sys/sys: kauth.h
> 
> Log Message:
> Make machdep scope architecture-agnostic by removing all arch-specific
> requests and centralizing them all. The result is that some of these
> are not used on some architectures, but the documentation was updated
> to reflect that.

KAUTH_MACHDEP_X86 is still left.

% find /usr/src/sys | xargs grep -nH KAUTH_MACHDEP_X86
/usr/src/sys/compat/linux/arch/i386/linux_machdep.c:1135:       if 
(kauth_authorize_machdep(l->l_cred, KAUTH_MACHDEP_X86,
/usr/src/sys/compat/linux/arch/i386/linux_machdep.c:1160:       if 
(kauth_authorize_machdep(l->l_cred, KAUTH_MACHDEP_X86,
/usr/src/sys/dev/wscons/wsdisplay_compat_usl.c:409:             if 
(kauth_authorize_machdep(l->l_cred, KAUTH_MACHDEP_X86,

best regards.
-- 
 Kouichirou Hiratsuka
   hira%po6.nsk.ne.jp@localhost



Home | Main Index | Thread Index | Old Index