Source-Changes archive

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

Re: CVS commit: src



> Module Name:  src
> Committed By: elad
> Date:         Thu Feb 28 16:09:19 UTC 2008
> 
> Modified Files:
>       src/share/examples/secmodel: secmodel_example.c
>       src/share/man/man9: kauth.9
>       src/sys/compat/freebsd: freebsd_sched.c
>       src/sys/compat/linux/common: linux_sched.c
>       src/sys/kern: sys_sched.c
>       src/sys/secmodel/bsd44: secmodel_bsd44_suser.c
>       src/sys/sys: kauth.h sched.h
> 
> Log Message:
> Factor out the guts of get/setparam so it can be used from the compat code.
> 
> Make the FreeBSD and Linux compat code convert the parameters to their
> native representation and call the native routines.
> 
> Remove KAUTH_PROCESS_SCHEDULER_GET/SET.
> 
> Update documentation and examples.
> 
> XXX: For now, only the Linux compat code does the priority conversion
> XXX: right.
> 
> Linux priority conversion code from yamt@, thanks!
> 
> Okay yamt@.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.23 -r1.24 src/share/examples/secmodel/secmodel_example.c
> cvs rdiff -r1.68 -r1.69 src/share/man/man9/kauth.9
> cvs rdiff -r1.16 -r1.17 src/sys/compat/freebsd/freebsd_sched.c
> cvs rdiff -r1.48 -r1.49 src/sys/compat/linux/common/linux_sched.c
> cvs rdiff -r1.17 -r1.18 src/sys/kern/sys_sched.c
> cvs rdiff -r1.54 -r1.55 src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
> cvs rdiff -r1.50 -r1.51 src/sys/sys/kauth.h
> cvs rdiff -r1.48 -r1.49 src/sys/sys/sched.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

> int
> linux_sys_sched_getparam(struct lwp *l, const struct 
> linux_sys_sched_getparam_args *uap, register_t *retval)

>       error = sched_native2linux(0, &sp, NULL, &lp);

'0' seems wrong.

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index