History log of /external/ltp/testcases/kernel/fs/inode/inode02.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aabb8340f63ed31afe995fd97795e542dc68b93c 04-Feb-2015 Cyril Hrubis <chrubis@suse.cz> Include usctest.h in test.h

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/fs/inode/inode02.c
9fa8ad01f33c6390cc08626a185111631c8df495 16-Dec-2014 Cyril Hrubis <chrubis@suse.cz> Change tst_resm() followed by tst_exit() to tst_brkm()

Slightly different version of the previous cleanup.

Created with coccinelle patch:

@@
expression list L;
expression C != {TINFO, TPASS};
identifier F;
@@
- tst_resm
+ tst_brkm
(C,
+ F,
L);
- F();
- tst_exit();

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/fs/inode/inode02.c
6d427a961bd3daaa7e8a7ff19ec03b1e5b6b81ea 20-Mar-2013 Jan Stancek <jstancek@redhat.com> inode02: fix "slash" array overrun

Remove "slash" array and convert strcat to snprintf.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Reviewed-by: Caspar Zhang <caspar@casparzhang.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
72521cf0741034f67dd17107453cda9a9819264c 18-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix more tests; remove more Tst_count externs.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
8fb1cdb0538640f295691929650408688537fb7f 29-Nov-2010 Garrett Cooper <yanegomi@gmail.com> More style cleanup.

Do a better job at detecting spurious leading and trailing whitespace in
branches and loop statements.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
df3eb16e38c6a163b0a7367c885679eed6140964 29-Nov-2010 Garrett Cooper <yanegomi@gmail.com> Deal with a lot of annoying style nits.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/fs/inode/inode02.c
bdbaec51a423e715c2b03ed9e497e9a1fba6103e 26-Feb-2009 subrata_modak <subrata_modak> Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/fs/inode/inode02.c
4bb656a129f7507823e9e6d6b98b1a02fd80ef89 26-Feb-2009 subrata_modak <subrata_modak> Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/fs/inode/inode02.c
134e896cc5a60e96b32807f5be09e99099596f5d 26-Feb-2009 subrata_modak <subrata_modak> fix return(1) -> return 1. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/fs/inode/inode02.c
43337a3cf6f8809647cf9fc6c0054241f44b1fb1 26-Feb-2009 subrata_modak <subrata_modak> Fix return(0) to return 0. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/fs/inode/inode02.c
5c367e4fb1017f20e06dcca7f5f329a36277fe4e 23-Dec-2005 robbiew <robbiew> Applied patch from Marc Unangst to resolve issues with leaking file descriptors.
/external/ltp/testcases/kernel/fs/inode/inode02.c
a010b03c0fd6b8fab0e34b7541e0f1ea95444e69 08-Apr-2003 robbiew <robbiew> Applied Dan Kegel's patch:
Looks like a buffer overflow. Indeed, adding a couple of prints shows
that the local remove_string[] gets clobbered because path_list_string[] is too small,
and the last char of it ends up in remove_string[]. And there's more -- the term()
routine uses an uninitialized buffer because a local variable shadows a global one.
Here's a little patch that should fix the above two or three
bugs (I'm not sure what the array limit should be, so I made it 'big').
I wonder how many more ancient buglets are hiding...

- Dan
/external/ltp/testcases/kernel/fs/inode/inode02.c
a70576c4834d89f937e46698fef4114736cce4d7 04-Mar-2003 robbiew <robbiew> Removed "extern int errno" lines and replaced with "#include <errno.h>"
/external/ltp/testcases/kernel/fs/inode/inode02.c
f0888c066a1199bace93e9dda984cd3718c29c91 04-Dec-2002 robbiew <robbiew> Initial check-in
/external/ltp/testcases/kernel/fs/inode/inode02.c