discover/ipmi: Open devnode with O_CLOEXEC
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 22 Aug 2017 01:36:06 +0000 (11:36 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 22 Aug 2017 05:06:45 +0000 (15:06 +1000)
commitefcff0996d8c9a42e3bbef4a805ff65974684ff0
treecf62c859753c3564e3a52fbd54bc225398e5977b
parent675eb751ff84e80f286da808daa931a84baf9302
discover/ipmi: Open devnode with O_CLOEXEC

The IPMI device node is kept open for the life of the platform - include
the O_CLOEXEC flag so it is not kept open for child processes.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/ipmi.c