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
F85612675: D15859.id43945.diff
Sat, Jun 8, 8:05 AM
F85612672: D15859.id43938.diff
Sat, Jun 8, 8:05 AM
F85612668: D15859.id43926.diff
Sat, Jun 8, 8:05 AM
F85612664: D15859.id.diff
Sat, Jun 8, 8:05 AM
F85610826: D15859.diff
Sat, Jun 8, 7:45 AM
Unknown Object (File)
Apr 19 2024, 3:42 PM
Unknown Object (File)
Jan 27 2024, 1:42 AM
Unknown Object (File)
Jan 27 2024, 1:41 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 17368
Build 17201: 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.