Top > Software Libraries > C libraries > LibSysCtr

LibSysCtr - GNU/Linux system call tracing library

LibSysCTr intercepts system call functions on a GNU/Linux system. Process monitoring and sandboxing are just two of its potential uses. LibSysCTr uses the ptrace(2) functionalities by monitoring and reporting events to the library caller. LibSysCTr is callback driven, which means the user initializes the library with systr_init_library(), registers the system calls he wants to monitor with systr_trace_syscall(), and calls systr_run() to start receiving events in the form of callback invocation.

For each intercepted system call, two calls to the registered callback function are performed: one during the system call entry, before the system call iteself will be executed by the kernel, and one after the kernel has processed the system call (right before returning the userspace). Utility functions are supplied to, retrieve information about the process, get/set the system call parameters, and read/write the monitored process address space.

Obtaining

Web pagehttp://www.xmailserver.org/sysctr-lib.html
Source tarballhttp://www.xmailserver.org/libsysctr-0.2.tar.gz
Version 0.2 (beta) released on 2004-05-21
Licensed under LGPL2.1orlater.
This is not a GNU package.

Support contacts

Help List<davidel@xmailserver.org>
Developer List<davidel@xmailserver.org>
Bug List<davidel@xmailserver.org>

Project contacts

Maintainers
Developers

Related information

Interfaceslibrary
Source languagesC

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2005-05-13
Entry compiled byDavide Libenzi <davidel@xmailserver.org>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.