Commit 57dba9b
vfs: missed source of ->f_pos races
commit 0e665d5 upstream.
compat_sys_{read,write}v() need the same "pass a copy of file->f_pos" thing
as sys_{read,write}{,v}().
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 0253e78 commit 57dba9b
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| 1180 | + | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
1183 | 1184 | | |
1184 | | - | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
1185 | 1188 | | |
1186 | 1189 | | |
1187 | 1190 | | |
| |||
1236 | 1239 | | |
1237 | 1240 | | |
1238 | 1241 | | |
| 1242 | + | |
1239 | 1243 | | |
1240 | 1244 | | |
1241 | 1245 | | |
1242 | 1246 | | |
1243 | | - | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1244 | 1250 | | |
1245 | 1251 | | |
1246 | 1252 | | |
| |||
0 commit comments