Skip to contentSkip to conversation

proc01: Add EAGAIN to known issues for acpi/event

PATCH In review David Mackey 2 participants 2 messages Nov 2, 2012 – Nov 5, 2012

lore
Share & tools
lore
#0 lore raw

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.

---
 testcases/kernel/fs/proc/proc01.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/fs/proc/proc01.c +1 -0
index a6fb3d9..f7444a6 100644
@@ -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
#1 lore raw

Hi!

Quoted 5 lines

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.

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