]> granicus.if.org Git - sudo/commit
No need to include syscall.h, use 1024 as the max # of entries (the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 1 Oct 2004 18:30:20 +0000 (18:30 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 1 Oct 2004 18:30:20 +0000 (18:30 +0000)
commite173a07c85e9f36d5965d5d0d61ed250efe60d0e
tree9dc29a0b773ba323eb34c842d1fd7805813531a8
parentebf22ee977b8096207dcb73622eb8e1cdc8c2a0f
No need to include syscall.h, use 1024 as the max # of entries (the
max that systrace(4) allows).

Only need to use SYSTR_POLICY_ASSIGN once

Change check_syscall() -> find_handler() and have it return the
handler instead of just running it.  We need this since handler now
have two parts: one part that generates and answer and another that
gets called after the answer is accepted (to do logging).

Add some missing check_exec for emul execv
mon_systrace.c
mon_systrace.h