commit | 89163f93c6f969da5811af5377cc10173583123b | [log] [tgz] |
---|---|---|
author | Vasily Averin <[email protected]> | Fri Apr 10 14:34:13 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Fri Apr 10 15:36:22 2020 -0700 |
tree | 58ed1176ce0e7a51516005bb1fbe600d0ed4d6d3 | |
parent | f4d74ef6220c1eda0875da30457bef5c7111ab06 [diff] |
ipc/util.c: sysvipc_find_ipc() should increase position index If seq_file .next function does not change position index, read after some lseek can generate unexpected output. https://bugzilla.kernel.org/show_bug.cgi?id=206283 Signed-off-by: Vasily Averin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Waiman Long <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Manfred Spraul <[email protected]> Cc: Al Viro <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: NeilBrown <[email protected]> Cc: Peter Oberparleiter <[email protected]> Cc: Steven Rostedt <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>