On Sun, Oct 3, 2010 at 8:50 PM, Garrett Cooper <[email protected]> wrote:
> On Wed, Sep 29, 2010 at 7:09 AM, Subrata Modak1
> <[email protected]> wrote:
>> Serge Hallyn <[email protected]> wrote on 09/29/2010 07:40:51 PM:
>>>
>>> Quoting sravan ([email protected]):
>>> > Sorry for the confusion Serge.
>>> > I have taken the "c.c" file from the latest ltp release and found
>>> > that it is not compiling.
>>> >
>>> > The same file is not compiling in the earlier release of ltp also.
>>> > To resolve the compilation issue I have added the following
>>> > flag(HAVE_SYS_CAPABILITY_H).
>>> > The same flag is also used in
>> ltp-full-20100831/testcases/kernel/security/
>>> filecaps/verify_caps_exec.c
>>> > file.
>>> >
>>> > #if HAVE_SYS_CAPABILITY_H //Added by Sravan
>>> > #include <sys/capability.h>
>>> > #endif // Added by Sravan
>>> >
>>> > Please let me know if this is the correct approach.
>>>
>>> Well, the better approach would be to install the libcap-dev
>>> package (or whatever it is called on your distro) :) But so
>>> long as you're just getting your own compile working, whatever
>>> gets you a working build is fine.
>>>
>>> What worries me, though, is the thought that the official
>>> 20100831 release has the wrong files in it! Can you follow
>>> up on that with Subrata? In particular, the c.c file is
>>> different from the one in ltp.git. Something is going very
>>> wrong!
>>
>> Garret,
>>
>> Did we miss/drop something during our migration from ltp-dev.git to
>> ltp.git ?
>
> No... I pushed all of the content from ltp-dev.git up to ltp.git.
BTW...
$ git status c.c
# On branch master
nothing to commit (working directory clean)
$ diff ~/Downloads/ltp-full-20100831/testcases/kernel/security/filecaps/c.c
c.c
$ echo $?
0
So I'm not sure what Serge was looking at...
Thanks,
-Garrett
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list