Debian Codegraph @

testsuite/semok/umask06.stp

raw
1 #! stap -p2
2
3 probe procfs("foo").umask(0002).read {
4 $value = "100\n"
5 }
6
7 probe procfs("foo").umask(0040).write {
8 printf("The user wrote, %s", $value)
9 }