Page MenuHomeFreeBSD

Add tests for syscalls concerned with retrieving configurable pathname variables
ClosedPublic

Authored by aniketp on Jun 16 2018, 4:42 AM.
Tags
None
Referenced Files
F81663306: D15842.diff
Fri, Apr 19, 3:40 PM
Unknown Object (File)
Feb 22 2024, 1:46 PM
Unknown Object (File)
Jan 27 2024, 1:13 AM
Unknown Object (File)
Jan 27 2024, 1:13 AM
Unknown Object (File)
Jan 27 2024, 1:13 AM
Unknown Object (File)
Jan 27 2024, 1:13 AM
Unknown Object (File)
Jan 27 2024, 1:02 AM
Unknown Object (File)
Jan 10 2024, 2:08 PM
Subscribers

Details

Summary

This revision introduces atf-c(3) tests for 3 system calls which are used to retrieve the
configurable variables for the pathname of a given file. The syscalls are auditable and
categorized within file-attribute-access audit class.

List of System calls tested:

  • pathconf(2)
  • lpathconf(2)
  • fpathconf(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

Event Timeline

asomers requested changes to this revision.Jun 16 2018, 3:29 PM

Looks fine apart from the maximun typo.

tests/sys/audit/file-attribute-access.c
721 ↗(On Diff #43863)

s/maximun/maximum

This revision now requires changes to proceed.Jun 16 2018, 3:29 PM
  • s/maximun/maximum at 3 places
This revision was not accepted when it landed; it landed in state Needs Review.Jun 16 2018, 6:29 PM
This revision was automatically updated to reflect the committed changes.