Page MenuHomeFreeBSD

Syscalls concerned with retrieving/listing the extended attributes of a file
ClosedPublic

Authored by aniketp on Jun 17 2018, 12:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 15, 11:17 AM
Unknown Object (File)
Sat, Feb 8, 5:54 PM
Unknown Object (File)
Sat, Jan 25, 7:43 PM
Unknown Object (File)
Sat, Jan 25, 7:27 PM
Unknown Object (File)
Jan 18 2025, 9:57 PM
Unknown Object (File)
Jan 10 2025, 8:38 AM
Unknown Object (File)
Dec 14 2024, 2:19 PM
Unknown Object (File)
Nov 17 2024, 8:25 AM
Subscribers

Details

Summary

This revision introduces test-cases for checking the proper auditability of syscalls
concerned with retrieving/listing the extended attributes of a file or a symbolic link.
The system calls are categorized within file-attribute-access audit class.
List of syscalls are:

  • extattr_get_file(2)
  • extattr_get_fd(2)
  • extattr_get_link(2)
  • extattr_list_file(2)
  • extattr_list_fd(2)
  • extattr_list_link(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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17361
Build 17194: arc lint + arc unit

Event Timeline

aniketp set the repository for this revision to rS FreeBSD src repository - subversion.
tests/sys/audit/file-attribute-access.c
990

Is it necessary to set an extended attribute for the list_file test?

Setting file attributes is not required for listin them

This revision is now accepted and ready to land.Jun 17 2018, 3:17 PM
This revision was automatically updated to reflect the committed changes.