/proc enhancement

George Kola (procproj@yahoo.com)
Sat, 6 Apr 2002 22:59:08 -0800 (PST)


We are working on a project to enhance linux /proc.
This is of particular importance to the 'Paradayn'
project (cs.wisc.edu/paradyn).
We want to add the ability to specifically trace a
set of system calls and the ability to trace the
system call entry or exit or both. For this we wanted
to add two structs to

struct task_struct in include/linux/sched.h

struct syscall_set {
char traced[8];
}

we want to add

struct syscall_set entry,exit; to task_struct in
include/linux/sched.h

In the beginning of task_struct we found that

struct task_struct {
/*
* offsets of these are hardcoded elsewhere - touch
with care
*/

We want to know what we would be breaking if
we add the structs at the end ? (so that we can fix
them)

Also how do we initialize it in
#define INIT_TASK(tsk) (we want to set all bits in the
struct to 1).

Thanks,
George

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/