Upcoming Operations
A series of new operations on file descriptors has been added to many modern Unix-like systems, as well as numerous C libraries, to be standardized in a future version of POSIX. The at
suffix signifies that the function takes an additional first argument supplying a file descriptor from which relative paths are resolved, the forms lacking the at
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 TOCTTOU attacks.
- openat
- faccessat
- fchmodat
- fchownat
- fstatat
- futimesat
- linkat
- mkdirat
- mknodat
- readlinkat
- renameat
- symlinkat
- unlinkat
- mkfifoat
- fdopendir
The Native API of the Windows NT family of operating systems also allows callers to specify a root directory when they open a file or other object by name.
Read more about this topic: File Descriptor
Famous quotes containing the word operations:
“A sociosphere of contact, control, persuasion and dissuasion, of exhibitions of inhibitions in massive or homeopathic doses...: this is obscenity. All structures turned inside out and exhibited, all operations rendered visible. In America this goes all the way from the bewildering network of aerial telephone and electric wires ... to the concrete multiplication of all the bodily functions in the home, the litany of ingredients on the tiniest can of food, the exhibition of income or IQ.”
—Jean Baudrillard (b. 1929)