Re: [PATCH 2/3] fs/binfmts: Better handling of binfmt loops

2013-07-31 Thread Zach Levis
Quoting Andrew Morton : On Tue, 30 Jul 2013 16:16:51 -0700 Zach Levis wrote: Quoting Andrew Morton : > On Thu, 25 Jul 2013 08:40:44 -0700 Zach Levis wrote: > >> With these changes, when a binfmt loop is encountered, >> the ELOOP will propogate back to the 0 depth. At this point the >>

Re: [PATCH 2/3] fs/binfmts: Better handling of binfmt loops

2013-07-30 Thread Andrew Morton
On Tue, 30 Jul 2013 16:16:51 -0700 Zach Levis wrote: > > Quoting Andrew Morton : > > > On Thu, 25 Jul 2013 08:40:44 -0700 Zach Levis > > wrote: > > > >> With these changes, when a binfmt loop is encountered, > >> the ELOOP will propogate back to the 0 depth. At this point the > >> argv and ar

Re: [PATCH 2/3] fs/binfmts: Better handling of binfmt loops

2013-07-30 Thread Zach Levis
Quoting Andrew Morton : On Thu, 25 Jul 2013 08:40:44 -0700 Zach Levis wrote: With these changes, when a binfmt loop is encountered, the ELOOP will propogate back to the 0 depth. At this point the argv and argc values will be reset to what they were originally and an attempt is made to contin

Re: [PATCH 2/3] fs/binfmts: Better handling of binfmt loops

2013-07-30 Thread Andrew Morton
On Thu, 25 Jul 2013 08:40:44 -0700 Zach Levis wrote: > With these changes, when a binfmt loop is encountered, > the ELOOP will propogate back to the 0 depth. At this point the > argv and argc values will be reset to what they were originally and an > attempt is made to continue with the following

[PATCH 2/3] fs/binfmts: Better handling of binfmt loops

2013-07-25 Thread Zach Levis
With these changes, when a binfmt loop is encountered, the ELOOP will propogate back to the 0 depth. At this point the argv and argc values will be reset to what they were originally and an attempt is made to continue with the following binfmt handlers. Caveats: - binfmt_misc is skipped as a whole