I just try to define a new syscall set_limit(), which is used for set a limitation for syscall read() or write(). This syscall should retain two value max_read_bytes and max_write_bytes in each process. I try to add these two new fields in task_struct. But how can I initialize these two values and make them available in each process, so that read/write can get these values?
