summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-08 13:17:06 +0000
committerderaadt <deraadt@openbsd.org>2015-10-08 13:17:06 +0000
commitd5cafc5de625d6e3bcbf3ab2d8925023cba4612d (patch)
treeff460dd31718bbdcec7560a84cbccc52cec1d611 /usr.bin/diff/diff.c
parentSimpify some code by noting that DOSBBSECTOR is 0, so "if (n > (diff)
downloadwireguard-openbsd-d5cafc5de625d6e3bcbf3ab2d8925023cba4612d.tar.xz
wireguard-openbsd-d5cafc5de625d6e3bcbf3ab2d8925023cba4612d.zip
the -P flag overwrites files, so it needs tame "stdio rpath wpath cpath".
the remaining code paths can use tame "stdio rpath cpath". One again, the "cpath" request says a path-based system call will be used to "change" filesystem pathname layout, for instance any of O_CREAT, symlink, rename, unlink...
Diffstat (limited to 'usr.bin/diff/diff.c')
0 files changed, 0 insertions, 0 deletions