Re: Add fchmodat2() - or add a more general syscall?
Florian Weimer <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded,gmane.linux.ports.ia64,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.kernel.api,gmane.linux.kernel.cross-arch,gmane.linux.ports.parisc,gmane.linux.ports.mips,gmane.linux.kernel,gmane.linux.ports.alpha,gmane.linux.file-systems |
|---|---|
| Message-ID | <[email protected]> |
* David Howells: > Rather than adding a fchmodat2() syscall, should we add a "set_file_attrs()" > syscall that takes a mask and allows you to set a bunch of stuff all in one > go? Basically, an interface to notify_change() in the kernel that would allow > several stats to be set atomically. This might be of particular interest to > network filesystems. Do you mean atomically as in compare-and-swap (update only if old values match), or just a way to update multiple file attributes with a single system call? Thanks, Florian