diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2016-05-31 17:28:15 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2016-05-31 17:28:15 +0000 |
commit | 8aab24aeda0d7007addf93af6981056bd2b9bdb4 (patch) | |
tree | 73dd491be4e41b65aea99eee5a86d7bc9d1d3a90 /regress/usr.bin/sdiff/file2 | |
parent | a985495a4ecc78af69c7d98a56c985ecbd01cea5 (diff) |
Replace most of the tests based on systrace output; from Ray.
Diffstat (limited to 'regress/usr.bin/sdiff/file2')
-rw-r--r-- | regress/usr.bin/sdiff/file2 | 76 |
1 files changed, 7 insertions, 69 deletions
diff --git a/regress/usr.bin/sdiff/file2 b/regress/usr.bin/sdiff/file2 index e19098d04d3..a1ee77170c6 100644 --- a/regress/usr.bin/sdiff/file2 +++ b/regress/usr.bin/sdiff/file2 @@ -1,69 +1,7 @@ -Policy: /usr/bin/lynx, Emulation: native - native-issetugid: permit - native-mprotect: permit - native-mmap: permit - native-sysctl: permit - native-fsread: filename eq "/var/run/ld.so.hints" then permit - native-fstat: permit - native-close: permit - native-fsread: filename match "/usr/lib/libssl.so.*" then permit - native-read: permit - native-fsread: filename match "/usr/lib/libcrypto.so.*" then permit - native-fsread: filename match "/usr/lib/libncurses.so.*" then permit - native-fsread: filename match "/usr/lib/libc.so.*" then permit - native-munmap: permit - native-sigprocmask: permit - native-fsread: filename eq "/etc/malloc.conf" then permit - native-getpid: permit - native-fsread: filename eq "/tmp" then permit - native-fswrite: filename match "/tmp/lynx-*" then permit - native-fsread: filename match "/tmp/lynx-*/." then permit - native-fsread: filename eq "$HOME" then permit - native-fsread: filename eq "/etc/lynx.cfg" then permit - native-fsread: filename eq "/" then permit - native-fsread: filename eq "/usr/obj/bin/systrace/." then permit - native-fsread: filename eq "/usr/obj/bin" then permit - native-fcntl: permit - native-getdirentries: permit - native-lseek: permit - native-fsread: filename eq "/usr/obj" then permit - native-fsread: filename eq "/usr" then permit - native-fsread: filename eq "/usr/bin" then permit - native-fsread: filename eq "/usr/games" then permit - native-fsread: filename eq "/usr/include" then permit - native-fsread: filename eq "/usr/lib" then permit - native-fsread: filename eq "/usr/libdata" then permit - native-fsread: filename eq "/usr/libexec" then permit - native-fsread: filename eq "/usr/lkm" then permit - native-fsread: filename eq "/usr/local" then permit - native-fsread: filename eq "/usr/mdec" then permit - native-fsread: filename eq "/home" then permit - native-fsread: filename eq "/obj" then permit - native-fsread: filename eq "$HOME/.lynxrc" then permit - native-fsread: filename match "/<non-existent filename>: *" then permit - native-fsread: filename eq "/usr/obj/bin/systrace/.mailcap" then permit - native-fsread: filename eq "$HOME/.mailcap" then permit - native-fsread: filename eq "/usr/obj/bin/systrace/.mime.types" then permit - native-fsread: filename eq "$HOME/.mime.types" then permit - native-sigaction: permit - native-ioctl: permit - native-fsread: filename eq "$HOME/.terminfo.db" then permit - native-fsread: filename eq "$HOME/.terminfo" then permit - native-fsread: filename eq "/usr/share/misc/terminfo.db" then permit - native-pread: permit - native-write: permit - native-fsread: filename eq "$HOME/.lynx-keymaps" then permit - native-fsread: filename eq "/var/run/dev.db" then permit - native-fsread: filename eq "/etc/utmp" then permit - native-poll: permit - native-nanosleep: permit - native-gettimeofday: permit - native-fsread: filename eq "/etc/resolv.conf" then permit - native-socket: sockdom eq "AF_INET" and socktype eq "SOCK_DGRAM" then permit - native-connect: sockaddr eq "inet-[127.0.0.1]:53" then permit - native-sendto: true then permit - native-select: permit - native-recvfrom: permit - native-socket: sockdom eq "AF_INET" and socktype eq "SOCK_STREAM" then permit - native-connect: sockaddr match "inet-\\\[*\\\]:80" then permit - native-exit: permit +top +file2 +same1 +same2 +file2only +same3 +bottom |