aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/file/dup_test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Adapt existing tests for O_CLOEXEC to O_CLOFORKRicardo Branco2025-07-061-1/+97
| | | | | MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/1698
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Revert r337929Alan Somers2018-08-161-2/+0
| | | | | | | | | | FreeBSD's mkstemp sets the temporary file's permissions to 600, and has ever since mkstemp was added in 1987. Coverity's warning is still relevant for portable programs since OpenGroup does not require that behavior, and POSIX didn't until 2008. But none of these programs are portable. Notes: svn path=/head/; revision=337930
* Fix Coverity warnings about mkstemp in testsAlan Somers2018-08-161-0/+2
| | | | | | | | | | | | | umask(2) should always be used prior to mkstemp(3) so the temporary file won't be created with insecure permissions. Reported by: Coverity CID: 1331605 1347173 1375366 1339800 1331604 1296056 1296060 CID: 1296057 1296062 MFC after: 2 weeks Notes: svn path=/head/; revision=337929
* Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifoEnji Cooper2015-04-271-0/+386
and tools/regression/file into the FreeBSD test suite as tests/sys/file MFC after: 1 week Notes: svn path=/head/; revision=282067