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