aboutsummaryrefslogtreecommitdiff
blob: bba9bee03be9f8293a10a808bd00c60e5c92c35c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# make sure we handle open(O_NOFOLLOW) correctly #413441

set -e
rm -f tgt
ln -s tgt sym
open-0 -1,ELOOP sym O_NOFOLLOW 0

touch tgt
open-0 -1,ELOOP sym O_NOFOLLOW 0