Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
File descriptor
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==<code>at</code> suffix operations== A series of new operations has been added to many modern Unix-like systems, as well as numerous C libraries, to be standardized in a future version of [[POSIX]].<ref>{{cite book | title = Extended API Set, Part 2 | publisher = The Open Group | date = October 2006 | url = https://www2.opengroup.org/ogsys/catalog/c063 | url-access = registration | isbn = 1931624674}}</ref> The <code>at</code> suffix signifies that the function takes an additional first argument supplying a file descriptor from which [[relative path]]s are resolved, the forms lacking the <code>at</code> suffix thus becoming equivalent to passing a file descriptor corresponding to the current [[working directory]]. The purpose of these new operations is to defend against a certain class of [[Time-of-check-to-time-of-use|TOCTOU]] attacks. *{{mono|openat()}} *{{mono|faccessat()}} *{{mono|fchmodat()}} *{{mono|fchownat()}} *{{mono|fstatat()}} *{{mono|futimesat()}} *{{mono|linkat()}} *{{mono|mkdirat()}} *{{mono|mknodat()}} *{{mono|readlinkat()}} *{{mono|renameat()}} *{{mono|symlinkat()}} *{{mono|unlinkat()}} *{{mono|mkfifoat()}} *{{mono|fdopendir()}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)