Hi Rob,<div><br></div><div><ol><li><br></li></ol></div><div> I was using 'xexec()' function. It gives me the coredump </div><div> from function toy_init() in main.c at line #82.</div><div><br></div><div>
My use case is as follows.</div><div><br></div><div>I have to run a program from my feature under development. For the purpose I am using xexec.</div><div><br></div><div>The arguments passed to it has members from 'toys.optargs' array. As soon as it reaches line #82</div>
<div><br></div><div>if (toys.optargs != toys.argv+1) free(toys.optargs); it dumps.</div><div><br></div><div>Can you please have a look at it.</div><div><br></div><div>2. In the implementation of losetup, you have used /dev/loop-control and ioctls related to it. Which doesn't compile for me. I am using kernel </div>
<div><br></div><div>Linux AshwiniPC 2.6.33.3-85.fc13.i686.PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686 i686 i386 GNU/Linux</div><div><br></div><div>Compiler complains of LOOP_CTL_GET_FREE - not present</div><div><br></div>
<div>3. Same is the case with cp, here also it complains for O_NOFOLLOW</div><div><br></div><div>Please provide your inputs on the same.</div>