New System Calls

Oracle Solaris 11 implements the following system interfaces as individual system calls:

  • faccessat()
  • fchmodat()
  • fchownat()
  • fstatat()
  • linkat()
  • mkdirat()
  • mknodat()
  • openat()
  • readlinkat()
  • renameat()
  • symlinkat()
  • unlinkat()

These system calls implement a superset of the functionality of their old non-at-suffixed counterparts. They take an additional first argument that is either an open directory file descriptor, in which case the operation on a relative path name is taken relative to the specified directory, or is the reserved value AT_FDCWD, in which case the operation takes place relative to the current working directory.