Re: [PATCH 4.4 40/43] loop: add recursion validation to LOOP_CHANGE_FD

2018-08-22 Thread Ben Hutchings
On Mon, 2018-07-16 at 09:36 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Theodore Ts'o > > commit d2ac838e4cd7e5e9891ecc094d626734b0245c99 upstream. > > Refactor the validation code used in LOOP_

[PATCH 4.4 40/43] loop: add recursion validation to LOOP_CHANGE_FD

2018-07-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit d2ac838e4cd7e5e9891ecc094d626734b0245c99 upstream. Refactor the validation code used in LOOP_SET_FD so it is also used in LOOP_CHANGE_FD. Otherwise it is possible to const