History log of /external/ltp/testcases/kernel/containers/libclone/libclone.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e639e6a6aee1f4890ac5cb73dae6e177f5c67dcb 03-Sep-2014 Matus Marhefka <mmarhefk@redhat.com> containers: fixed libclone/libclone.c

* fixed issue in do_plain_tests() function, where "return" was
used in child instead of "exit(3)" which caused that child executed
code from parent

Signed-off-by: Matus Marhefka <mmarhefk@redhat.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.c
359980f68b19c77c698b121b57a071dfe6e3ca31 15-Feb-2013 Jan Stancek <jstancek@redhat.com> rename syscall() macro to ltp_syscall()

This patch renames syscall() macro defined in linux_syscall_numbers.h
to reduce confusion with syscall(2). It also updates all places
where it was previously in use.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.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/containers/libclone/libclone.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/containers/libclone/libclone.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/containers/libclone/libclone.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/containers/libclone/libclone.c
7f140ab215a66e7ed9a195591b756cf6cdfde38c 06-Dec-2009 yaberauneya <yaberauneya> Polish up clean logic a bit further. Later versions of gcc (rightfully) whine more about function attributes, et all.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.c
6aa2737d5de9256fcdb5b68a6aa6b12249005049 06-Dec-2009 yaberauneya <yaberauneya> Older versions of binutils / gcc don't properly grok the weak symbols solution I put in before the 200911 release, so instead implement the code using a preprocessor define (CLEANUP), which can be defined before including cleanup.c, and thus the user can specify what cleanup function they wish to use before it's defined.

This works on Ubuntu 6.02 (dapper drake) with gcc 4.0 and binutils 2.16.9, but I'm not sure if it works with older tools, as I couldn't hunt down older distro sources...

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.c
0ccf2dee4d1443e8ea8725fbca8891c97056a263 04-Nov-2009 yaberauneya <yaberauneya> Report errors appropriate to whether or not the read / write operations with the pipe succeeded.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.c
f6d7f09ea8353429d488f586ff9cd9525699e31c 03-Nov-2009 vapier <vapier> define and use common clone helpers

From: Serge E. Hallyn <serue@us.ibm.com>

Define ltp_clone() and related helpers in libltp, and convert all existing
clone usages to them. This way we no longer have arch-specific cruft
cluttering up random source files all over the place.
/external/ltp/testcases/kernel/containers/libclone/libclone.c
ce23f15806425582250d38d41a02b1a547a32d7b 19-Jan-2009 subrata_modak <subrata_modak> Seiichi Ikarashi reported:: I report ia64-specific build failures and a patch for them. Since ia64 glibc does not have the clone() function call, building testcases/kernel/containers/pidns/pidns12.c fails as follows. It's same for pidns13.c, pidns14.c, pidns16.c, pidns20.c, pidns21.c, pidns30.c, and pidns31.c. They should call clone2() instead of clone(), like check_pidns_enabled.c. I attached a patch to fix them. Signed-Off-By: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>. Complete mail thread: http://marc.info/?l=ltp-list&m=123232695003986&w=2.
/external/ltp/testcases/kernel/containers/libclone/libclone.c
02052d0cdbdf9eb814be5ff3bdf14860d165786f 14-Feb-2008 subrata_modak <subrata_modak> Pid Namespace were getting segmentation fault while running on -mm kernel. After debugging by container development team they found the exact root cause. The Page_Size was reset, by, "Rishikesh K. Rajak" <risrajak@linux.vnet.ibm.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.c
c2aab6c5dac302afdd6a40ac93459c2330b47af6 28-Dec-2007 subrata_modak <subrata_modak> Changed the way Copyrights and License agreements are declared
/external/ltp/testcases/kernel/containers/libclone/libclone.c
5bdbbcebd78a1fed1ddbd3f1ed2c236febffb703 17-May-2007 subrata_modak <subrata_modak> <doug.chapman@hp.com> points that “clone2” should be used in case of IA64 for the Utsnamespace testcases
/external/ltp/testcases/kernel/containers/libclone/libclone.c
0c5f9706905fb6b2fc08f99be12abc9e9c42beaf 26-Apr-2007 subrata_modak <subrata_modak> Integration of UTS Namespace Testcases to LTP as submitted by <risrajak@linux.vnet.ibm.com>
/external/ltp/testcases/kernel/containers/libclone/libclone.c