OpenBSD CVS

CVS log for src/bin/systrace/Attic/systrace.h


[BACK] Up to [local] / src / bin / systrace

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.29, Mon Apr 25 19:09:25 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.28: +1 -1 lines
FILE REMOVED

boom goes the dynamite

Revision 1.28 / (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.27: +1 -4 lines
Diff to previous 1.27 (colored)

drop Linux emulation support; ok sthen@ visa@

Revision 1.27 / (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_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, 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, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.26: +18 -7 lines
Diff to previous 1.26 (colored)

sync with systrace 1.6d, keeping local changes

tests and feedback by a few

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 12 20:56:10 2006 UTC (18 years, 3 months ago) by sturm
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

add a few new translations, partly from NetBSD

ok provos@, deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 23 20:51:18 2004 UTC (20 years, 4 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored)

support for cradle mode by marius at monkey.org; cradle mode allows the
systrace UI to be attached and re-attached, it also multiplexes across
systrace process so that one UI can function as central notification

from provos@, ok markus@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 8 16:32:44 2003 UTC (20 years, 8 months ago) by sturm
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (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.23 / (download) - annotate - [select for diffs], Sat Jul 19 11:48:58 2003 UTC (20 years, 10 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Mon Jun 16 06:36:40 2003 UTC (21 years ago) by itojun
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

- limited number of processes per systrace
- escape fixes for special characters
markus, sturm ok.  from provos

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 29 00:39:12 2003 UTC (21 years ago) by itojun
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

>permit numberic values for uid and gid;  allow "<" and ">" for less and
>greate; requested by dugsong@,
strum ok

Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 9 07:24:56 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

add support for regular expressions and pidname translations.  from provos

Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 16 14:27:17 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.18: +11 -11 lines
Diff to previous 1.18 (colored)

rename translation tables.  from provos

Revision 1.18 / (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.17: +3 -1 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Wed Oct 16 14:43:33 2002 UTC (21 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

translation for socket system call
from provos

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 9 03:52:10 2002 UTC (21 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.15: +21 -4 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Mon Sep 23 04:41:02 2002 UTC (21 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.14: +17 -3 lines
Diff to previous 1.14 (colored)

support for templates.  they allow fast generation of new policies. an
appropriate template can be inserted during initial policy generation.
from provos

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 5 23:27:53 2002 UTC (21 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

allow to specify an alternate directory for policy loading and writing

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 4 04:15:50 2002 UTC (21 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

keep track of ppid and allow matching rules to be logged via syslog.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 30 06:07:06 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

avoid using same variable name for global and auto variable.

Revision 1.11 / (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.10: +25 -15 lines
Diff to previous 1.10 (colored)

constify, have missing prototypes, use pedantic compilation options.
niels ok

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 16 01:22:48 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

internal uid/gid tracking.  permit can not detach systrace, useful for
sshd.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 14 22:34:55 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

argv translation for exeve

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 13 08:54:10 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

uname translation

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 11 12:57:41 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

cleanup

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 9 15:22:27 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.5: +39 -1 lines
Diff to previous 1.5 (colored)

support for system call aliasing.  stat/fstat/readlink/access etc... gets
grouped into fsread, unlink/rmdir/mkdir goes to fswrite.  open switches
back between fsread and fswrite depending on oflags parameter.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 7 18:05:20 2002 UTC (22 years ago) by provos
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

use profiling to order filter lists more optimally.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 4 22:45:25 2002 UTC (22 years ago) by provos
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

log offending syscalls to syslog in automatic mode. dugsong@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 4 19:43:35 2002 UTC (22 years ago) by provos
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

explicit path for notification tool xsystrace.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 4 19:15:54 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

KNF

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.