search for: orig_tf_eflags

Displaying 1 result from an estimated 1 matches for "orig_tf_eflags".

2004 Sep 17
1
Fwd: FreeBSD kernel buffer overflow
...g them. The code to do that is the following: > >void >syscall(frame) > struct trapframe frame; >{ > caddr_t params; > struct sysent *callp; > struct thread *td = curthread; > struct proc *p = td->td_proc; > register_t orig_tf_eflags; > u_int sticks; > int error; > int narg; > int args[8]; > u_int code; > > > ... > > > narg = callp->sy_narg & SYF_ARGMASK; (<- you can see it's the > only one >check) > > if...