[PATCH v2] Decode paths associated with file descriptors returned by syscalls

Dmitry V. Levin ldv at altlinux.org
Tue Jun 3 15:03:35 UTC 2014


On Tue, Jun 03, 2014 at 08:21:06PM +0530, Zubin Mithra wrote:
> > Same here, lets change decode_open to return RVAL_FD instead.
> >
> >> +int sys_delete_module(struct tcb *tcp)
> >> +{
> >>       return decode_open(tcp, 0);
> >>  }
> >
> > btw, it's not right for sys_delete_module to use decode_open,
> > but that's a subject for another patch.
> 
> I see -- so do I create a duplicate of decode_open or just use
> decode_open in the meantime?

Just use decode_open in this patch.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140603/1c2b6651/attachment.bin>


More information about the Strace-devel mailing list