* [LTP] LTP syscall question
@ 2014-02-24 0:12 Jessica Foest
2014-02-24 12:37 ` chrubis
0 siblings, 1 reply; 2+ messages in thread
From: Jessica Foest @ 2014-02-24 0:12 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 759 bytes --]
Hi all
I'm a new user of LTP tool , my goal is to execute some system calls using
LTP and to intercept them using a kernel tracer .
i do this example :
/opt/ltp/runltp -q -p -l result.03.log -f
/home/jessica/LTP-test/test-syscall.txt
the content of the test-syscall.txt file is :
#Tag Test case
#---------------------------------------
fork01 fork01
chdir01 symlink01 -T chdir01
#----------------------------------------
the problem is that i didn't intercept the syscall fork and the syscall
chdir using my tracer in the kernel space.
So i wanna ask :
Which processes are responsible of the execution of these system calls ?
Does this tool, i mean LTP, really execute these system calls ( fork and
chdir ) in the kernel space?
Regards.
[-- Attachment #1.2: Type: text/html, Size: 1051 bytes --]
[-- Attachment #2: Type: text/plain, Size: 436 bytes --]
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] LTP syscall question
2014-02-24 0:12 [LTP] LTP syscall question Jessica Foest
@ 2014-02-24 12:37 ` chrubis
0 siblings, 0 replies; 2+ messages in thread
From: chrubis @ 2014-02-24 12:37 UTC (permalink / raw)
To: Jessica Foest; +Cc: ltp-list
Hi!
> I'm a new user of LTP tool , my goal is to execute some system calls using
> LTP and to intercept them using a kernel tracer .
>
> i do this example :
>
> /opt/ltp/runltp -q -p -l result.03.log -f
> /home/jessica/LTP-test/test-syscall.txt
>
> the content of the test-syscall.txt file is :
> #Tag Test case
> #---------------------------------------
> fork01 fork01
> chdir01 symlink01 -T chdir01
> #----------------------------------------
>
> the problem is that i didn't intercept the syscall fork and the syscall
> chdir using my tracer in the kernel space.
>
> So i wanna ask :
> Which processes are responsible of the execution of these system calls ?
> Does this tool, i mean LTP, really execute these system calls ( fork and
> chdir ) in the kernel space?
The test itself (standalone executable binary) calls the syscall to be
tested. But these are not the only syscalls that the test calls you
cannot write a test that calls a single syscall. You can run most of the
tests directly (without the runltp script) if you execute the cmdline
(marked as Test case in your example file) in the directory with the
test binaries or if you add the path to your PATH.
Moreover the runltp tool that runs LTP tests forks a few times before
the actual test is executed. You cannot run new program without doing
fork() beforehand in UNIX. So in your place, I would double check if the
kernel tracing works.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-24 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 0:12 [LTP] LTP syscall question Jessica Foest
2014-02-24 12:37 ` chrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox