Skip to contentSkip to conversation

proc01: Add EAGAIN to known issues for acpi/event

PATCH In review David Mackey 1 participant 2 messages Oct 28, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proc01: Add EAGAIN to known issues for acpi/event

Calling open 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 errno 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..1c2b392 100644
@@ -82,6 +82,7 @@ typedef struct mapping Mapping;
    like if SELinux is disabled, the test may still fail on some other
    entries. */
 const Mapping known_issues[] = {
+    {"open", "/proc/acpi/event", EAGAIN},
     {"open", "/proc/acpi/event", EBUSY},
     {"open", "/proc/sal/cpe/data", EBUSY},
     {"open", "/proc/sal/cmc/data", EBUSY},
Signature · 13 lines
1.7.11.7


------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 25 lines · David Mackey

Calling open 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 errno 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 -1
index a6fb3d9..1c2b392 100644
@@ -82,6 +82,7 @@ typedef struct mapping Mapping;
    like if SELinux is disabled, the test may still fail on some other
    entries. */
 const Mapping known_issues[] = {
+    {"open", "/proc/acpi/event", EAGAIN},
     {"open", "/proc/acpi/event", EBUSY},
     {"open", "/proc/sal/cpe/data", EBUSY},
     {"open", "/proc/sal/cmc/data", EBUSY},
--
Quoted 3 lines

1.7.11.7

Please discard. Will resubmit.

------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people. Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list