On Tue, Jun 03, 2014 at 09:08:23PM +0530, [email protected] wrote:
[...]
> --- a/file.c
> +++ b/file.c
> @@ -309,6 +309,12 @@ decode_open(struct tcb *tcp, int offset)
>  int
>  sys_open(struct tcb *tcp)
>  {
> +     decode_open(tcp, 0);
> +     return RVAL_FD;
> +}
> +
> +int sys_delete_module(struct tcb *tcp)
> +{
>       return decode_open(tcp, 0);
>  }

Please change decode_open to return RVAL_FD so there would be no need to
change sys_open and sys_openat.


-- 
ldv

Attachment: pgpbexzzzZDtf.pgp
Description: PGP signature

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to