diff --git a/lib/openat.c b/lib/openat.c index 66da3c82a..a3650f9c6 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -41,6 +41,7 @@ // int openat (int fildes, const char *path, int oflag, /* mode_t mode */...); /* Replacement for Solaris' openat function. + Simulate it by doing save_cwd/fchdir/open/restore_cwd. If either the fchdir or the restore_cwd fails, then exit nonzero. */ int