Up to [local] / src / bin / systrace
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.48, Mon Apr 25 19:09:25 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.47: +1 -1 lines
FILE REMOVED
boom goes the dynamite
Revision 1.47 / (download) - annotate - [select for diffs], Tue Mar 1 16:26:06 2016 UTC (8 years, 3 months ago) by naddy
Branch: MAIN
Changes since 1.46: +1 -6 lines
Diff to previous 1.46 (colored)
drop Linux emulation support; ok sthen@ visa@
Revision 1.46 / (download) - annotate - [select for diffs], Wed Dec 9 19:36:17 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored)
Remove NULL-check before free(). ok tb@
Revision 1.45 / (download) - annotate - [select for diffs], Fri Jan 16 00:19:12 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)
move to PATH_MAX, etc; normalize includes for life in the <limits.h> universe ok guenther millert
Revision 1.44 / (download) - annotate - [select for diffs], Thu Oct 17 10:21:58 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (colored)
a.out emulation went away
Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 29 00:28:23 2013 UTC (11 years, 1 month ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)
use FD_CLOEXEC instead of 1; from David Hill ok otto
Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 3 03:36:25 2013 UTC (11 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (colored)
LFS option is long gone
Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 18 23:24:14 2011 UTC (12 years, 8 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.40: +7 -4 lines
Diff to previous 1.40 (colored)
Add support for *at(2) system calls to systrace(1). ok deraadt@, sthen@, jasper@
Revision 1.40 / (download) - annotate - [select for diffs], Mon Jul 4 22:59:42 2011 UTC (12 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.39: +1 -4 lines
Diff to previous 1.39 (colored)
remove compat_svr4
Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 5 15:22:51 2011 UTC (13 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.38: +1 -6 lines
Diff to previous 1.38 (colored)
Remove FREEBSD_COMPAT bits and obsolete RTHREAD define
Revision 1.38 / (download) - annotate - [select for diffs], Mon Jul 5 22:26:20 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.37: +1 -4 lines
Diff to previous 1.37 (colored)
compat_bsdos is gone
Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 2 20:00:54 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.36: +1 -4 lines
Diff to previous 1.36 (colored)
remove userland bits of compat_sunos
Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 1 17:26:52 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.35: +1 -4 lines
Diff to previous 1.35 (colored)
another day, another compat gets removed. today is ibcs2's turn
Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 30 20:46:51 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.34: +1 -4 lines
Diff to previous 1.34 (colored)
remove compat_osf1. ok deraadt miod
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 29 20:30:32 2010 UTC (13 years, 11 months ago) by guenther
Branch: MAIN
Changes since 1.33: +1 -10 lines
Diff to previous 1.33 (colored)
Remove COMPAT_HPUX. No one wanted to support it and its fewmets were blocking other cleanups ok miod@
Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 29 17:32:51 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.32: +1 -4 lines
Diff to previous 1.32 (colored)
ultrix compat is going away...
Revision 1.32 / (download) - annotate - [select for diffs], Tue May 29 01:02:21 2007 UTC (17 years ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.31: +1 -4 lines
Diff to previous 1.31 (colored)
remove compat netbsd stuff
Revision 1.31 / (download) - annotate - [select for diffs], Sun Jul 2 12:34:15 2006 UTC (17 years, 11 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)
sync with systrace 1.6d, keeping local changes tests and feedback by a few
Revision 1.30 / (download) - annotate - [select for diffs], Tue May 2 19:49:05 2006 UTC (18 years, 1 month ago) by sturm
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)
some type cleanup with feedback from kettenis
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 1 11:48:45 2006 UTC (18 years, 5 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.28: +5 -1 lines
Diff to previous 1.28 (colored)
add PTRACE and RTHREADS defines ok miod
Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 9 23:51:42 2004 UTC (19 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.27: +7 -1 lines
Diff to previous 1.27 (colored)
#ifdef hpux only for m68k or hppa; this needs a revisit since this shows something flawed in the way that the emulation system calls are being handled
Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 9 23:42:50 2004 UTC (19 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)
oops committed the old version
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 9 21:53:55 2004 UTC (19 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.25: +22 -22 lines
Diff to previous 1.25 (colored)
better includes for syscalls from kernel
Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 7 07:31:40 2004 UTC (19 years, 11 months ago) by marius
Branch: MAIN
Changes since 1.24: +14 -1 lines
Diff to previous 1.24 (colored)
fix an issue when scripts are exec'd under systrace where 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@
Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 23 05:16:35 2004 UTC (19 years, 11 months ago) by marius
Branch: MAIN
Changes since 1.23: +14 -1 lines
Diff to previous 1.23 (colored)
a few fixes to systrace - 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
Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 22 21:03:35 2003 UTC (20 years, 7 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)
from NetBSD: initialise an integer field with 0 instead of NULL ok provos, itojun, avsm, fgsch
Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 8 16:32:44 2003 UTC (20 years, 7 months ago) by sturm
Branch: MAIN
Changes since 1.21: +9 -3 lines
Diff to previous 1.21 (colored)
originally from cb@openbsd.org, adapted by provos 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@
Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 23 20:01:57 2003 UTC (20 years, 9 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.20: +1 -0 lines
Diff to previous 1.20 (colored)
teach systrace about "aout" emul; henning@ ok.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Jul 19 11:48:58 2003 UTC (20 years, 10 months ago) by sturm
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)
- sync with NetBSD or Niels' tarball where appropriate - keeps local changes - fixes a bug in profile feedback optimization and avoids symbol conflicts with errno - new feature: "ask" action itojun@ ok
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 16 06:36:40 2003 UTC (20 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.18: +6 -1 lines
Diff to previous 1.18 (colored)
- limited number of processes per systrace - escape fixes for special characters markus, sturm ok. from provos
Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 4 17:40:06 2002 UTC (21 years, 6 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)
rename to a new ioctl
Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 26 03:50:58 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)
avoid symbol conflict with "errno"
Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 26 03:48:07 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.15: +10 -19 lines
Diff to previous 1.15 (colored)
performance improvement by omitting a redundant getcwd. from provos
Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 16 15:01:08 2002 UTC (21 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.14: +18 -5 lines
Diff to previous 1.14 (colored)
support for privilege elevation. 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
Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 9 03:52:10 2002 UTC (21 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.13: +12 -1 lines
Diff to previous 1.13 (colored)
predicates are part of the grammar now; in non-root case, predicates are evaluated only once; in root case, predicates and variable expansion are dynamic. from provos
Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 28 03:54:35 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)
avoid symbol conflict (errno)
Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 28 03:30:27 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)
fix systrace with chroot. from provos
Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 7 21:27:15 2002 UTC (21 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.10: +9 -3 lines
Diff to previous 1.10 (colored)
deal better with interrupted system calls
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 30 09:16:19 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
sync function decl and prototype (static-ness)
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 22 04:02:39 2002 UTC (21 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.8: +17 -11 lines
Diff to previous 1.8 (colored)
add seqnr to message from kernel, userland needs to quote correct seqnr. avoids problems where tsleep has been interrupted by a signal.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 19 14:38:58 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.7: +59 -37 lines
Diff to previous 1.7 (colored)
constify, have missing prototypes, use pedantic compilation options. niels ok
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 6 19:14:19 2002 UTC (21 years, 11 months ago) by nordin
Branch: MAIN
Changes since 1.6: +1 -3 lines
Diff to previous 1.6 (colored)
Remove kernel support for NTP. ok deraadt@ and tholo@
Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 21 15:26:06 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.5: +53 -3 lines
Diff to previous 1.5 (colored)
rewrite all system call arguments in the permit case. use realpath when we still have the root and we of the monitored process. this eliminates almost all race coniditions.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 10 19:16:26 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.4: +34 -3 lines
Diff to previous 1.4 (colored)
support attaching to a running process; some code by fries@
Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 4 19:15:54 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)
KNF
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 4 19:09:45 2002 UTC (22 years ago) by provos
Branch: MAIN
Changes since 1.2: +22 -22 lines
Diff to previous 1.2 (colored)
no absolute includes, changed to relatives; from deraadt@
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 4 19:07:04 2002 UTC (22 years ago) by provos
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)
__FUNCTION__ -> __func__ from espie@
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 4 17:20:04 2002 UTC (22 years ago) by provos
Branch: MAIN
initial import of systrace. don't touch this, more stuff coming in a while