Hi, Attaching the proposed man page for the new statmount() syscall. It describes a libc interface that is slightly different from the raw kernel API. The differences from the two API's are also described in the man page. Raw: long syscall(SYS_statmount, const struct mnt_id_req *req, struct statmount *buf, size_t bufsize, unsigned int flags); Libc: struct statmount *statmount(uint64_t mnt_id, uint64_t request_mask, struct statmount *buf, size_t bufsize, unsigned int flags); I propose the libc one to allow automatically allocating the buffer if the buf argument is NULL, similar to getcwd(3). Comments? Thanks, Miklos
Attachment:
statmount.2
Description: Unix manual page