tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openat/fstatat functions implementation



Hi,

ZFS uses openat/fstatat[1] function as a thread-safe version of a open/ fstat calls. These functions are part of a POSIX definition. Attached patch add support for openat and fstatat system calls. After initial commit I would like to add support for all other *at system calls but currently only openat and fstatat are needed for zfs. This patch needs more testing still, I'm building distribution with it and I'm going to test it later.

Do you have any comments ?

[1] http://www.opengroup.org/onlinepubs/9699919799/functions/lstat.html

Attachment: nameiat.diff
Description: Binary data


Regards

Adam.



Home | Main Index | Thread Index | Old Index