Operating System - HP-UX
1849125 Members
2950 Online
104041 Solutions
New Discussion

Re: syscalls that affect inode's atime

 
Manuel Urena
Advisor

syscalls that affect inode's atime

Hi all,

Possibly a very basic question. But I wanted to double check anyway.

Which are the system calls that update inode's atime?

Only the obvious answer read(2), exec(2), open(2), access(2), dlopen(3c), shl_load(3x)? I think I may be missing a few.

Thanks and regards,

Manuel
2 REPLIES 2
hpuxrox
Respected Contributor

Re: syscalls that affect inode's atime

utime()
Dennis Handly
Acclaimed Contributor

Re: syscalls that affect inode's atime

>system calls that update inode's atime?

These are not system calls: dlopen(3c), shl_load(3x)
They do call open(2) and mmap(2).

And if read(2) is included, then write(2) should also.

I don't know about access(2) but if that does it, so does stat(2).