- Original Message -
> From: "Hangbin Liu"
> To: "LTP List"
> Cc: "Jan Stancek"
> Sent: Wednesday, 1 July, 2015 8:35:32 AM
> Subject: [LTP][PATCHv3] containers: Use ltp_syscall for setns incase some
> libc library do not support it
>
> Use ltp_syscall for setns incase some libc lib
2015-07-01 14:39 GMT+08:00 Hangbin Liu :
> Opps, there is something wrong with code format. I will correct it. Sorry
It seem the gmail webside view make the patch a mess. Form mutt the patch
format looks good. Please ignore the last mail and continue review this patch.
Sorry for the disturb.
Reg
Opps, there is something wrong with code format. I will correct it. Sorry
2015-07-01 14:35 GMT+08:00 Hangbin Liu :
> Use ltp_syscall for setns incase some libc library do not support it. Also
> check whether we support setns in setup(). If it's support the syscall will
> silently fails and test co
Use ltp_syscall for setns incase some libc library do not support it. Also
check whether we support setns in setup(). If it's support the syscall will
silently fails and test continues. If not, then tst_brkm call will end the
test with TCONF.
Signed-off-by: Hangbin Liu
---
testcases/kernel/conta
- Original Message -
> From: "Hangbin Liu"
> To: "LTP List"
> Cc: "Jan Stancek"
> Sent: Wednesday, 1 July, 2015 7:34:42 AM
> Subject: [LTP][PATCHv2] containers: Use raw setns syscall for versions of
> glibc that don't include it
>
> The setns() system call was added to glibc in ver
The setns() system call was added to glibc in version 2.14. On systems with
lower version glic, like RHEL6.6 glibc 2.12, ltp will build failed with
error "userns04.c:58: undefined reference to `setns'". Use ltp_syscall to make
build pass.
Signed-off-by: Hangbin Liu
---
testcases/kernel/container
I forgot to modify .gitignore file. Please see V2.
On 2015/7/1 13:16, Yuan Sun wrote:
> The c.c file is the same as check_simple_capset.c except config.h
> is included in check_simple_capset.c. Moreover, it is not correct
> to use HAVE_SYS_CAPABILITY_H without including config.h.
>
> Signed-off-by:
The c.c file is the same as check_simple_capset.c except config.h
is included in check_simple_capset.c. Moreover, it is not correct
to use HAVE_SYS_CAPABILITY_H without including config.h.
Signed-off-by: Yuan Sun
---
testcases/kernel/security/filecaps/.gitignore | 1 -
testcases/kernel/security
The c.c file is the same as check_simple_capset.c except config.h
is included in check_simple_capset.c. Moreover, it is not correct
to use HAVE_SYS_CAPABILITY_H without including config.h.
Signed-off-by: Yuan Sun
---
testcases/kernel/security/filecaps/c.c | 47 --
Signed-off-by: Yuan Sun
---
testcases/kernel/containers/userns/Makefile | 2 +-
testcases/kernel/containers/userns/userns01.c | 31 +--
2 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/testcases/kernel/containers/userns/Makefile
b/testcases/kernel/contai
The setns() system call was added to glibc in version 2.14. On systems with
lower version glic, like RHEL6.6 glibc 2.12, ltp will build failed with
error "userns04.c:58: undefined reference to `setns'". Use ltp_syscall to make
build pass.
Signed-off-by: Hangbin Liu
---
testcases/kernel/container
I also got this issue while running sctp test and confirm this patch fixed the
problem. Please push this patch to the repo.
Thanks
Hangbin
2015-06-22 23:31 GMT+08:00 Alexey Kodanev :
> Test always fails with TBROK because inner loop will reset all the
> previous set values if we use else branch.
Signed-off-by: Yuan Sun
---
testcases/kernel/controllers/cpuctl/cpuctl_def_task01.c | 3 +--
testcases/kernel/controllers/cpuctl/cpuctl_def_task02.c | 2 +-
testcases/kernel/controllers/cpuctl/cpuctl_def_task03.c | 2 +-
testcases/kernel/controllers/cpuctl/cpuctl_def_task0
- Original Message -
> From: "Yuan Sun"
> To: jstan...@redhat.com
> Cc: ltp-list@lists.sourceforge.net
> Sent: Thursday, 25 June, 2015 1:54:37 PM
> Subject: [PATCH] userns01: add capability verification
>
> A child process has a full set of permitted and effective capabilities,
> even t
- Original Message -
> From: "Cyril Hrubis"
> To: "Jan Stancek"
> Cc: ltp-list@lists.sourceforge.net
> Sent: Thursday, 18 June, 2015 6:35:50 PM
> Subject: Re: [LTP] [PATCH/RFC] module.mk: don't run module builds multiple
> times
>
> Hi!
> Looks good to me.
Pushed with your ACK.
Re
This patch changes name of tst_futexes array and is using it to
store futexes as well as propagated values. The values are of newly
defined type: tst_chp_value_t, which is initially defined as int32_t.
Patch is adding optional 3rd parameter to TST_SAFE_CHECKPOINT_WAKE,
which can be used to propaga
16 matches
Mail list logo