On Wed, Oct 14, 2009 at 3:23 AM, Masatake YAMATO <[email protected]> wrote:
> Hi,
>
>> Except the Makefile part, others would apply fine:
>>
>> patching file testcases/kernel/syscalls/getuid/Makefile
>> Hunk #1 FAILED at 16.
>> 1 out of 1 hunk FAILED -- saving rejects to file
>> testcases/kernel/syscalls/getuid/Makefile.rej
>> patching file testcases/kernel/syscalls/getuid/getuid01.c
>> patching file testcases/kernel/syscalls/getuid/getuid02.c
>> patching file testcases/kernel/syscalls/getuid/getuid03.c
>
> Sorry. I forgot to update my local copy.
>
> I've just recreated the patch with newer build system.
>
> To apply getuid-20091015.patch use -p0 option.
> Put compat_uid.h  at testcases/kernel/syscalls/utils/compat_uid.h.
> Put compat_16.h.  at testcases/kernel/syscalls/getuid/compat_16.h.
>
> I've just modified Makefile since last submitting.
>
>
> Signed-off-by: Masatake YAMATO <[email protected]>

Looks good! One question (just for my personal curiosity), is
__NR_geteuid a 16-bit syscall? I'm asking because of this code...

UID_T
GETUID(void)
{
        return syscall(__NR_getuid);
}

UID_T
GETEUID(void)
{
        return syscall(__NR_geteuid);
}

If so, what's the 32-bit syscall constant?

Thanks!
-Garrett

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to