Following commit implemented non-blocking read for use-gss-proxy:
  commit b161c144404c18f6a9e20e46b63828ae3c2eb093
  Author: J. Bruce Fields <[email protected]>
    Date:   Fri May 24 09:47:49 2013 -0400
        svcrpc: implement O_NONBLOCK behavior for use-gss-proxy

Prior to this commit non-block read hanged, but it happened
only in -rc kernels, which we can ignore.

Note, that this proc entry is available only when you load module
auth_rpcgss.

Signed-off-by: Jan Stancek <[email protected]>
---
 testcases/kernel/fs/proc/proc01.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/testcases/kernel/fs/proc/proc01.c 
b/testcases/kernel/fs/proc/proc01.c
index f2aa483..2771cd4 100644
--- a/testcases/kernel/fs/proc/proc01.c
+++ b/testcases/kernel/fs/proc/proc01.c
@@ -106,6 +106,7 @@ static const struct mapping known_issues[] = {
        {"read", "/proc/fs/nfsd/filehandle", EINVAL},
        {"read", "/proc/fs/nfsd/.getfs", EINVAL},
        {"read", "/proc/fs/nfsd/.getfd", EINVAL},
+       {"read", "/proc/self/net/rpc/use-gss-proxy", EAGAIN},
        {"", "", 0}
 };
 
-- 
1.7.1


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to