Lines Matching refs:f
8 rm -fr /tmp/{f,F,w}
9 mkdir /tmp/{f,F,w}
16 f /tmp/f/1 0644 - - - -
17 f /tmp/f/2 0644 - - - This string should be written
21 test -f /tmp/f/1; test ! -s /tmp/f/1
29 f /tmp/f/1 0666 daemon daemon - This string should not be written
33 test ! -s /tmp/f/1
38 mkfifo /tmp/f/fifo
39 chmod 644 /tmp/f/fifo
42 f /tmp/f/fifo 0666 daemon daemon - This string should not be written
45 test -p /tmp/f/fifo
49 ln -s missing /tmp/f/dangling
50 ln -s /tmp/file-owned-by-root /tmp/f/symlink
53 f /tmp/f/dangling 0644 daemon daemon - -
54 f /tmp/f/symlink 0644 daemon daemon - -
56 test ! -e /tmp/f/missing
61 mkdir /tmp/f/rw-fs
62 mkdir /tmp/f/ro-fs
64 touch /tmp/f/rw-fs/foo
65 chmod 644 /tmp/f/rw-fs/foo
67 mount -o bind,ro /tmp/f/rw-fs /tmp/f/ro-fs
70 f /tmp/f/ro-fs/foo 0644 - - - - This string should not be written
72 test -f /tmp/f/ro-fs/foo; test ! -s /tmp/f/ro-fs/foo
75 f /tmp/f/ro-fs/foo 0666 - - - -
80 f /tmp/f/ro-fs/bar 0644 - - - -
82 test ! -e /tmp/f/ro-fs/bar
85 mkdir /tmp/f/daemon
86 ln -s /root /tmp/f/daemon/unsafe-symlink
87 chown -R --no-dereference daemon:daemon /tmp/f/daemon
90 f /tmp/f/daemon/unsafe-symlink/exploit 0644 daemon daemon - -
92 test ! -e /tmp/f/daemon/unsafe-symlink/exploit
130 f /tmp/F/dangling 0644 daemon daemon - -
131 f /tmp/F/symlink 0644 daemon daemon - -
244 f /tmp/w/daemon/unsafe-symlink/exploit 0644 daemon daemon - -