Re: [PATCH] Generic is_compat_task helper

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

 



On Thu, 16 Feb 2006 21:49:39 -0800 Andrew Morton <[email protected]> wrote:
>
> What continues to bug me about this (in a high-level hand-wavy sort of way)
> is that this is an attribute of the mm_struct, not of the task_struct.

Aren't there really two things here:
	in the syscall path you want to know that the kernel
	was entered through a 32 bit (compat) syscall entry point so
	you know what its arguments are and how to set up its return
	values

	in some places you need to know if the mm is a 32 bit mm

-- 
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpa5ObNjAsda.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux