parse_dir_md() opens /dev/mdctl but only closes the resulting fd on
success, not upon failure of the ioctl or when we exceed the md unit
max.
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
X-NetApp-PR: #62
Differential D31229
kern: mountroot: avoid fd leak in .md parsing kevans on Jul 20 2021, 10:32 AM. Authored by Tags None Referenced Files
Subscribers
Details
parse_dir_md() opens /dev/mdctl but only closes the resulting fd on Sponsored by: NetApp, Inc.
Diff Detail
Event Timeline
|