On Thu, 2009-02-05 at 05:52 -0500, CAI Qian wrote: > Hi, > > This patch adds /proc/ppc64/rtas/error_log to the known failure list > according to a Red Hat kernel developer, > > "In kernel's rtas_log_read() the first check is: > ... > if (!buf || count < rtas_error_log_buffer_max) > return -EINVAL; > ... > > This code tries to avoid to be overcomplicated by rejecting partial > reads of log strings. rtas_error_log_buffer_max is a maximal length of > error message, and reader should provide enough space for it, or it will > loose." > > The default of this test is to use 1024-byte read buffer, and it is > proved not enough, as well as 4096-byte sometimes. I don't want to > special case here. Hence, add it to the list. > > Reference, > https://bugzilla.redhat.com/show_bug.cgi?id=460106 > > Signed-off-by: CAI Qian <[email protected]> >
Thanks. > --- testcases/kernel/fs/proc/proc01.c.orig 2009-02-04 10:27:17.000000000 > -0500 > +++ testcases/kernel/fs/proc/proc01.c 2009-02-04 11:06:30.000000000 -0500 > @@ -2,7 +2,7 @@ > * proc01.c - Tests Linux /proc file reading. > * > * Copyright (C) 2001 Stephane Fillod <[email protected]> > - * Copyright (c) 2008 Red Hat, Inc. > + * Copyright (c) 2008, 2009 Red Hat, Inc. > * > * This program is free software; you can redistribute it and/or modify it > * under the terms of version 2 of the GNU General Public License as > @@ -88,13 +88,14 @@ > {"read", "/proc/xen/privcmd", EINVAL}, > {"read", "/proc/self/mem", EIO}, > {"read", "/proc/self/task/[0-9]*/mem", EIO}, > - {"read", "/proc/self/attr/*", EINVAL}, > - {"read", "/proc/self/task/[0-9]*/attr/*", EINVAL}, > - {"read", "/proc/fs/nfsd/unlock_filesystem", EINVAL}, > - {"read", "/proc/fs/nfsd/unlock_ip", EINVAL}, > - {"read", "/proc/fs/nfsd/filehandle", EINVAL}, > - {"read", "/proc/fs/nfsd/.getfs", EINVAL}, > - {"read", "/proc/fs/nfsd/.getfd", EINVAL}, > + {"read", "/proc/self/attr/*", EINVAL}, > + {"read", "/proc/self/task/[0-9]*/attr/*", EINVAL}, > + {"read", "/proc/ppc64/rtas/error_log", EINVAL}, > + {"read", "/proc/fs/nfsd/unlock_filesystem", EINVAL}, > + {"read", "/proc/fs/nfsd/unlock_ip", EINVAL}, > + {"read", "/proc/fs/nfsd/filehandle", EINVAL}, > + {"read", "/proc/fs/nfsd/.getfs", EINVAL}, > + {"read", "/proc/fs/nfsd/.getfd", EINVAL}, > {"", "", 0} > }; > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
