summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/utils.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-04-06 17:38:43 +0000
committerpeter <peter@FreeBSD.org>1998-04-06 17:38:43 +0000
commitd5ab1c3759352a4180dfc28b7952eeb389bb3261 (patch)
treefa41709ad0ad1c58a76febf3e0062c8b5641df9e /lib/libc/regex/utils.h
parent7c3222498acb0b317b49cca6311ffb697172d7ca (diff)
downloadFreeBSD-src-d5ab1c3759352a4180dfc28b7952eeb389bb3261.zip
FreeBSD-src-d5ab1c3759352a4180dfc28b7952eeb389bb3261.tar.gz
Implement a new open(2) flag: O_NOFOLLOW. This will instruct open
to not follow symlinks, but to open a handle on the link itself(!). As strange as this might sound, it has several useful applications safe race-free ways of opening files in hostile areas (eg: /tmp, a mode 1777 /var/mail, etc). It also would allow things like fchown() to work on the link rather than having to implement a new syscall specifically for that task. Reviewed by: phk
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud