summaryrefslogtreecommitdiff
path: root/bin/systrace/openbsd-syscalls.c
AgeCommit message (Collapse)Author
2007-05-29remove compat netbsd stuffOtto Moerbeek
2006-07-02sync with systrace 1.6d, keeping local changesNikolay Sturm
tests and feedback by a few
2006-05-02some type cleanupNikolay Sturm
with feedback from kettenis
2006-01-01add PTRACE and RTHREADS definesNikolay Sturm
ok miod
2004-07-09#ifdef hpux only for m68k or hppa; this needs a revisit since this showsTheo de Raadt
something flawed in the way that the emulation system calls are being handled
2004-07-09oops committed the old versionMichael Shalayeff
2004-07-09better includes for syscalls from kernelMichael Shalayeff
2004-07-07fix an issue when scripts are exec'd under systrace wheremarius eriksen
the argv[0] would be normalized, and hence break scripts that depend on how they were called. this fixes an issue in the ports builds. ok provos@ deraadt@; lots of testing during hackathon sturm@ naddy@
2004-06-23a few fixes to systracemarius eriksen
- add an exec message so that whenever a set-uid/gid process exec's a new image which we may control, the exec does not go by unnoticed. - take special care to check for P_SUGIDEXEC as well as P_SUGID, corresponding to the same changes that were made in the ptrace code a while ago ok niels@, sturm@; thanks to naddy for testing
2003-10-22from NetBSD:Nikolay Sturm
initialise an integer field with 0 instead of NULL ok provos, itojun, avsm, fgsch
2003-10-08originally from cb@openbsd.org, adapted by provosNikolay Sturm
itojun@ ok fix a race condition between path resolution in userland and the subsequent namei(): inform the kernel portion of valid filenames and then disallow symlink lookups for those filenames by means of a hook in namei(). with suggestions from provos@ also, add (currently unused) seqnr field to struct systrace_replace, from provos@
2003-08-23teach systrace about "aout" emul; henning@ ok.Federico G. Schwindt
2003-07-19- sync with NetBSD or Niels' tarball where appropriateNikolay Sturm
- keeps local changes - fixes a bug in profile feedback optimization and avoids symbol conflicts with errno - new feature: "ask" action itojun@ ok
2003-06-16- limited number of processes per systraceJun-ichiro itojun Hagino
- escape fixes for special characters markus, sturm ok. from provos
2002-12-04rename to a new ioctlMichael Shalayeff
2002-11-26avoid symbol conflict with "errno"Jun-ichiro itojun Hagino
2002-11-26performance improvement by omitting a redundant getcwd.Jun-ichiro itojun Hagino
from provos
2002-10-16support for privilege elevation.Jun-ichiro itojun Hagino
with privilege elevation no suid or sgid binaries are necessary any longer. Applications can be executed completely unprivileged. Systrace raises the privileges for a single system call depending on the configured policy. Idea from discussions with Perry Metzger, Dug Song and Marcus Watts. from provos
2002-10-09predicates are part of the grammar now; in non-root case, predicates areJun-ichiro itojun Hagino
evaluated only once; in root case, predicates and variable expansion are dynamic. from provos
2002-08-28avoid symbol conflict (errno)Jun-ichiro itojun Hagino
2002-08-28fix systrace with chroot. from provosJun-ichiro itojun Hagino
2002-08-07deal better with interrupted system callsNiels Provos
2002-07-30sync function decl and prototype (static-ness)Jun-ichiro itojun Hagino
2002-07-22add seqnr to message from kernel, userland needs to quote correct seqnr.Niels Provos
avoids problems where tsleep has been interrupted by a signal.
2002-07-19constify, have missing prototypes, use pedantic compilation options.Jun-ichiro itojun Hagino
niels ok
2002-07-06Remove kernel support for NTP. ok deraadt@ and tholo@Thomas Nordin
2002-06-21rewrite all system call arguments in the permit case. use realpathNiels Provos
when we still have the root and we of the monitored process. this eliminates almost all race coniditions.
2002-06-10support attaching to a running process; some code by fries@Niels Provos
2002-06-04KNFTheo de Raadt
2002-06-04no absolute includes, changed to relatives; from deraadt@Niels Provos
2002-06-04__FUNCTION__ -> __func__ from espie@Niels Provos
2002-06-04initial import of systrace. don't touch this, more stuff coming in a whileNiels Provos