proc01: Add EAGAIN to known issues for acpi/event
PATCH 1/1 proc01: Add EAGAIN to known issues for acpi/event
Calling read on /proc/acpi/event with O_NONBLOCK will return EAGAIN if the acpi bus event list is empty and no process is listening for events. This is a common return code if acpid is not running.
- Add EAGAIN to known issues list for /proc/acpi/event.
Signed-off-by David Mackey <[email protected]>
--- testcases/kernel/fs/proc/proc01.c | 1 + 1 file changed, 1 insertion(+)
testcases/kernel/fs/proc/proc01.c +1 -0
@@ -87,6 +87,7 @@ const Mapping known_issues[] = { {"open", "/proc/sal/cmc/data", EBUSY}, {"open", "/proc/sal/init/data", EBUSY}, {"open", "/proc/sal/mca/data", EBUSY}, + {"read", "/proc/acpi/event", EAGAIN}, {"read", "/proc/kmsg", EAGAIN}, {"read", "/proc/sal/cpe/event", EAGAIN}, {"read", "/proc/sal/cmc/event", EAGAIN},
Signature · 13 lines
1.7.11.7 ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 5 lines
Calling read on
/proc/acpi/eventwithO_NONBLOCKwill return EAGAIN if the acpi bus event list is empty and no process is listening for events. This is a common return code if acpid is not running.- Add EAGAIN to known issues list for
/proc/acpi/event.
Commited, thanks.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list