orce but you can simply run through the task list and kick
the pid of your user-space app (example for 2.4 kernel):
hofrat
---snip---
/*
* Copywrite 2002 Der Herr Hofrat
* License GPL V2
* Author [EMAIL PROTECTED]
*/
/*
* run through the task list of linux search for the passed pid and send it
*
HI !
I noticed a slight proc filesystem strangness in the 2.4.2X and 2.6.X
(atleast up to 2.6.8). Assuming that process 8655 exists and is running
long enough (ls -lR / or so)
cd /proc/8655
kill -9 8655
ls
/usr/bin/ls: .: Stale NFS file handle
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_D
Hi !
can someone explain to me whats happening here ?
--simple.c--
#include
#include
struct { short x; long y; short z; }bad_struct;
struct { long y; short x; short z; }good_struct;
int init_module(void){
printk("good_struct %d, bad_struct
%d\n",sizeof(good_struct),sizeof(bad_stru
3 matches
Mail list logo