tech-kern archive

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

Re: openat/fstatat functions implementation




On Oct,Saturday 3 2009, at 1:57 AM, Adam Hamsik wrote:

Hi,

On Sep,Thursday 24 2009, at 8:11 AM, YAMAMOTO Takashi wrote:

hi,

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 ?

Here is last version of openat/fstatat diff I have written atf tests for it and tested my patch by doing build(checks namei) and zfs (checks openat/fstatat) + atf tests. Both cases were working. Can put these syscalls in ?

As usual I forgot to attach patch file here is it

Attachment: nameiat.diff
Description: Binary data


Regards

Adam.



Home | Main Index | Thread Index | Old Index