<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/audit/file-attribute-access.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:21Z</updated>
<entry>
<title>Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:21Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17da660ad5b3b9cd90e164dd4dbb9beaa7203054'/>
<id>urn:sha1:17da660ad5b3b9cd90e164dd4dbb9beaa7203054</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit b3e7694832e8)
</content>
</entry>
<entry>
<title>tests/sys/audit: Skip extattr tests if extattrs are not supported</title>
<updated>2021-03-17T09:55:09Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2021-02-02T09:55:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83ffec9005c979d228477ba70038891a5abba835'/>
<id>urn:sha1:83ffec9005c979d228477ba70038891a5abba835</id>
<content type='text'>
In the CheriBSD CI, we run the testsuite with /tmp as tmpfs. This causes
the extattr audit tests to fail since tmpfs does not (yet) support
extattrs. Skip those tests if the target path is on a file system that
does not support extended file attributes.

While touching these two files also convert the ATF_REQUIRE_EQ(-1, ...)
checks to use ATF_REQURIE_ERRNO().

Reviewed By:	asomers
Differential Revision: https://reviews.freebsd.org/D28392

(cherry picked from commit 40407d3998d1a12cbe929721f4dbe72b4be478a6)
</content>
</entry>
<entry>
<title>Fix audit of chflagsat, lgetfh, and setfib</title>
<updated>2018-07-22T14:11:52Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-07-22T14:11:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12395dc9f6bfd1e40ac41ef8fb6af966ad647a2e'/>
<id>urn:sha1:12395dc9f6bfd1e40ac41ef8fb6af966ad647a2e</id>
<content type='text'>
These syscalls were always supposed to have been auditted, but due to
oversights never were.

PR:		228374
Reported by:	aniketp
Reviewed by:	aniketp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16388
</content>
</entry>
<entry>
<title>audit(4): add test cases for chflagsat(2), lgetfh(2), setfib(2)</title>
<updated>2018-07-21T16:34:38Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-07-21T16:34:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=55cd45239691eb6657319412187ea98151fa9012'/>
<id>urn:sha1:55cd45239691eb6657319412187ea98151fa9012</id>
<content type='text'>
These three syscalls aren't currently audited correctly, so the tests are
marked as expected failures.

PR:		228374
Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D16379
</content>
</entry>
<entry>
<title>audit(4): fix Coverity issues</title>
<updated>2018-06-27T15:28:09Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-06-27T15:28:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5641c23fa770b56b7f0f2e79df22cd6bbb8c4972'/>
<id>urn:sha1:5641c23fa770b56b7f0f2e79df22cd6bbb8c4972</id>
<content type='text'>
Fix several incorrect buffer size arguments and a file descriptor leak.

Submitted by:	aniketp
Reported by:	Coverity
CID:		1393489 1393501 1393509 1393510 1393514 1393515 1393516
CID:		1393517 1393518 1393519
MFC after:	2 weeks
X-MFC-With:	335284
X-MFC-With:	335318
X-MFC-With:	335320
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D16000
</content>
</entry>
<entry>
<title>audit(4): add tests for extattr_get_file(2) and friends</title>
<updated>2018-06-17T15:22:27Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-06-17T15:22:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7d951cc29a4547b01f71a343ec1ad6c3224a14a3'/>
<id>urn:sha1:7d951cc29a4547b01f71a343ec1ad6c3224a14a3</id>
<content type='text'>
This commit includes extattr_{get_file, get_fd, get_link, list_file,
list_fd, list_link}.  It does not include any syscalls that modify, set, or
delete extended attributes, as those are in a different audit class.

Submitted by:	aniketpt
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15859
</content>
</entry>
<entry>
<title>audit(4): add tests for pathconf(2) and friends</title>
<updated>2018-06-16T18:29:24Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-06-16T18:29:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c347e631e8fcc294616e2be8c0f5efaf0be2bd5'/>
<id>urn:sha1:2c347e631e8fcc294616e2be8c0f5efaf0be2bd5</id>
<content type='text'>
pathconf, lpathconf, and fpathconf are included

Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15842
</content>
</entry>
<entry>
<title>audit(4): add tests for access(2), chmod(2), and friends</title>
<updated>2018-06-15T15:32:02Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-06-15T15:32:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=28845213708373c55368c07ed56a7c1b7b8661cd'/>
<id>urn:sha1:28845213708373c55368c07ed56a7c1b7b8661cd</id>
<content type='text'>
access(2), eaccess(2), faccessat(2), chmod(2), fchmod(2), lchmod(2), and
fchmodat(2).

Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15805
Differential Revision:	https://reviews.freebsd.org/D15808
</content>
</entry>
<entry>
<title>audit(4): add tests for fhopen, fhstat, and fhstatfs</title>
<updated>2018-06-14T15:04:49Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-06-14T15:04:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a56867b8c52ae1540f0ba997a5ba5295386077e1'/>
<id>urn:sha1:a56867b8c52ae1540f0ba997a5ba5295386077e1</id>
<content type='text'>
Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15798
</content>
</entry>
<entry>
<title>audit(4): add tests for statfs(2), fstatfs(2), and getfsstat(2)</title>
<updated>2018-06-14T02:30:43Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-06-14T02:30:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae19b2ef9bd4ec7ac27230b8eb393f0aaf243e2c'/>
<id>urn:sha1:ae19b2ef9bd4ec7ac27230b8eb393f0aaf243e2c</id>
<content type='text'>
Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15750
</content>
</entry>
</feed>
