Page MenuHomeFreeBSD

VFS: add flags arg to VOP_STAT() and VOP_GETATTR()
AbandonedPublic

Authored by kib on Sep 20 2024, 6:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 19, 4:08 PM
Unknown Object (File)
Fri, Oct 18, 3:01 AM
Unknown Object (File)
Sat, Oct 12, 8:08 PM
Unknown Object (File)
Oct 1 2024, 5:50 PM
Unknown Object (File)
Oct 1 2024, 3:30 PM
Unknown Object (File)
Sep 28 2024, 6:37 PM
Unknown Object (File)
Sep 28 2024, 6:32 AM
Unknown Object (File)
Sep 27 2024, 12:57 AM

Details

Reviewers
emaste
markj
olce
Group Reviewers
cam

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Sep 20 2024, 6:28 AM

Also add flags to VOP_ATTRIB.9

Also add flags to VOP_ATTRIB.9

Done is separate commit.

/home/emaste/src/freebsd-git/wipbsd/sys/security/audit/audit_arg.c:874:53: error: too few arguments to function call, expected 4, have 3
  874 |         error = VOP_GETATTR(vp, &vattr, curthread->td_ucred);
      |                 ~~~~~~~~~~~                                ^
/home/emaste/src/freebsd-git/wipbsd/sys/security/audit/audit_arg.c:874:53: error: too few arguments to function call, expected 4, have 3
  874 |         error = VOP_GETATTR(vp, &vattr, curthread->td_ucred);
      |                 ~~~~~~~~~~~                                ^

Fixed, the whole patch series is available at https://kib.kiev.ua/git/gitweb.cgi?p=deviant3.git;a=shortlog;h=refs/heads/noautomount

Also sys/dev/xen/blkback/blkback.c. My wip build was successful patching audit and xen; I didn't look for other VOP_GETATTR cases.

This revision is now accepted and ready to land.Sep 20 2024, 12:54 PM

This requires a __FreeBSD_version bump, of course, to accommodate out-of-tree zfs.ko.