On Mon, 2008-10-20 at 13:34 +0200, Daniel Gollub wrote:
> plain text document attachment (setgroups_compat_cleanup.diff)
> Change argument list of GETGROUPS/SETGROUPS to represent the argument list of
> the syscalls. getgroups() first argument is a signed int!
> 
> Signed-off-by: Daniel Gollub <[EMAIL PROTECTED]>

Thanks. Merged.

Regards--
Subrata

> 
> ---
> 
> Index: ltp-full-20081017/testcases/kernel/syscalls/setgroups/compat_16.h
> ===================================================================
> --- ltp-full-20081017.orig/testcases/kernel/syscalls/setgroups/compat_16.h
> +++ ltp-full-20081017/testcases/kernel/syscalls/setgroups/compat_16.h
> @@ -32,13 +32,13 @@ extern void cleanup(void);
>  #ifdef TST_USE_COMPAT16_SYSCALL
> 
>  long
> -SETGROUPS(int gidsetsize, GID_T *list)
> +SETGROUPS(size_t gidsetsize, GID_T *list)
>  {
>       return syscall(__NR_setgroups, gidsetsize, list);
>  }
> 
>  int
> -GETGROUPS(size_t size16, GID_T *list16)
> +GETGROUPS(int size16, GID_T *list16)
>  {
>       int r;
>       int i;
> @@ -75,7 +75,7 @@ SETGROUPS(size_t size, const GID_T *list
>  }
> 
>  int
> -GETGROUPS(size_t size, GID_T *list)
> +GETGROUPS(int size, GID_T *list)
>  {
>       return getgroups(size, list);
>  }
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to