Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(6) |
Jun
(12) |
Jul
(46) |
Aug
(8) |
Sep
(27) |
Oct
(73) |
Nov
(56) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(36) |
Feb
(33) |
Mar
(50) |
Apr
(66) |
May
(76) |
Jun
(63) |
Jul
(63) |
Aug
(26) |
Sep
(35) |
Oct
(34) |
Nov
(82) |
Dec
(99) |
2003 |
Jan
(152) |
Feb
(76) |
Mar
(146) |
Apr
(156) |
May
(71) |
Jun
(46) |
Jul
(42) |
Aug
(34) |
Sep
(32) |
Oct
(49) |
Nov
(66) |
Dec
(78) |
2004 |
Jan
(76) |
Feb
(48) |
Mar
(25) |
Apr
(78) |
May
(76) |
Jun
(71) |
Jul
(39) |
Aug
(53) |
Sep
(27) |
Oct
(26) |
Nov
(23) |
Dec
(29) |
2005 |
Jan
(53) |
Feb
(41) |
Mar
(48) |
Apr
(36) |
May
(29) |
Jun
(71) |
Jul
(61) |
Aug
(77) |
Sep
(49) |
Oct
(32) |
Nov
(27) |
Dec
(40) |
2006 |
Jan
(23) |
Feb
(48) |
Mar
(24) |
Apr
(31) |
May
(50) |
Jun
(42) |
Jul
(24) |
Aug
(140) |
Sep
(55) |
Oct
(43) |
Nov
(11) |
Dec
(18) |
2007 |
Jan
(15) |
Feb
(20) |
Mar
(99) |
Apr
(110) |
May
(140) |
Jun
(98) |
Jul
(90) |
Aug
(58) |
Sep
(86) |
Oct
(79) |
Nov
(137) |
Dec
(129) |
2008 |
Jan
(277) |
Feb
(321) |
Mar
(285) |
Apr
(373) |
May
(415) |
Jun
(328) |
Jul
(288) |
Aug
(469) |
Sep
(334) |
Oct
(570) |
Nov
(368) |
Dec
(376) |
2009 |
Jan
(401) |
Feb
(317) |
Mar
(373) |
Apr
(309) |
May
(280) |
Jun
(371) |
Jul
(504) |
Aug
(465) |
Sep
(231) |
Oct
(295) |
Nov
(271) |
Dec
(222) |
2010 |
Jan
(313) |
Feb
(231) |
Mar
(251) |
Apr
(166) |
May
(124) |
Jun
(83) |
Jul
(141) |
Aug
(195) |
Sep
(160) |
Oct
(204) |
Nov
(295) |
Dec
(206) |
2011 |
Jan
(262) |
Feb
(176) |
Mar
(168) |
Apr
(217) |
May
(70) |
Jun
(65) |
Jul
(89) |
Aug
(169) |
Sep
(125) |
Oct
(64) |
Nov
(116) |
Dec
(148) |
2012 |
Jan
(343) |
Feb
(352) |
Mar
(205) |
Apr
(151) |
May
(140) |
Jun
(103) |
Jul
(156) |
Aug
(221) |
Sep
(55) |
Oct
(150) |
Nov
(79) |
Dec
(77) |
2013 |
Jan
(95) |
Feb
(78) |
Mar
(157) |
Apr
(213) |
May
(220) |
Jun
(227) |
Jul
(275) |
Aug
(224) |
Sep
(156) |
Oct
(248) |
Nov
(338) |
Dec
(181) |
2014 |
Jan
(165) |
Feb
(299) |
Mar
(338) |
Apr
(315) |
May
(277) |
Jun
(186) |
Jul
(204) |
Aug
(212) |
Sep
(231) |
Oct
(152) |
Nov
(107) |
Dec
(167) |
2015 |
Jan
(197) |
Feb
(182) |
Mar
(135) |
Apr
(167) |
May
(192) |
Jun
(326) |
Jul
(311) |
Aug
(198) |
Sep
(84) |
Oct
(11) |
Nov
(3) |
Dec
(4) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(16) |
2
(7) |
3
|
4
|
5
(2) |
6
(2) |
7
(3) |
8
(3) |
9
(2) |
10
|
11
|
12
(2) |
13
(2) |
14
(11) |
15
(19) |
16
(9) |
17
|
18
|
19
(2) |
20
(11) |
21
(3) |
22
(3) |
23
(8) |
24
|
25
|
26
(17) |
27
(15) |
28
(21) |
29
(5) |
30
(3) |
|
From: Garrett Cooper <yanegomi@gm...> - 2010-04-02 19:12:16
|
On Fri, Apr 2, 2010 at 11:59 AM, Cyril Hrubis <chrubis@...> wrote: > Hi! > It looks (at least for me) that fs_perms tests are broken for a long time (as > they are trying to find binaries in working directory instead of LTPROOT). > > Attached patch fixes fs_perm.c to look for test binary in > $LTPROOT/testcases/bin/ rather than in ./ and converts silly and broken > fs_perms_simple.sh script into runtest file that is also added into runltp > script. > > > The way how now fs_perm is copying test file into temporary directory is not > ideall either because the test fails when executed by hand. I could think of > creating file with a such line: > > #!/bin/true > > Or maybe more robust: > > #!/bin/sh > true > > But I'm not sure if there is always /bin/true (as it's buildin in most of the > shells) or if I it's good idea to add dependecy for /bin/sh. But this would > avoid compiling dummy C program and copying it from $LTPROOT/testcases/bin/. > > Or we could do some trickery to embed the "dummy" binary file into the code as > array. It could just be an empty file, or one with just a shebang. Example: [gcooper@... ~]$ ./bar [gcooper@... ~]$ echo $? 0 [gcooper@... ~]$ cat bar #!/bin/sh `:' is an alternative to `true' too. > Any ideas here? > > > However the problem discussed above fs_perms tests are at least working with > this patch. > > Signed-off-by: Cyril Hrubis chrubis@... Thanks, -Garrett |
From: Cyril Hrubis <chrubis@su...> - 2010-04-02 18:53:44
|
Hi! It looks (at least for me) that fs_perms tests are broken for a long time (as they are trying to find binaries in working directory instead of LTPROOT). Attached patch fixes fs_perm.c to look for test binary in $LTPROOT/testcases/bin/ rather than in ./ and converts silly and broken fs_perms_simple.sh script into runtest file that is also added into runltp script. The way how now fs_perm is copying test file into temporary directory is not ideall either because the test fails when executed by hand. I could think of creating file with a such line: #!/bin/true Or maybe more robust: #!/bin/sh true But I'm not sure if there is always /bin/true (as it's buildin in most of the shells) or if I it's good idea to add dependecy for /bin/sh. But this would avoid compiling dummy C program and copying it from $LTPROOT/testcases/bin/. Or we could do some trickery to embed the "dummy" binary file into the code as array. Any ideas here? However the problem discussed above fs_perms tests are at least working with this patch. Signed-off-by: Cyril Hrubis chrubis@... -- Cyril Hrubis chrubis@... |
From: Cyril Hrubis <chrubis@su...> - 2010-04-02 12:59:40
|
Hi! Script utimensat_tests.sh deletes the test it is executing instead of deleting temporary directory. Patch attached. Signed-off-by: Cyril Hrubis chrubis@... -- Cyril Hrubis chrubis@... |
From: Cyril Hrubis <chrubis@su...> - 2010-04-02 11:28:18
|
Hi! I've been playing with patch from Jiri that attempts to fix ftest03 and ftest07 segfault and find out that it was correct however was done against some older ltp version. Attached patch is rebased against current git repository as well as tested to fix this issue on SLES11. Some background: The only poissonned line in ftest03.c, respective ftest07.c is: sprintf(fuss, "%s/ftest03.%d", getcwd(wdbuf, sizeof( wdbuf)), getpid()); Where we are trying to fill path to the current working directory into fuss that is declared as 'char fuss[40];'. However it's better to remove all code to creates temporary directory from these tests as this is allready done by tst_tmpdir(). There is still a lot of duplicated/broken code in these tests but for simplicity I will address them in separate patches (so that it's easier to review them). Signed-off-by: Cyril Hrubis chrubis@... -- Cyril Hrubis chrubis@... |
From: Rishikesh K Rajak <risrajak@li...> - 2010-04-02 04:38:46
|
Hi All, Some final last-minute small fixes, but LTP (Linux Test Project )testsuit has been released for the month of March 2010. This tree is clone of master branch and tagged version of 0.3. You can download from : https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100331/ltp-full-20100331.tgz/download Or you can directly clone git version as: git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev.git ltp After merging to GIT tree we have worked mostly on build stability of LTP for different architecture. And for that very close reviewed patches has been merged this month's LTP. You can find complete ChangeLog with $LTPROOT/ChangeLog as well as with this mail footer for quick reference. The latest version of the test-suite contains 3000+ tests for the Linux OS and can be found at: http://ltp.sourceforge.net/, Latest happenings in LTP can also be found at: http://ltp.sourceforge.net/wiki/, http://ltp.sourceforge.net/wikiArchives.php, and, ======================== MARCH 2010 Highlights: ======================== * Again enabled many files to be installed in $LTPROOT/testcases/bin as it has been missed due to makefile infra changes by Rishikesh * Abnormal behaviour of open_posix_testsuite/conformance/interfaces/sem_post/8-1.c has been fixed now by Naresh Kamboju. * CPU hotplug testcase fix by Garret * Network namespace testcase issue by sachin/Garret * Added post recieve mail for GIT by Rishikesh * Rewritten filecap testcases based upon new makefile infra changes by Serge. * Possible buffer overflow fixes for sem_getvalue testcases of open_posix tetssuits by Garret. * New device driver testcase for RTC has been added by Silesh from L&T Infotech. * Fixes for many bashism and GNU compilation source by Garret. * Memory controller tetscases fix by Yuki Yao. * Looked for many testcase returned value and did fixes for those by Rishi ============================== Note(s) from the Maintainer: ============================== This month i have also attached a new file called "result" with the source code where result have been put after compile, build & run on different for older kernel as well as newer kernel distros. Please refer this file for your references and let us know if you find some differences. The major indication for adding those files are to know about the known failures and if someone willing to fix those issue they are always welcome. I am seeing build failure reporting mail has been reduced and there could be one or two build problem with the infra exists currently. So seems like 1st phase of my target is very close. Now we should start thinking of coverage of tetscases which does not run by default. NOTE: == If you want to know more about changes read further == Here is the short changelog for your reference through which you can know which file & directory has been touched. Please test for any regression of testcases on your environment and report the failure to ltp-list@ . .gitignore | 3 + ChangeLog | 2367 ++++++++++++++++++++ IDcheck.sh | 35 +- TODO | 31 +- configure.ac | 1 + doc/MaintNotes | 107 + m4/ltp-cap.m4 | 17 +- m4/ltp-prctl.m4 | 31 + result | 96 + runalltests.sh | 271 ++-- runltp | 4 +- runltplite.sh | 2 +- runtest/controllers | 1 + runtest/cpuhotplug | 2 +- runtest/io | 2 +- scripts/git2changelog.sh | 28 + testcases/commands/unzip/unzip_tests.sh | 4 +- testcases/kernel/Makefile | 11 +- testcases/kernel/containers/Makefile | 2 + testcases/kernel/containers/check_for_unshare.c | 55 + testcases/kernel/containers/netns/Makefile | 2 +- testcases/kernel/containers/netns/common.c | 4 +- testcases/kernel/containers/netns/par_chld_ipv6.c | 6 +- testcases/kernel/containers/netns/sysfsview.c | 2 +- .../kernel/containers/netns/two_children_ns.c | 8 +- testcases/kernel/controllers/cgroup_fj/Makefile | 2 +- ...{cgroup_fj_testcases => cgroup_fj_testcases.sh} | 0 .../controllers/cgroup_fj/run_cgroup_test_fj.sh | 2 +- .../kernel/controllers/freezer/libcgroup_freezer | 73 +- .../kernel/controllers/freezer/run_freezer.sh | 3 +- testcases/kernel/controllers/memcg/README | 10 + .../kernel/controllers/memcg/control/Makefile | 33 + .../kernel/controllers/memcg/control/mem_process.c | 141 ++ .../memcg/control/memcg_control_test.sh | 157 ++ .../memcg/functional/memcg_function_test.sh | 3 +- .../memcg/regression/memcg_regression_test.sh | 3 +- .../controllers/memcg/stress/memcg_stress_test.sh | 3 +- testcases/kernel/device-drivers/rtc/Makefile | 29 + testcases/kernel/device-drivers/rtc/README | 29 + testcases/kernel/device-drivers/rtc/rtc-test.c | 218 ++ testcases/kernel/hotplug/cpu_hotplug/Makefile | 31 + .../hotplug/cpu_hotplug/functional/hotplug01.sh | 233 ++- .../hotplug/cpu_hotplug/functional/hotplug02.sh | 80 +- .../hotplug/cpu_hotplug/functional/hotplug03.sh | 170 +- .../hotplug/cpu_hotplug/functional/hotplug04.sh | 98 +- .../cpu_hotplug/functional/hotplug06.sar.sh | 125 +- .../hotplug/cpu_hotplug/functional/hotplug06.sh | 22 +- .../cpu_hotplug/functional/hotplug06.top.sh | 93 +- .../hotplug/cpu_hotplug/functional/hotplug07.sh | 108 +- .../kernel/hotplug/cpu_hotplug/include/hotplug.fns | 4 +- .../hotplug/cpu_hotplug/include/testsuite.fns | 2 +- testcases/kernel/hotplug/cpu_hotplug/runtests.sh | 7 +- .../hotplug/cpu_hotplug/tools/do_disk_write_loop | 16 +- .../hotplug/cpu_hotplug/tools/do_kcompile_loop | 14 +- .../kernel/hotplug/cpu_hotplug/tools/do_spin_loop | 2 +- testcases/kernel/io/aio/aio02/runfstests.sh | 50 +- testcases/kernel/io/stress_cd/stress_cd.c | 2 +- testcases/kernel/security/Makefile | 3 + testcases/kernel/security/cap_bound/cap_bounds_r.c | 44 +- .../kernel/security/cap_bound/cap_bounds_rw.c | 58 +- .../security/cap_bound/cap_bset_inh_bounds.c | 61 +- testcases/kernel/security/cap_bound/check_pe.c | 20 +- testcases/kernel/security/cap_bound/dummy.c | 26 +- .../kernel/security/cap_bound/exec_with_inh.c | 34 +- .../kernel/security/cap_bound/exec_without_inh.c | 35 +- testcases/kernel/security/filecaps/Makefile | 2 +- testcases/kernel/security/filecaps/c.c | 45 + .../kernel/security/filecaps/check_simple_capset.c | 11 +- .../kernel/security/filecaps/checkforfilecaps.sh | 40 - .../kernel/security/filecaps/checkforlibcap.sh | 66 - testcases/kernel/security/filecaps/filecapstest.sh | 19 +- testcases/kernel/security/filecaps/inh_capped.c | 12 +- testcases/kernel/security/filecaps/print_caps.c | 2 +- .../kernel/security/filecaps/verify_caps_exec.c | 21 +- testcases/kernel/syscalls/libevent/Makefile.in | 3 +- testcases/kernel/syscalls/libevent/buffer.c | 5 + testcases/kernel/syscalls/link/link06.c | 18 +- testcases/kernel/syscalls/link/link07.c | 19 +- testcases/network/multicast/mc_cmds/mc_cmds | 2 +- testcases/network/tcp_cmds/echo/Makefile | 2 +- .../conformance/interfaces/sem_getvalue/1-1.c | 21 +- .../conformance/interfaces/sem_getvalue/2-1.c | 19 +- .../conformance/interfaces/sem_getvalue/2-2.c | 59 +- .../conformance/interfaces/sem_getvalue/4-1.c | 18 +- .../conformance/interfaces/sem_getvalue/5-1.c | 23 +- .../conformance/interfaces/sem_post/8-1.c | 4 +- .../conformance/interfaces/sigset/8-1.c | 14 +- testscripts/Makefile | 2 +- 88 files changed, 4376 insertions(+), 1187 deletions(-) create mode 100644 doc/MaintNotes create mode 100644 m4/ltp-prctl.m4 create mode 100644 result create mode 100755 scripts/git2changelog.sh create mode 100644 testcases/kernel/containers/check_for_unshare.c rename testcases/kernel/controllers/cgroup_fj/{cgroup_fj_testcases => cgroup_fj_testcases.sh} (100%) create mode 100644 testcases/kernel/controllers/memcg/control/Makefile create mode 100644 testcases/kernel/controllers/memcg/control/mem_process.c create mode 100644 testcases/kernel/controllers/memcg/control/memcg_control_test.sh create mode 100644 testcases/kernel/device-drivers/rtc/Makefile create mode 100644 testcases/kernel/device-drivers/rtc/README create mode 100644 testcases/kernel/device-drivers/rtc/rtc-test.c create mode 100644 testcases/kernel/hotplug/cpu_hotplug/Makefile create mode 100644 testcases/kernel/security/filecaps/c.c delete mode 100755 testcases/kernel/security/filecaps/checkforfilecaps.sh delete mode 100755 testcases/kernel/security/filecaps/checkforlibcap.sh Here is the summary of commit which can be reffered for detail changes and also i would recommend you to subscribe for ltp-commits@ list for knowing what changes are being done in the git repo. Garrett Cooper (41): Do some minor spring cleaning on the script to improve whitespace, quote a few strings passed to echo, etc. Inspite of memcg kernel support being available, memcg_[functional|regression |stress] test script fails to execute with message Note caveat about cpu_hotplug test needing to be run from the source tree directory. Grab ChangeLog script from http://github.com/cryos/avogadro/raw/master/scripts/gitlog2changelog.py . Add a simpler git ChangeLog script. Remove overly complicated git log ChangeLog script. Update ChangeLog. Remove unnecessary variable set; all MAKE_TARGETS get added to INSTALL_TARGETS. Fix order by properly alphabetizing it again. Make alphabetical ordering more apparent by adding a comment. Make sure this can run wherever -- update the install path in the runtest file for cpu_hotplug... Install in testcases/bin/cpu_hotplug to avoid collision with installed filenames. Remove bashisms. Clean up. All for parameterized $TMP. POSIXify. Fix indentation. 1. Add default kernel source dir as /usr/src/linux. 2. Clean up indentation. Update TODO with some items that need to be rewritten. 1. POSIXify 2. Clean up test. 3. Make more path agnostic. 1. POSIXify. 2. Convert over to tst_resm(1), like hotplug01.sh 1. POSIXify. 2. Clean up whitespace. 3. Make more relative-path agnostic. 1. POSIXify. 2. Cleanup space. ... Finish off cleanup: Clean up some logic. Remove ./ suffix in usage message and examples. Well obviously that test didn't trigger anything with the precommit hook -_-... Hi All, Hi All, Fix style in runfstests.sh Remove unused variable $str based on closer inspection via git commit history. Correct setuid() logic for "nobody" uid. Fix nobody group check and change default uid/gid for nobody. Replace pushd // popd with cd calls. Fix install for cgroup_fj_testcases. Fix _GNU_SOURCES macro requirement error. Replace pushd / popd with proper cd logic as busybox doesn't have pushd / popd. Use $TMP (which defaults to /tmp) rather than /tmp as $TMP can be parameterized via runltp, et all. Clean up comment to note the actual problem. It was confusing before. Hi, Update TODO with note about needing to replace pushd and popd logic in a few tests. Merge branch 'master' of ssh://yaberauneya@.../gitroot/ltp/ltp-dev Rishikesh K Rajak (63): New testcase added by Naufal. Changes since 6thFeb to 28Feb 2010. Merge ssh://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev Fixed the typo in changelog Inspite of memcg kernel support being available, memcg_[functional|regression |stress] test script fails to execute with message Merge branches 'master' and 'next' into next I have observed that the 'createfile.c' in testcases/network/tcp_cmds/echo directory is not getting compiled and installed during the LTP build. The "echo_createfile.patch" makes the necessary changes in the Makefile. I have found abnormal behavior of sem_post/8-1.c test case under posix. This test case passes in some times and failed in many times :-( Revertin the commit d40fd32af0d0ad7713b0cf6cd23daf1ee639d479 for now. Merge branch 'next' of ssh://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev (cpu_hotplugin_makefile.patch) to execute cpuhotplugin test. I have observed that the 'hotplug' directory is not included in "testcases/kernel/Makefile". I have also created a Makefile in 'hotplug/cpu_hotplug' directory. Merge branches 'master' and 'next' into next libcgroup_freezer , pushd/popd removal. Merge branches 'master' and 'maint' into maint Merge branches 'master' and 'next' into next Commenting "make all" in run_freezer.sh file as it is stopping to run the freezer testcase Quick fix for build failure with 8th Mar master tree. Adding check_for_unshare.c file and linking the porper lib. Merge branches 'next' and 'master' Testing for post-receive-email Instead of LIBS, it should be LDLIBS in container/Makefile Fix make filed,, reported by Shi Weihua <shiwh@...> It was my bad :( . Merge branches 'master' and 'next' into next Merge branches 'master' and 'maint' into maint Merge branches 'master' and 'pu' into pu To run filecap test, checkforlibcap.sh file is required to be there in /opt/ltp/testcases/bin Merge branches 'next' and 'master' Merge branches 'master' and 'next' into next Merge branches 'master' and 'maint' into maint Merge branches 'master' and 'pu' into pu Adding a wordy informationi, 2005 here represents as year not version of kernels. Merge branches 'pu' and 'maint' into maint This commit contains Linux RTC device driver test cases. Currently RTC read test, Alarm test and Update interrupts tests are supported. Merge branch 'next' of ssh://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev into next Attached patch fixes possible buffer oveflow in sem_getvalue tests (the buffer overflow happens when getpid() returns number that couldn't fit into buffer) and also cleans coding style. Merge branches 'next' and 'master' Here's an attempt at fixing up and simplifying the autoconf for detecting libcap and prctl support. After this, make autotools etc work fine on my f12 system, and runltp -f cap_bounds passes. the filecaps tests refuse to run claiming to be unable to find setcap, which I'll worry about next week. As pointed out by Cheng Shun Xia one of open posix conformace tests is testing return value from sigset(SIGCHLD, SIG_HOLD) and expect this value to be SIG_HOLD, however this is true only if SIGCHLD is already blocked so we must ensure that. Patch is attached. Remaining patch for new file addition for commit:6e3dd83d9f575d98d76b8b3f642ad6e8793dbdfc Revert "I have found abnormal behavior of sem_post/8-1.c test case under posix." while running i found some unwanted messages and fixed those. You can Ack if it is correct fix. I have tested these on MIPS architecture and reproduced infinite waiting situation after applying this patch. (with strace no issue found ex: #strace ./8-1.test) As you said there may be issues in MIPS-POSIX library. it may take some time to fix these issues or may not be fixed. However, I’ll discuss this issue with MIPS folks in different thread. Merge branches 'maint' and 'master' These warning will appear when HAVE_LIBCAP is not defined. Fix the proper return for testcase. Merge commit '391e757d43b3ac33a4a435e319ee77b1daa6da76' cgroup_fj_release_agent is not getting installed as it does not end with *.sh. Merge branches 'maint' and 'master' Merge branches 'maint' and 'next' into next Merge branches 'maint' and 'pu' into pu ./runltp -f fs_readonly fails with: Merge branches 'pu' and 'next' into next Merge branches 'next' and 'master' Updated the documentation and return sensible message if testcase failed. Merge branches 'master' and 'next' into next Changelog from 2010-03-01 to 2010-03-31 Merge branches 'next' and 'master' Added Maintainer Notes new file NETNS tests from containers fails to execute with following message Modified nets/Makefile for appending one file which needs in /opt/ltp/tetscases/bin directory while install. Merge branches 'next' and 'master' Added a new file called result where maintainer need to provide the result on which he has run before releasing the tar ball for month end release. Merge branches 'next' and 'master' -- Thanks & Regards Rishi LTP Maintainer IBM, LTC, Bangalore Please join IRC #ltp @ irc.freenode.net |
From: Mitani <mitani@ry...> - 2010-04-02 03:51:03
|
Hi, I tried to build by using yesterday's git in my system (RHEL4.8 x86). (ltp-dev-4837fee8a7c2de6a83c8927a574c792ca6dabe4e.tar.gz) But build failed in "cap_bset_inh_bounds.c" with following message. This is different from "cap_bounds_r.c"'s problem (another thread), I think ------------ gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/home/LTP/ltp-dev-20100401-3/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib cap_bset_inh_bounds.c -lltp -lcap -o cap_bset_inh_bounds cap_bset_inh_bounds.c:124: error: syntax error before numeric constant cap_bset_inh_bounds.c:124: warning: type defaults to `int' in declaration of `tst_resm' cap_bset_inh_bounds.c:124: error: conflicting types for 'tst_resm' ../../../../include/test.h:192: error: previous declaration of 'tst_resm' was here cap_bset_inh_bounds.c:124: error: conflicting types for 'tst_resm' ../../../../include/test.h:192: error: previous declaration of 'tst_resm' was here cap_bset_inh_bounds.c:124: warning: data definition has no type or storage class cap_bset_inh_bounds.c:129: warning: type defaults to `int' in declaration of `tst_exit' cap_bset_inh_bounds.c:129: error: conflicting types for 'tst_exit' ../../../../include/test.h:203: error: previous declaration of 'tst_exit' was here cap_bset_inh_bounds.c:129: error: conflicting types for 'tst_exit' ../../../../include/test.h:203: error: previous declaration of 'tst_exit' was here cap_bset_inh_bounds.c:129: warning: data definition has no type or storage class cap_bset_inh_bounds.c:130: error: syntax error before '}' token ------------ In this source, the pair of "ifdef" start/end and the pair of main() function's "parenthesis" are alternate, I think. How about following patch? Signed-off-by : Tomonori Mitani <mitani@...> Index: ./testcases/kernel/security/cap_bound/cap_bset_inh_bounds.c ============ --- ./testcases/kernel/security/cap_bound/cap_bset_inh_bounds.c 2010-04-01 16:15:00.000000000 +0900 +++ ./testcases/kernel/security/cap_bound/cap_bset_inh_bounds.c.new 2010-04-01 17:27:23.000000000 +0900 @@ -39,11 +39,11 @@ int errno; +int main(int argc, char *argv[]) +{ #if HAVE_SYS_CAPABILITY_H #if HAVE_DECL_PR_CAPBSET_READ && HAVE_DECL_PR_CAPBSET_DROP #ifdef HAVE_LIBCAP -int main(int argc, char *argv[]) -{ int ret = 1; cap_value_t v[1]; cap_flag_value_t f; ============ Thank you-- -Tomonori Mitani |
From: Mitani <mitani@ry...> - 2010-04-02 02:21:10
|
Hi, I tired to upgrade "libcap" from "libcap-1.0-20" to "libcap-2.11". My system is RHEL4.8 (x86) and kernel version is 2.6.9-89.ELsmp. I downloaded "libcap-2.11.tar.gz" from following URL : ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2 I extended it, and I confirmed that there are ".../libcap/include/ linux/capability.h" and ".../libcap/include/sys/capability.h" . ".../libcap/include/linux/capability.h" has "CAP_LAST_CAP" definition. I did "make" and "make install". But "/usr/include/linux/capability.h" was not changed. the "README" of "libcap-2.11" shows follows: ------------ # INSTALLATION Linux-Caps % make builds the library and the programs Linux-Caps % make install installs the library libcap.XX.Y in /lib/ the binaries in /sbin/ the <sys/capability.h> file in /usr/include ------------ It doesn't mention about "/usr/include/linux/capability.h" . In fact, "/usr/include/sys/capability.h" was replaced, but "/usr/include/linux/capability.h" was not. I checked where <linux/capability.h> came from, and knew that "/usr/include/linux/capability.h" is from "glibc-kernheaders" : ------------ [root@... cap_bound]# rpm -qf /usr/include/linux/capability.h glibc-kernheaders-2.4-9.1.103.EL [root@... cap_bound]# ------------ There are two ways to upgrade "/usr/include/linux/capability.h" in RHEL system, I think. 1) Upgrade "glibc-kernheaders". 2) Replace manually "/usr/include/sys/capability.h" with "linux/capability.h" of "libcap-2.11". 1) "glibc-kernheaders" is referenced from many modules of kernel. If I want to upgrade "glibc-kernheaders", kernel upgrade is needed, I think. It deviates from an original purpose (I want to test RHEL4.8 system). 2) Manually replace is not an original way and it is dangerous. First of all, I replaced manually "/usr/include/linux/capability.h" . And I succeeded to build "cap_bounds_r.c" and "cap_bounds_r.c". But upgrading "libcap" in RHEL system still includes the above problems, I think ------ After this, another build failed. But it is different from above problems, I think. Therfore, I will report it another thread. Regards-- -Tomonori Mitani > -----Original Message----- > From: Serge E. Hallyn [mailto:serue@...] > Sent: Friday, April 02, 2010 12:27 AM > To: Mitani > Cc: 'Rishikesh K Rajak'; ltp-list@... > Subject: Re: [LTP] cap_bounds_r.c build failure > > Quoting Mitani (mitani@...): > > Hi Rishi, > > > > I installed "libcap-devel", but after configure, build failed, too. > > > > ------------ > > [root@... mitani]# rpm -qa | grep libcap > > libcap-devel-1.10-20 > > libcap-1.10-20 > > [root@... mitani]# > > ------------ > > > > "libcap-1.10-20" version is normal version in my system (RHEL4.8 > > 2.6.9-89.ELsmp). > > In this version, capability.h doesn't have CAP_LAST_CAP definition. > > I try to upgrade version "2.11". > > Yeah, you need libcap2 for these tests. I guess we could stand > to add a rule to m4/ltp-cap.m4 to check for the existance of > libcap.so.2.X, X > oh say 12. > > -serge |