Lines Matching defs:uap

127 filemon_wrapper_chdir(struct thread *td, struct chdir_args *uap)
134 if ((ret = sys_chdir(td, uap)) == 0) {
142 copyinstr(uap->path, filemon->fname1,
163 filemon_wrapper_execve(struct thread *td, struct execve_args *uap)
171 copyinstr(uap->fname, fname, sizeof(fname), &done);
173 if ((ret = sys_execve(td, uap)) == 0) {
201 struct freebsd32_execve_args *uap)
209 copyinstr(uap->fname, fname, sizeof(fname), &done);
211 if ((ret = freebsd32_execve(td, uap)) == 0) {
238 filemon_wrapper_fork(struct thread *td, struct fork_args *uap)
244 if ((ret = sys_fork(td, uap)) == 0) {
270 filemon_wrapper_open(struct thread *td, struct open_args *uap)
277 if ((ret = sys_open(td, uap)) == 0) {
285 copyinstr(uap->path, filemon->fname1,
288 if (uap->flags & O_RDWR) {
303 (uap->flags & O_ACCMODE) ? 'W':'R',
319 filemon_wrapper_rename(struct thread *td, struct rename_args *uap)
326 if ((ret = sys_rename(td, uap)) == 0) {
334 copyinstr(uap->from, filemon->fname1,
336 copyinstr(uap->to, filemon->fname2,
357 filemon_wrapper_link(struct thread *td, struct link_args *uap)
364 if ((ret = sys_link(td, uap)) == 0) {
372 copyinstr(uap->path, filemon->fname1,
374 copyinstr(uap->link, filemon->fname2,
395 filemon_wrapper_symlink(struct thread *td, struct symlink_args *uap)
402 if ((ret = sys_symlink(td, uap)) == 0) {
410 copyinstr(uap->path, filemon->fname1,
412 copyinstr(uap->link, filemon->fname2,
434 filemon_wrapper_linkat(struct thread *td, struct linkat_args *uap)
441 if ((ret = sys_linkat(td, uap)) == 0) {
449 copyinstr(uap->path1, filemon->fname1,
451 copyinstr(uap->path2, filemon->fname2,
473 filemon_wrapper_stat(struct thread *td, struct stat_args *uap)
480 if ((ret = sys_stat(td, uap)) == 0) {
488 copyinstr(uap->path, filemon->fname1,
511 struct freebsd32_stat_args *uap)
518 if ((ret = freebsd32_stat(td, uap)) == 0) {
526 copyinstr(uap->path, filemon->fname1,
548 filemon_wrapper_sys_exit(struct thread *td, struct sys_exit_args *uap)
565 "X %d %d\n", curproc->p_pid, uap->rval);
587 sys_sys_exit(td, uap);
591 filemon_wrapper_unlink(struct thread *td, struct unlink_args *uap)
598 if ((ret = sys_unlink(td, uap)) == 0) {
606 copyinstr(uap->path, filemon->fname1,
627 filemon_wrapper_vfork(struct thread *td, struct vfork_args *uap)
633 if ((ret = sys_vfork(td, uap)) == 0) {