1*57718be8SEnji CooperPolicy: /usr/bin/lynx, Emulation: native Policy: /usr/bin/lynx, Emulation: native 2*57718be8SEnji Cooper > native-issetugid: permit 3*57718be8SEnji Cooper > native-mprotect: permit 4*57718be8SEnji Cooper > native-mmap: permit 5*57718be8SEnji Cooper native-__sysctl: permit native-__sysctl: permit 6*57718be8SEnji Cooper > native-fsread: filename eq "/var/run/ld.so.hints" then pe 7*57718be8SEnji Cooper > native-fstat: permit 8*57718be8SEnji Cooper native-close: permit native-close: permit 9*57718be8SEnji Cooper native-connect: sockaddr eq "inet-[127.0.0.1]:53" then | native-fsread: filename match "/usr/lib/libssl.so.*" then 10*57718be8SEnji Cooper native-connect: sockaddr match "inet-\\\[*\\\]:80" then | native-read: permit 11*57718be8SEnji Cooper native-exit: permit | native-fsread: filename match "/usr/lib/libcrypto.so.*" t 12*57718be8SEnji Cooper native-fcntl: cmd eq "F_SETFD" then permit | native-fsread: filename match "/usr/lib/libncurses.so.*" 13*57718be8SEnji Cooper native-fsread: filename eq "/" then permit | native-fsread: filename match "/usr/lib/libc.so.*" then p 14*57718be8SEnji Cooper native-fsread: filename match "/<non-existent filename> | native-munmap: permit 15*57718be8SEnji Cooper native-fsread: filename eq "/etc/lynx.cfg" then permit | native-sigprocmask: permit 16*57718be8SEnji Cooper native-fsread: filename eq "/etc/malloc.conf" then perm native-fsread: filename eq "/etc/malloc.conf" then permit 17*57718be8SEnji Cooper native-fsread: filename eq "/etc/resolv.conf" then perm | native-getpid: permit 18*57718be8SEnji Cooper native-fsread: filename eq "/etc/utmp" then permit < 19*57718be8SEnji Cooper native-fsread: filename eq "/home" then permit < 20*57718be8SEnji Cooper native-fsread: filename eq "$HOME" then permit < 21*57718be8SEnji Cooper native-fsread: filename eq "$HOME/.lynx-keymaps" then p < 22*57718be8SEnji Cooper native-fsread: filename eq "$HOME/.lynxrc" then permit < 23*57718be8SEnji Cooper native-fsread: filename eq "$HOME/.mailcap" then permit < 24*57718be8SEnji Cooper native-fsread: filename eq "$HOME/.mime.types" then per < 25*57718be8SEnji Cooper native-fsread: filename eq "$HOME/.terminfo" then permi < 26*57718be8SEnji Cooper native-fsread: filename eq "$HOME/.terminfo.db" then pe < 27*57718be8SEnji Cooper native-fsread: filename eq "/obj" then permit < 28*57718be8SEnji Cooper native-fsread: filename eq "/tmp" then permit native-fsread: filename eq "/tmp" then permit 29*57718be8SEnji Cooper > native-fswrite: filename match "/tmp/lynx-*" then permit 30*57718be8SEnji Cooper native-fsread: filename match "/tmp/lynx-*/." then perm native-fsread: filename match "/tmp/lynx-*/." then permit 31*57718be8SEnji Cooper > native-fsread: filename eq "$HOME" then permit 32*57718be8SEnji Cooper > native-fsread: filename eq "/etc/lynx.cfg" then permit 33*57718be8SEnji Cooper > native-fsread: filename eq "/" then permit 34*57718be8SEnji Cooper > native-fsread: filename eq "/usr/obj/bin/systrace/." then 35*57718be8SEnji Cooper > native-fsread: filename eq "/usr/obj/bin" then permit 36*57718be8SEnji Cooper > native-fcntl: permit 37*57718be8SEnji Cooper > native-getdirentries: permit 38*57718be8SEnji Cooper > native-lseek: permit 39*57718be8SEnji Cooper > native-fsread: filename eq "/usr/obj" then permit 40*57718be8SEnji Cooper native-fsread: filename eq "/usr" then permit native-fsread: filename eq "/usr" then permit 41*57718be8SEnji Cooper native-fsread: filename eq "/usr/bin" then permit native-fsread: filename eq "/usr/bin" then permit 42*57718be8SEnji Cooper native-fsread: filename eq "/usr/games" then permit native-fsread: filename eq "/usr/games" then permit 43*57718be8SEnji Cooper native-fsread: filename eq "/usr/include" then permit native-fsread: filename eq "/usr/include" then permit 44*57718be8SEnji Cooper native-fsread: filename eq "/usr/lib" then permit native-fsread: filename eq "/usr/lib" then permit 45*57718be8SEnji Cooper native-fsread: filename match "/usr/lib/libc.so.*" then < 46*57718be8SEnji Cooper native-fsread: filename match "/usr/lib/libcrypto.so.*" < 47*57718be8SEnji Cooper native-fsread: filename match "/usr/lib/libncurses.so.* < 48*57718be8SEnji Cooper native-fsread: filename match "/usr/lib/libssl.so.*" th < 49*57718be8SEnji Cooper native-fsread: filename eq "/usr/libdata" then permit native-fsread: filename eq "/usr/libdata" then permit 50*57718be8SEnji Cooper native-fsread: filename eq "/usr/libexec" then permit native-fsread: filename eq "/usr/libexec" then permit 51*57718be8SEnji Cooper native-fsread: filename eq "/usr/lkm" then permit native-fsread: filename eq "/usr/lkm" then permit 52*57718be8SEnji Cooper native-fsread: filename eq "/usr/local" then permit native-fsread: filename eq "/usr/local" then permit 53*57718be8SEnji Cooper native-fsread: filename eq "/usr/mdec" then permit native-fsread: filename eq "/usr/mdec" then permit 54*57718be8SEnji Cooper native-fsread: filename eq "/usr/obj" then permit | native-fsread: filename eq "/home" then permit 55*57718be8SEnji Cooper native-fsread: filename eq "/usr/obj/bin" then permit | native-fsread: filename eq "/obj" then permit 56*57718be8SEnji Cooper native-fsread: filename eq "/usr/obj/bin/systrace/." th | native-fsread: filename eq "$HOME/.lynxrc" then permit 57*57718be8SEnji Cooper > native-fsread: filename match "/<non-existent filename>: 58*57718be8SEnji Cooper native-fsread: filename eq "/usr/obj/bin/systrace/.mail native-fsread: filename eq "/usr/obj/bin/systrace/.mailca 59*57718be8SEnji Cooper > native-fsread: filename eq "$HOME/.mailcap" then permit 60*57718be8SEnji Cooper native-fsread: filename eq "/usr/obj/bin/systrace/.mime native-fsread: filename eq "/usr/obj/bin/systrace/.mime.t 61*57718be8SEnji Cooper > native-fsread: filename eq "$HOME/.mime.types" then permi 62*57718be8SEnji Cooper > native-sigaction: permit 63*57718be8SEnji Cooper > native-ioctl: permit 64*57718be8SEnji Cooper > native-fsread: filename eq "$HOME/.terminfo.db" then perm 65*57718be8SEnji Cooper > native-fsread: filename eq "$HOME/.terminfo" then permit 66*57718be8SEnji Cooper native-fsread: filename eq "/usr/share/misc/terminfo.db native-fsread: filename eq "/usr/share/misc/terminfo.db" 67*57718be8SEnji Cooper > native-pread: permit 68*57718be8SEnji Cooper > native-write: permit 69*57718be8SEnji Cooper > native-fsread: filename eq "$HOME/.lynx-keymaps" then per 70*57718be8SEnji Cooper native-fsread: filename eq "/var/run/dev.db" then permi native-fsread: filename eq "/var/run/dev.db" then permit 71*57718be8SEnji Cooper native-fsread: filename eq "/var/run/ld.so.hints" then | native-fsread: filename eq "/etc/utmp" then permit 72*57718be8SEnji Cooper native-fstat: permit < 73*57718be8SEnji Cooper native-fswrite: filename match "/tmp/lynx-*" then permi < 74*57718be8SEnji Cooper native-getdirentries: permit < 75*57718be8SEnji Cooper native-getpid: permit < 76*57718be8SEnji Cooper native-gettimeofday: permit < 77*57718be8SEnji Cooper native-ioctl: permit < 78*57718be8SEnji Cooper native-issetugid: permit < 79*57718be8SEnji Cooper native-lseek: permit < 80*57718be8SEnji Cooper native-mmap: permit < 81*57718be8SEnji Cooper native-mprotect: prot eq "PROT_READ" then permit < 82*57718be8SEnji Cooper native-mprotect: prot eq "PROT_READ|PROT_EXEC" then per < 83*57718be8SEnji Cooper native-mprotect: prot eq "PROT_READ|PROT_WRITE" then pe < 84*57718be8SEnji Cooper native-mprotect: prot eq "PROT_READ|PROT_WRITE|PROT_EXE < 85*57718be8SEnji Cooper native-munmap: permit < 86*57718be8SEnji Cooper native-nanosleep: permit < 87*57718be8SEnji Cooper native-poll: permit native-poll: permit 88*57718be8SEnji Cooper native-pread: permit | native-nanosleep: permit 89*57718be8SEnji Cooper native-read: permit | native-gettimeofday: permit 90*57718be8SEnji Cooper native-recvfrom: permit | native-fsread: filename eq "/etc/resolv.conf" then permit 91*57718be8SEnji Cooper native-select: permit < 92*57718be8SEnji Cooper native-sendto: true then permit < 93*57718be8SEnji Cooper native-sigaction: permit < 94*57718be8SEnji Cooper native-sigprocmask: permit < 95*57718be8SEnji Cooper native-socket: sockdom eq "AF_INET" and socktype eq "SO native-socket: sockdom eq "AF_INET" and socktype eq "SOCK 96*57718be8SEnji Cooper > native-connect: sockaddr eq "inet-[127.0.0.1]:53" then pe 97*57718be8SEnji Cooper > native-sendto: true then permit 98*57718be8SEnji Cooper > native-select: permit 99*57718be8SEnji Cooper > native-recvfrom: permit 100*57718be8SEnji Cooper native-socket: sockdom eq "AF_INET" and socktype eq "SO native-socket: sockdom eq "AF_INET" and socktype eq "SOCK 101*57718be8SEnji Cooper native-write: permit | native-connect: sockaddr match "inet-\\\[*\\\]:80" then p 102*57718be8SEnji Cooper > native-exit: permit 103