Re: [LTP] [PATCH] utsname: removed CC=gcc from Makefile to let LTP compile for 64 just exporting CC='gcc -m64'

2007-06-04 Thread Serge E. Hallyn
Hi Ricardo, removing the CC definition as in the patch at bottom (which near as I can tell is yours :) is fine. Not sure whether it is there because I was typing on autopilot, or I cut-and-pasted it from somewhere, but it is in fact not needed. My tree compiles fine without it. thanks, -serge

Re: [LTP] Build failure of utsname tests

2007-06-25 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Hi Rishikesh/Sergei, Any fix available for the same ?? ;-) Please try the following patch... thanks, -serge diff -Nrup ltp/testcases/kernel/containers/Makefile ltp-patched/testcases/kernel/containers/Makefile ---

Re: [LTP] Build failure of utsname tests

2007-06-25 Thread Serge E. Hallyn
Quoting Serge E. Hallyn ([EMAIL PROTECTED]): Quoting Serge E. Hallyn ([EMAIL PROTECTED]): Quoting Subrata Modak ([EMAIL PROTECTED]): Hi Rishikesh/Sergei, Any fix available for the same ?? ;-) Please try the following patch... I'm sorry, that should handle archictures without

Re: [LTP] Build failure of utsname tests

2007-06-26 Thread Serge E. Hallyn
Quoting Rishikesh ([EMAIL PROTECTED]): Serge E. Hallyn wrote: Quoting Serge E. Hallyn ([EMAIL PROTECTED]): Quoting Subrata Modak ([EMAIL PROTECTED]): Hi Rishikesh/Sergei, Any fix available for the same ?? ;-) Please try the following patch... I'm sorry, that should handle archictures

Re: [LTP] Se-Linux Updates for LTP

2007-12-11 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): On Mon, 2007-12-10 at 11:15 -0600, Serge E. Hallyn wrote: Quoting Stephen Smalley ([EMAIL PROTECTED]): On Mon, 2007-12-10 at 11:31 +0530, Subrata Modak wrote: On Fri, 2007-12-07 at 21:55 +0530, Subrata Modak wrote: Hi All, Today

Re: [LTP] Se-Linux Updates for LTP

2007-12-20 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): On Thu, 2007-12-20 at 09:32 -0600, Serge E. Hallyn wrote: Quoting Subrata Modak ([EMAIL PROTECTED]): Ok. Stephen?? Patch has been Recalled and Jeff?? Applied for all the Fixes he mentions. Thanks to you all for getting this Fixed

Re: [LTP] [PATCH 2/6] PID Namespace testcase

2007-12-27 Thread Serge E. Hallyn
Quoting Nate Straz ([EMAIL PROTECTED]): On Thu, Dec 27, 2007 at 08:58:36AM -0600, Serge E. Hallyn wrote: Quoting Rishikesh K. Rajak ([EMAIL PROTECTED]): + tst_resm(TINFO, PIDNS test is running inside container\n); + if(( cpid == CHILD_PID) + ( ppid == PARENT_PID

Re: [LTP] compilation error @ selinux tests

2008-01-03 Thread Serge E. Hallyn
Quoting naveen penumala ([EMAIL PROTECTED]): please check... when im building the selinx-tests using make command i'm getting following error these are the files presented in selinux-testsuite. /home/penuman/LTP/ltp-full-20071231/testcases/kernel/security/selinux-testsuite # ls

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Here is a patch to add some file capability tests to ltp. Thanks. I am running this and will get back to you soon. I am not able to execute this through: ./runltp -f filecaps, On further investigation i found that filecapstest.sh is

Re: [LTP] file capabilities ltp test

2008-01-22 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Quoting Subrata Modak ([EMAIL PROTECTED]): Here is a patch to add some file capability tests to ltp. Thanks. I am running this and will get back to you soon. I am not able to execute this through:

Re: [LTP] ltp selinux patch

2008-01-30 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-01-30 at 11:37 -0600, Serge E. Hallyn wrote: Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-01-30 at 07:20 -0500, Stephen Smalley wrote: On Tue, 2008-01-29 at 18:21 -0600, Serge E. Hallyn wrote: Here

Re: [LTP] ltp selinux patch

2008-01-30 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-01-30 at 11:37 -0600, Serge E. Hallyn wrote: Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-01-30 at 07:20 -0500, Stephen Smalley wrote: On Tue, 2008-01-29 at 18:21 -0600, Serge E. Hallyn wrote: Here

Re: [LTP] ltp selinux patch

2008-01-31 Thread Serge E. Hallyn
to add that one line. thanks, -serge modifications need to be done, then please send me an updated one, diff of present ltp cvs. Thanks --Subrata Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-01-30 at 11:37 -0600, Serge E. Hallyn wrote: Quoting Stephen Smalley

Re: [LTP] ltp selinux patch

2008-02-01 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): On Thu, 2008-01-31 at 16:43 -0600, Serge E. Hallyn wrote: Quoting Subrata Modak ([EMAIL PROTECTED]): Sergei, I have merged Stephen?? Patches sent on 24/01/2008, which modifies: ltp/testcases/kernel/security/selinux-testsuite/README

[LTP] update filecaps test

2008-02-04 Thread Serge E. Hallyn
Hi Andrew, The original verify_caps_exec.c test in the filecaps test was written before libcap had file capabilities support. Faced with implementing 64-bit support in that ugly mess in order to properly test your per-process securebits patch, it seemed wise to just switch to using libcap :)

Re: [LTP] update filecaps test

2008-02-25 Thread Serge E. Hallyn
over the source code, have noted a number of things. Please see my comments inline. PS. What should I read to get up to speed on LTP? Thanks Andrew Subrata Modak wrote: | Andrew, | | Your thoughts on this ;-) | | --Subrata | | On Mon, 2008-02-04 at 21:53 -0600, Serge E. Hallyn wrote

Re: [LTP] ltp selinux patch

2008-02-26 Thread Serge E. Hallyn
? Jeff --Subrata Regards-- Subrata On Wed, 2008-01-30 at 07:20 -0500, Stephen Smalley wrote: On Tue, 2008-01-29 at 18:21 -0600, Serge E. Hallyn wrote: Here is a patch against this morning's ltp cvs snapshot to implement Stephen's suggestion of setting expand-check=0 for the duration

Re: [LTP] [RFC PATCH] file capabilities test update

2008-03-06 Thread Serge E. Hallyn
Quoting Andrew G. Morgan ([EMAIL PROTECTED]): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | Figure in the meantime I can at least send it out for some | more comments from Andrew. Andrew, I'm also attaching the | new verify_caps_exec.c verbatim for easier

Re: [LTP] ltp selinux patch

2008-04-02 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): This patch, which is independent of Jeff's patch, updates the selinux testsuite to run under Fedora 9, and does no harm on Fedora 8. While creating this, I noticed two other things that ultimately need fixing: 1) The sbin_deprecated.patch adds

Re: [LTP] ltp selinux patch

2008-04-02 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-04-02 at 13:07 -0500, Serge E. Hallyn wrote: Quoting Stephen Smalley ([EMAIL PROTECTED]): This patch, which is independent of Jeff's patch, updates the selinux testsuite to run under Fedora 9, and does no harm on Fedora 8

Re: [LTP] ltp selinux patch

2008-04-04 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): On 4/2/08, Serge E. Hallyn [EMAIL PROTECTED] wrote: Quoting Stephen Smalley ([EMAIL PROTECTED]): On Wed, 2008-04-02 at 13:07 -0500, Serge E. Hallyn wrote: Quoting Stephen Smalley ([EMAIL PROTECTED]): This patch, which is independent

Re: [LTP] [PATCH 0/4] Helper patches for PTY namespaces

2008-04-22 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): On Mon, 2008-04-14 at 18:01 +0530, Subrata Modak wrote: On Mon, 2008-04-14 at 18:01 +0530, Veerendra Chandrappa wrote: Hi Sukadev, That sounds nice, I will integrate them with the LTP. Of course it depends on the order of priority,

Re: [LTP] [PATCH] Filesystem Bind Mount Tests

2008-05-12 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): On Fri, 2008-05-09 at 09:32 -0500, Serge E. Hallyn wrote: Quoting Matt Helsley ([EMAIL PROTECTED]): Hi All, This patch adds a few tests for a variety of bind mounts. More than just shared subtrees are involved as plain --bind and plain

Re: [LTP] Reason for -DNO_LTP / %no_ltp in testcases/kernel/containers/*

2008-05-22 Thread Serge E. Hallyn
Quoting Garrett Cooper ([EMAIL PROTECTED]): Hi again, Just wondering if there was a continued need for the NO_LTP flag / targets in testcases/kernel/containers/*. I've figured out a way around it to some extent, but I'd like to avoid duplication / unnecessary logic if at all

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-22 Thread Serge E. Hallyn
] Cc: Andrew G. Morgan [EMAIL PROTECTED] Cc: Serge E. Hallyn [EMAIL PROTECTED] Acked-by: Serge Hallyn [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- kernel/sys.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff -puN kernel/sys.c~sys_prctl-fix

Re: [LTP] fs_bind testcases failed on my system(Attached is the full log)

2008-06-17 Thread Serge E. Hallyn
Quoting Rishikesh K. Rajak ([EMAIL PROTECTED]): Hi All, Some testcase of fs_bind are failing on my system. I ran ltp-full-20080531 release on RHEL 4 . #uname -a Linux 2.6.9-72.ELsmp #1 SMP Tue Jun 3 16:32:03 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux #mount /dev/sda4 on / type ext3

Re: [LTP] [PATCH 0/4]: security: filesystem capabilities (was Re: [PATCH] capabilities: refactor kernel code + bugfix)

2008-06-27 Thread Serge E. Hallyn
No changes per se, except that we do need an update to prevent the current false negatives that I'm getting. As Andrew said, we need to find a resilient way to compare two abstract bitsets. Andrew, do you think it's a reasonable idea for libcap to add a capcmp() function, which does a cap-by-cap

Re: [LTP] [OLS 2008] Meeting at the Summit

2008-07-07 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Hi All, I would like to meet all of you who is attending OLS 2008 summit at Ottawa. I will be there to present our LTP Paper = Building a Robust Linux Kernel Piggyback the Linux Test Project. It would be really nice if i can meet some of you, so

[LTP] running filecaps ltp test

2008-07-07 Thread Serge E. Hallyn
It looks like unconfined_t is not granted setfcap capability. So when running ltp as unconfined_t, the file capabilities test fails. I'm just wondering what the right answer is: 1. require running ltp as an administrative type 2. give ltp a custom policy module to create an ltp_t

[LTP] [PATCH] [DONOTAPPLY] ltp: filecaps: fixups

2008-07-08 Thread Serge E. Hallyn
Here is a patch which makes the file capabilities tests work again in Fedora 9. I say DONOTAPPLY because it requires a new libcap feature which currently exists only in the libcap git tree. Once that feature is in a libcap release, I can tweak the Makefile to only run with the new libcap, and

[LTP] [PATCH 1/1] ltp: filecaps: several fixups

2008-07-11 Thread Serge E. Hallyn
Please apply this patch (in place of, not on top of the earlier version). It eliminates the potential for many false negatives. thanks, -serge 1. Use cap_compare to compare capability sets instead of comparing the far less reliable text representations. 2. pI' tests were failing bc I started

Re: [LTP] Crackerjack and Linux Test Project

2008-07-16 Thread Serge E. Hallyn
Quoting Michael Kerrisk ([EMAIL PROTECTED]): On Wed, Jul 16, 2008 at 11:23 AM, Masatake YAMATO [EMAIL PROTECTED] wrote: From now on, I'll be agitating more to get man pages provided more with new syscalls and ther kernel-userland interfaces. That will mean either I twist developers arms

Re: [LTP] [lxc-dev] Re: [PATCH 5/9] Network NS patch , lib to create the netns

2008-08-11 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): Veerendra wrote: Signed-off-by: Veerendra C [EMAIL PROTECTED] This patch consists of the files.. containers/libclone/libclone.h containers/libclone/libnetns.c containers/libclone/Makefile Regards Veerendra C Attaching the

Re: [LTP] [lxc-dev] Re: [PATCH 7/9] Network NS patch , sysfs view of parent ns and child ns

2008-08-11 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): Veerendra wrote: Signed-off-by: Veerendra C [EMAIL PROTECTED] This patch consists of the files.. containers/netns/child_propogate.sh containers/netns/parent_share.sh containers/netns/parent_view.sh containers/netns/sysfsview.c

Re: [LTP] [RFC] [OLS 2008 FALLOUT] Issue # 1

2008-08-13 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Hi, Recent OLS 2008 was a critical point in LTP´s evolution, as i got the opportunity to meet several people across the Linux ecosystem, and listened to their opinion about LTP. Here i would start a mail chain with the above Subject line, discuss

Re: [LTP] [PATCH] Integrating build/install of ...security/seclvl (BSD Secure Levels LSM) to default LTP build environment

2008-08-20 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Hi, Was just browsing through and found that this piece of code is not built/installed by default. I did not find any issue to do so. So, just added up to the Makefile(s). I am however investigating the best possible way to run them.

Re: [LTP] [patch 0/9] Network NS patch

2008-08-21 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): Subrata, I am sending the updated patches for the network Namespacs . This patches have addressed the review comments of Serge. I have taken care to return error on failure from both the parent NS and child Namespace . Please let me know

Re: [LTP] [BUILD ERRORS #3] libclone for x86_64

2008-08-21 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Hi Rishi/Serge, libclone.c is giving some unexpected build error(s) on the following x86_64 machine. Can you please look in to the following: 1) Linux 2.6.16-1.2080_FC5 #1 SMP Tue Mar 28 03:38:47 EST 2006 x86_64 x86_64 x86_64 GNU/Linux,

Re: [LTP] [TESTING] Per-process securebits

2008-08-26 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Hi Serge/Andrew, I am not sure whether our existing filecaps test cases at: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/security/filecaps/, take care of testing this new feature (Per-process securebits) added in 2.6.26. If not, do you

Re: [LTP] [TESTING] Implement sys_unshare, refuse clone, force unshare when CLONE_NEWIPC

2008-08-26 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): Serge, I can see that CLONE_NEWIPC is being tested at various testing scenarios of CONTAINERS specially inside the SYSVIPC Namespace category. Are you also planning to add some patch(s) for testing: 1) Implement sys_unshare(CLONE_SYSVSEM), 2)

Re: [LTP] [patch 1/9] Network NS - basic.patch

2008-09-10 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): This patch has 4 files.. check_netns_enabled.c - checks for the network ns is enabled initialize.sh - Initializes the common functions and variables Makefile - Makefile runnetnstest.sh - Creates a batch file to run the tests. Signed off by

Re: [LTP] [PATCH] Fix insall errors in containers cases

2008-09-12 Thread Serge E. Hallyn
Based on a cursory glance and memory of Matt's patches, this looks good. Matt? thanks, -serge Quoting Jin Bing Guo ([EMAIL PROTECTED]): When I built and installed the latest LTP cases, some errors broke the install process. # make install make[4]: Entering directory

[LTP] [PATCH][RFC] file capabilities setup failure

2008-09-24 Thread Serge E. Hallyn
I needed the following patch in order for file capabilities to correctly install. If there is a better way to do this, that's fine with me, but CC was undefined and this was the easiest way to get past this. thanks, -serge Signed-off-by: Serge Hallyn [EMAIL PROTECTED] --- diff -Nrup

[LTP] [PATCH] file capabilities: undefined variable

2008-09-24 Thread Serge E. Hallyn
Trivial patch to remove an unused local var. Signed-off-by: Serge Hallyn [EMAIL PROTECTED] --- diff -Nrup ltp-full-20080831/testcases/kernel/security/filecaps/verify_caps_exec.c ltp-full-20080831.new/testcases/kernel/security/filecaps/verify_caps_exec.c ---

Re: [LTP] [PATCH 3/3] Fix the return error in filecaps

2008-09-29 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): On Sun, 2008-09-28 at 10:38 +0800, Jin Bing Guo wrote: When the libcap-2.11 or newer didn't been installed on the sysytem, the filecaps testcase would return a message instead of an error. 'should'? (At first I thought you meant that is what it

[LTP] Pid namespaces: unshare mounts namespace

2008-10-04 Thread Serge E. Hallyn
', but 'umount /proc' is insufficient. More to the point, pidns03 wasn't trying to clean up /proc at all. So make it use CLONE_NEWNS so its private procfs will be automatically cleaned up. Signed-off-by: Serge E. Hallyn [EMAIL PROTECTED] --- pidns03.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [LTP] [patch 8/9] Network NS - sysfsview.patch

2008-10-06 Thread Serge E. Hallyn
Quoting CAI Qian ([EMAIL PROTECTED]): Hi, --- Veerendra [EMAIL PROTECTED] wrote: This patch addresses the comments if any, on the below files child_propogate.sh - Propagates the contents of the child sysfs to parentNS. parent_share.sh - Creates a sharable volume of the sysfs for

Re: [LTP] [patch] container pidns testcase

2008-10-14 Thread Serge E. Hallyn
Thanks, looks good to me. -serge Quoting Veerendra ([EMAIL PROTECTED]): Hi Attaching the patch for the testcase on PIDNS. Assertion: 1. kill -9 1 from inside a container does not kill container Steps: a) create container b) kill -9 1 c) Should not kill the containers Test Result:

Re: [LTP] OOM killer, on ltp hackbench test.

2008-10-15 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): On Wed, 2008-10-08 at 11:30 +0530, Veerendra wrote: Hi , I noticed the OOM killer while running the hackbench tests in zSeries. The machine had memory of 2GB and swap space of 1GB. While running the 'hackbench 300' noticed this OOMs.

Re: [LTP] [PATCH] Add filecaps run to runalltests.sh

2008-11-04 Thread Serge E. Hallyn
Quoting Subrata Modak ([EMAIL PROTECTED]): +## Set this to 1 if libcaps-2.11 or newer is already installed in your system +## from ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2, as well as, +## the libattr is available in the system. The kernel should also have been built

Re: [LTP] [patch] runpidns.patch for adding new tests pidns05.sh and pidns06.sh

2008-11-10 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): Subrata Modak wrote: On Mon, 2008-11-10 at 10:53 +0530, Veerendra wrote: hi Please accept the patch for running the pidns tests for the containers. Also modified, to run all the testcases even when other testcase's fails.

Re: [LTP] [patch] runpidns.patch for adding new tests pidns05.sh and pidns06.sh

2008-11-11 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): Subrata Modak wrote: On Mon, 2008-11-10 at 10:53 +0530, Veerendra wrote: hi Please accept the patch for running the pidns tests for the containers. Also modified, to run all the testcases even when other testcase's fails.

[LTP] securebits testcases

2008-11-11 Thread Serge E. Hallyn
Some time ago, someone (probably Subrata :) asked whether there were any testcases for the securebits functionality. Nope, I haven't yet had time to write them :) What I did do in the last few minutes was write up what I think should be tested. There is some chance I'll have time to write these

Re: [LTP] [patch] runpidns.patch for adding new tests pidns05.sh and pidns06.sh

2008-11-13 Thread Serge E. Hallyn
Quoting Veerendra ([EMAIL PROTECTED]): Signed-off-by: Veerendra C [EMAIL PROTECTED] Heh, looks ok - I would have jsut used one exit value and only set it if it wasn't already non-zero, but the array will work :) Acked-by: Serge Hallyn [EMAIL PROTECTED] Note I don't think declare works in dash,

Re: [LTP] [COMPILATION ERROR 2/2] NETNS on ia64

2008-11-24 Thread Serge E. Hallyn
Veerendra, I'm going to assume you're working on a fix for this unless I hear otherwise. thanks, -serge Quoting Subrata Modak ([EMAIL PROTECTED]): Hi Veerendra/Serge, I found the following compilation error for NETNS library on the following machine: Linux 2.6.23.13 #1 SMP Wed Jan 9

Re: [LTP] [patch 00/12] CONTAINERS: Patches to run LTP Network Testcases under Network Namespace

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patchset creates the basic infrastructure for running the existing network testcases under containers automatically. The patchset creates a command file named nw_under_ns for the purpose. Please review them and provide all your valuable

Re: [LTP] [patch 01/12] CONTAINERS fixes a potential bug in library

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch fixes some of the errors that I found in network namespace creation library. A file test on an unset vriable will give a pass, so the current test fails. (var scrpt may not have been set before calling :))This patch fixes that

Re: [LTP] [patch 02/12] CONTAINERS add-FS-PID-clone-support in libnetns

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch adds the other namespace creation support with the network namespace. We now create the PID UTS namespaces and unshares filesystem attributes. The patch is required to reuse the existing network testcases directly without any

Re: [LTP] [patch 03/12] CONTAINERS chnage the way child pid is received

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch changes the way information is exchanged between parent and child. This is required because of the following reason: Earlier the child was in the same pid namespace as parent and this info was passed from the child to the parent

Re: [LTP] [patch 04/12] CONTAINERS check ignored failures

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): Do not let the errors happen silently. The patch adds some messages. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn se...@us.ibm.com Index: ltp-full-20081130/testcases/kernel/containers/netns/childns.sh

Re: [LTP] [patch 05/12] CONTAINERS adds binary to call the lib api

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): The binary to create the network namespace and run the script tests. The api takes two script names as arguments and run them in parent and child namespace. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn

Re: [LTP] [patch 06/12] CONTAINERS Parent container script for NW testcases

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch adds the script to be executed in the parent container. The script will contain the code as per the requirements from different network testcases. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn

Re: [LTP] [patch 07/12] CONTAINERS script to be run in child namespace

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch adds the script to be executed in the child container. The script contains the setup code and the command for different network testcases. Further code will be added as per the requirements from different network testcases.

Re: [LTP] [patch 08/12] CONTAINERS script to be called by command file

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch adds the script to be called by the command file to run network testcases under containers environment. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn se...@us.ibm.com Index:

Re: [LTP] [patch 09/12] CONTAINERS edits makefile

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch edits the Makefile. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn se...@us.ibm.com Index: ltp-full-20081130/testcases/kernel/containers/netns/Makefile

Re: [LTP] [patch 10/12] CONTAINERS create command file for tests

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): This patch adds the command file for running network testcases under containers. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn se...@us.ibm.com Index: ltp-full-20081130/runtest/nw_under_ns

Re: [LTP] [patch 11/12] CONTAINERS add further networktestcases

2008-12-24 Thread Serge E. Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com): Add other network testcases to be run. Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com Acked-by: Serge Hallyn se...@us.ibm.com Index: ltp-full-20081130/testcases/kernel/containers/netns/runallnetworktests_child.sh

Re: [LTP] [PATCH] checking sys/capability.c for pidns14 and pidns16

2009-01-08 Thread Serge E. Hallyn
Quoting Subrata Modak (subr...@linux.vnet.ibm.com): On Wed, 2009-01-07 at 19:50 -0200, Edjunior Barbosa Machado wrote: checking sys/capability.c for pidns14 and pidns16 this patch adds sys/capability.c checking for pidns14 and pidns16 testcases using autoconf support.

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-14 Thread Serge E. Hallyn
Quoting Mike Frysinger (vap...@gentoo.org): On Wednesday 14 January 2009 03:27:51 Seiichi Ikarashi wrote: Since ia64 glibc does not have the clone() function call, building testcases/kernel/containers/pidns/pidns12.c fails as follows. this clone garbage is out of hand. we need to unify it

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-14 Thread Serge E. Hallyn
Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Serge E. Hallyn wrote: Quoting Mike Frysinger (vap...@gentoo.org): On Wednesday 14 January 2009 03:27:51 Seiichi Ikarashi wrote: Since ia64 glibc does not have the clone() function call, building testcases/kernel/containers/pidns

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Serge E. Hallyn
Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Mike Frysinger さんは書きました: On Thursday 15 January 2009 02:17:27 Seiichi Ikarashi wrote: +#ifdef __ia64__ + ret = clone2(fn1, childstack, getpagesize(), clone_flags, arg1, NULL, NULL, NULL); +#else + ret = clone(fn1,

Re: [LTP] [patch] vcontainer testcase on IPC NS - semaphore.patch

2009-01-15 Thread Serge E. Hallyn
Quoting Veerendra (vee...@linux.vnet.ibm.com): Hi Submitting a new testcase on semaphore to test the IPCNS in the containers. This patch contains the batch file to run the test on LTP. In this patch , I am checking the IPCNS functionaity: Semaphore in parent NS is isolated from the

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Serge E. Hallyn
Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Serge E. Hallyn wrote: Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Like this? Cool, thanks, and thanks for fixing up the do_clone_tests(). However, you pass the bottom instead of the top of the stack to clone. See

Re: [LTP] proc01 failures with selinux disabled

2009-01-22 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): Hi, --- On Thu, 1/22/09, Subrata Modak subr...@linux.vnet.ibm.com wrote: This approach will skip the failures that those entries return EINVAL while SELinux is enable. You can check if SELinux is enable or not, and then add then to something

Re: [LTP] [PATCH] proc01: SELinux with attr/* Interface - version 2

2009-01-28 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): Kamalesh Babulal, well, my approach is that anyone who cares about AppArmor can add a list of files should work to the code. it is fair that if different LSMs behave differently, we'll need different lists (selinux_should_work and apparmor_should_work) to

Re: [LTP] [PATCH] proc01: SELinux with attr/* Interface - version 2

2009-01-28 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): Hi, --- On Wed, 1/28/09, Serge E. Hallyn se...@us.ibm.com wrote: From: Serge E. Hallyn se...@us.ibm.com Subject: Re: [LTP] [PATCH] proc01: SELinux with attr/* Interface - version 2 To: CAI Qian caiq...@cclom.cn Cc: Kamalesh Babulal kamal

Re: [LTP] [PATCH] proc01: SELinux with attr/* Interface - version 2

2009-01-28 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): --- On Wed, 1/28/09, CAI Qian caiq...@cclom.cn wrote: Here is the link for the email from Stephen Smalley that I was refer to, http://article.gmane.org/gmane.linux.ltp/7324 The patch you sent doesn't do what he suggests though. He is saying to ignore the

Re: [LTP] [PATCH] proc01: SELinux with attr/* Interface - version 2

2009-01-29 Thread Serge E. Hallyn
Quoting Kamalesh Babulal (kamal...@linux.vnet.ibm.com): Sorry send the wrong patch Aaah. 1. SELinux on (attr/* read successfuly) 2. AppArmor on (???) 3. SELinux off and AppArmor off (attr/* read with -EINVAL) 4. TOMOYO on 5. Smack on ... As the result, the above

Re: [LTP] [PATCH] proc01: SELinux with attr/* Interface - version 2

2009-01-30 Thread Serge E. Hallyn
Quoting Kamalesh Babulal (kamal...@linux.vnet.ibm.com): selinux enabled proc01 0 INFO : /proc/acpi/event: open: known issue: Device or resource busy proc01 0 INFO : /proc/sys/net/ipv6/route/flush: is write-only. proc01 0 INFO :

Re: [LTP] LTP SELinux policy error

2009-01-30 Thread Serge E. Hallyn
Quoting Stephen Smalley (s...@tycho.nsa.gov): On Thu, 2009-01-29 at 11:51 -0500, Christopher J. PeBenito wrote: On Thu, 2009-01-29 at 08:42 -0500, Christopher J. PeBenito wrote: On Thu, 2009-01-29 at 21:32 +1100, James Morris wrote: I'm trying to run the LTP SELinux tests using the

Re: [LTP] LTP SELinux policy error

2009-01-30 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@us.ibm.com): Quoting Stephen Smalley (s...@tycho.nsa.gov): On Thu, 2009-01-29 at 11:51 -0500, Christopher J. PeBenito wrote: On Thu, 2009-01-29 at 08:42 -0500, Christopher J. PeBenito wrote: On Thu, 2009-01-29 at 21:32 +1100, James Morris wrote: I'm

Re: [LTP] LTP SELinux policy error

2009-02-01 Thread Serge E. Hallyn
Quoting Christopher J. PeBenito (peben...@ieee.org): On Fri, 2009-01-30 at 11:14 -0600, Serge E. Hallyn wrote: Quoting Stephen Smalley (s...@tycho.nsa.gov): On Thu, 2009-01-29 at 11:51 -0500, Christopher J. PeBenito wrote: On Thu, 2009-01-29 at 08:42 -0500, Christopher J. PeBenito wrote

Re: [LTP] LTP SELinux policy error

2009-02-01 Thread Serge E. Hallyn
Quoting Christopher J. PeBenito (peben...@ieee.org): On Fri, 2009-01-30 at 11:37 -0600, Serge E. Hallyn wrote: Quoting Serge E. Hallyn (se...@us.ibm.com): Quoting Stephen Smalley (s...@tycho.nsa.gov): On Thu, 2009-01-29 at 11:51 -0500, Christopher J. PeBenito wrote: On Thu, 2009-01

Re: [LTP] [PATCH 2/3] Proc01: Fix for PPC64 and Support SELinux-enabled Environment v2

2009-02-05 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): Hi, This patch is using configure script to automatically detect if the system has libselinux libraries and header installed, so we can use a macro later on to actually check if SELinux is enabled. Otherwise, or if you don't want to run configure script

Re: [LTP] [PATCH 3/3] Proc01: Fix for PPC64 and Support SELinux-enabled Environment v2

2009-02-05 Thread Serge E. Hallyn
Quoting CAI Qian (caiq...@cclom.cn): Hi, The following patch adds checking for SELinux. If it is enabled, the following entries are expected to be read successfully, /proc/self/attr/* /proc/self/task/[0-9]*/attr/* If it is disabled, expecting read(2) return -1 with -EINVAL. It does not

Re: [LTP] securebits testcases

2009-02-23 Thread Serge E. Hallyn
Quoting Subrata Modak (subr...@linux.vnet.ibm.com): Serge, Are you considering to submit something on this :-) Not this month. I'll think about it again in April (if noone else has stepped in by then). -serge --

Re: [LTP] [SMACK] Simplified Mandatory Access Control test cases

2009-02-23 Thread Serge E. Hallyn
Quoting Casey Schaufler (ca...@schaufler-ca.com): Subrata Modak wrote: Please send a tarball of the tests to: ltp-list ltp-l...@lists.sf.net, if you are subscribed to the mailing list. Else: https://lists.sourceforge.net/mailman/listinfo/ltp-list, Also please see:

Re: [LTP] [PATCH] Add Freezer Controller Testcases

2009-02-25 Thread Serge E. Hallyn
Quoting Matt Helsley (matth...@us.ibm.com): * Sample usage: $ mkdir /containers $ mount -t cgroup -ofreezer freezer /containers $ mkdir /containers/0 $ echo $some_pid /containers/0/tasks $ cat /containers/0/tasks/freezer.state THAWED $ echo FROZEN

Re: [LTP] [PATCH 1/1] ltp: posix message queue namespaces: first test

2009-03-02 Thread Serge E. Hallyn
Sorry, clearly this set should be 1/4, etc -serge -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies

[LTP] [PATCH 1/1] ltp: posix message queue namespaces: first test

2009-03-02 Thread Serge E. Hallyn
Add the first test for posix message queue namespaces, plus a test to detect whether they are enabled. Note that the kernel version check is currently bogus - these are are in -mm. Based on older version by Nadia Derbey. Changelog: Mar 02 2009: moved to the libclone do_clone() helper.

[LTP] [PATCH 3/3] ltp: posix mqns: test vfs and mq interaction

2009-03-02 Thread Serge E. Hallyn
Test that the interaction between mqueuefs and ipc namespaces is correct (one mqueuefs for each ipc namespace, living at least as long as the namespace) Signed-off-by: Serge Hallyn se...@us.ibm.com --- testcases/kernel/containers/mqns/mqns.h |1 +

[LTP] [PATCH 4/4] ltp: posix mqns: test that user mount of posixmq survives the ipcns

2009-03-02 Thread Serge E. Hallyn
If the mqueuefs for a ipc namespace is mounted in a mounts namespace which outlives the ipcns, then the view of the fs remains valid until someone umounts it. Run some tests to make sure that all is sane. Signed-off-by: Serge Hallyn se...@us.ibm.com --- testcases/kernel/containers/mqns/mqns.h

[LTP] [PATCH 2/2] ltp: posix mqns: test parent to child mq access

2009-03-02 Thread Serge E. Hallyn
It's kind of redundant with test 01 since there is no hierarchical relationship between ipc namespaces - they are all completely isolated. But heck it can't hurt. Signed-off-by: Nadia Derbey nadia.der...@bull.net Signed-off-by: Serge Hallyn se...@us.ibm.com ---

[LTP] [PATCH 1/4] ltp: posix message queue namespaces: first test

2009-03-03 Thread Serge E. Hallyn
Hi Subrata, here is the version with updated copyrights and a README update. thanks, -serge From caaabd21861b57d6943367efe54f36f9b3700b8d Mon Sep 17 00:00:00 2001 From: Nadia Derbey nadia.der...@bull.net Date: Tue, 16 Dec 2008 21:38:03 + Subject: [PATCH 1/4] ltp: posix message queue

[LTP] [PATCH 2/4] ltp: posix mqns: test parent to child mq access

2009-03-03 Thread Serge E. Hallyn
From d94e82179644f02d3561da104a054f099bc72416 Mon Sep 17 00:00:00 2001 From: Nadia Derbey nadia.der...@bull.net Date: Tue, 16 Dec 2008 22:00:40 + Subject: [PATCH 2/4] ltp: posix mqns: test parent to child mq access It's kind of redundant with test 01 since there is no hierarchical

[LTP] [PATCH 3/4] ltp: posix mqns: test vfs and mq interaction

2009-03-03 Thread Serge E. Hallyn
From 3bf32de589f6f6a456dbe721729a0d7273dfb7c4 Mon Sep 17 00:00:00 2001 From: Serge Hallyn se...@us.ibm.com Date: Tue, 16 Dec 2008 22:35:16 + Subject: [PATCH 3/4] ltp: posix mqns: test vfs and mq interaction Test that the interaction between mqueuefs and ipc namespaces is correct (one mqueuefs

[LTP] [PATCH 4/4] ltp: posix mqns: test that user mount of posixmq survives the ipcns

2009-03-03 Thread Serge E. Hallyn
From 270c6e79387f640f5a00254fa9d3353fc23addd8 Mon Sep 17 00:00:00 2001 From: Serge Hallyn se...@us.ibm.com Date: Wed, 17 Dec 2008 02:53:20 + Subject: [PATCH 4/4] ltp: posix mqns: test that user mount of posixmq survives the ipcns If the mqueuefs for a ipc namespace is mounted in a mounts

Re: [LTP] [RFC v13][PATCH 00/14] Kernel based checkpoint/restart

2009-03-18 Thread Serge E. Hallyn
Quoting Subrata Modak (subr...@linux.vnet.ibm.com): Serge, Did i talk to you regarding these tests in our OLS 2008 meeting ? I do not remember exactly, but, when i saw this posting, i thought may be there was some conversation. I'm not sure. However no patches are in -mm or linux-next yet.

[LTP] [LTP PATCH] mqns: update kernel version check

2009-03-20 Thread Serge E. Hallyn
(Against the March intermediate release) mqns support is expect in 2.6.30, not 2.6.29. Signed-off-by: Serge Hallyn se...@us.ibm.com --- .../kernel/containers/mqns/check_mqns_enabled.c|2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [LTP] [LTP PATCH] mqns: update kernel version check

2009-03-23 Thread Serge E. Hallyn
Quoting Garrett Cooper (yaneg...@gmail.com): On Mar 20, 2009, at 9:19, Serge E. Hallyn se...@us.ibm.com wrote: (Against the March intermediate release) mqns support is expect in 2.6.30, not 2.6.29. Signed-off-by: Serge Hallyn se...@us.ibm.com --- .../kernel/containers/mqns

  1   2   3   >