Page MenuHomeFreeBSD

Add tests for syscalls used for modifying the ownership of file
ClosedPublic

Authored by aniketp on Jun 15 2018, 4:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 20, 10:56 AM
Unknown Object (File)
Sun, Oct 19, 8:31 PM
Unknown Object (File)
Sun, Oct 19, 8:31 PM
Unknown Object (File)
Sun, Oct 19, 8:31 PM
Unknown Object (File)
Sun, Oct 19, 6:33 AM
Unknown Object (File)
Thu, Oct 16, 8:04 AM
Unknown Object (File)
Sep 19 2025, 7:38 PM
Unknown Object (File)
Aug 21 2025, 9:42 PM
Subscribers

Details

Summary

The following revision introduces system calls from file-attribute-modify audit class
which deal with changing the ownership of a given file. System calls are:

  • chown(2)
  • fchown(2)
  • lchown(2)
  • fchownat(2)
Test Plan

Execute make && make install from test/sys/audit.
Execute kyua test from /usr/tests/sys/audit. All testcases should succeed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable