CVS commit: src/sys/compat

Module Name: src
Committed By: chs
Date: Tue Nov 2 18:18:07 UTC 2010
Modified Files:
src/sys/compat/linux/common: linux_emuldata.h linux_misc.c linux_misc.h
src/sys/compat/linux32/common: linux32_misc.c
Log Message:
personality() now interprets its parameter as having
the base personality type in the low byte and
various flags in the upper bytes. for now just mask off
the flags to make sure the base type is one we accept.
store the current personality in the emuldata so that
we can return the expected value for PER_QUERY.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/linux/common/linux_emuldata.h
cvs rdiff -u -r1.217 -r1.218 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -u -r1.19 -r1.20 src/sys/compat/linux/common/linux_misc.h
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/linux32/common/linux32_misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.