History log of /external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
52b6b795dffe87ec659a1a290f61c89da06dc417 22-Jul-2016 Khem Raj <raj.khem@gmail.com> testcases: Remove unused error.h include

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
d1e794d62b1bf619df8390535e4c2a58899b1145 30-Jul-2015 Cyril Hrubis <chrubis@suse.cz> lib: Get rid of unused tst_require_root() callback

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
d6d11d08678aac1ed2c370ea8e42e5f45aea07be 09-Mar-2015 Cyril Hrubis <chrubis@suse.cz> Introduce tst_parse_opts()

The pattern that was used in all testcases is:

const char *msg;

msg = parse_opts(...);
if (msg)
tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg);

This change simplifies the steps to just calling:

tst_parse_opts(...);

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
e25705238e7d5d24a3aa3bba9800afe36cbd5f5e 17-Feb-2015 Cyril Hrubis <chrubis@suse.cz> syscalls: {readlink,mknod,fchown,open,mkdir}at: Fix build.

Including dirent.h (to have DIR defined) in safe_macros.h caused namespace
collision of dirfd() function and dirfd variable in the testcases.

mknodat01.c:53:12: error: ???dirfd??? redeclared as different kind of symbol
static int dirfd, fd;
^
In file included from ../../../../include/safe_macros.h:28:0,
from mknodat01.c:38:
/usr/include/dirent.h:223:12: note: previous declaration of ???dirfd??? was here
extern int dirfd (DIR *__dirp) __THROW __nonnull ((1));
^
<builtin>: recipe for target 'mknodat01' failed

Reported-by: Vinson Lee <vlee@twopensource.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
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/syscalls/fchownat/fchownat02.c
605fa3362fd7cef0baa2131be32cf44661783d3e 04-Feb-2015 Cyril Hrubis <chrubis@suse.cz> Get rid of TEST_CLEANUP

Special thanks to Coccinelle for making this easy job.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
0b9589f3f9c0345b29cfcf7da5a1253c708303eb 27-May-2014 Cyril Hrubis <chrubis@suse.cz> testcases: Constify char *msg variable.

The parse_opts() now returns const char * instead of char * this commit
fixes all warnings caused by the change.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c
b6b7bc405ef1af89cfe678f2b65afe9946e94eec 26-Feb-2014 Zeng Linggang <zenglg.jy@cn.fujitsu.com> fchownat/fchownat02.c: add a new test

Add AT_SYMLINK_NOFOLLOW test for fchownat(2)

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/fchownat/fchownat02.c