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