Recently I ran into this problem. How do you capture SIGSEGV with a signal handler and still generate a core file? The problem is that once you have your own signal handler for SIGSEGV, Linux will not call default signal handler which generates ...
I believe F_LOCK is also defined in unistd.h and would be a more appropriate header file ... Mail (will not be published) (required) Website. Copyright © www.securixlive.com 2005-2009 ...
This short article describes how to obtain unique thread identifier in Linux. ... #include #include #include #include pid_t gettid( void ) { return syscall ...
Glade 3 + GtkBuilder + Anjuta Example. - Today I whipped up a simple GTK application using the Anjuta IDE, Glade 3, and the new GtkBuilder system. As some of you know, Glade 3 and GTK changed things
Hello again, we have given a project in System Programming course. It was expected you to alter the kernel code for process invisibility, when you ps, process
Automatically update your files in a public html directory after you commit to your SVN repository. Deploy a particular folder from your svn repository or the complete repository.
MySQL UDF - the first taste ... #include #include #include extern C { my_bool now_usec_init(UDF_INIT *initid, UDF_ARGS *args, char *message) ...
#include #include #include int ... Mail (will not be published) (required) Website. theme Sysadmin Ramblings is proudly powered by WordPress ...
Home and blog of John Hobbs. Contains entries on computers, music, movies, programming, Nebraska, and more. ... #include #include #include void theShieldIsUp (int param) { raise(SIGABRT) ...
Code Maestro - The Coding Experience: All about source code that really makes you excited. CodeMaestro is not another developers' reference site. It is a site for coders.
If your organisation has password aging policy set for your UNIX servers, there is a possibility that the root account may also get locked out due to the
Solving real security problems that matter to real users ... #include #include #include #include #include int main(int argc, char *argv[]) { int ret, fd; ...
Even there's an easier way calculating directory size ftw syscall/API [text] NAME ftw, nftw - file tree walk DESCRIPTION ftw() walks through the directory tree that is located under the directory dirpath, and calls fn() once for each entry in the...
Information on MySQL Cluster and MySQL Replication. Publicising announcements and other ... #include #include #include #include ...
#include #include #include int main(void) { execl(/usr/bin/svn, svn, update, --username, USERNAME ... Mail (will not be published) (required) ...
To debug better a Wii application / game i have created a trace C++ module with is logging trace event to file. Please checkout the following code. I hope it
#define _XOPEN_SOURCE 500 #include #include #include #include #include #include static int display_info(const char *fpath, const struct stat *sb, ... No trackbacks yet. Name (required) E-Mail (will not be published) (required) Website ...
#include #include #include jack_client_t *client; ... #include #include #include jack_client_t *client; ...
#include #include #include #include int main ... #include #include #include Symlink.h JNIEXPORT ...
#include #include int main (int argc, char *argv[]) { extern char ... Name (required) E-mail (will not be published) (required) Website. Get replies to this comment via e-mail ...
printf (13)
linux (11)
how to (9)
kernel (8)
sys (8)
argv (8)
gcc (7)
usr (6)
blog archive (6)
system call (6)
struct (5)
pid (5)
shell (4)
signal handler (4)
sleep (4)
exec (4)
sizeof (4)
syscall (4)
linux kernel (4)
application (4)
api (4)
fp (4)
svn (4)
the user (3)
solaris 10 (3)
threads (3)
header file (3)
passwords (3)
filename (3)
int main (3)
reading (3)
facebook (3)
file system (3)
games (3)
subversion (3)
buf (3)
bash (3)
sb (3)
apache (3)
project (3)