diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-31 08:36:43 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-31 08:36:43 +0000 |
commit | 74a03ffa0ce5f161b704d0aee8dcd492a4abb78b (patch) | |
tree | b89dad72ae9b0a7ebfe138f414a2adb5599bc9b9 /sbin/geom | |
parent | 81703ad4d4bd0fe4b1afca24b6a34ee91da0ec6d (diff) | |
download | FreeBSD-src-74a03ffa0ce5f161b704d0aee8dcd492a4abb78b.zip FreeBSD-src-74a03ffa0ce5f161b704d0aee8dcd492a4abb78b.tar.gz |
MFC r319056,r319058,r319059,r319060,r319061,r319078:
r319056:
tests/sys/file/ftruncate_test: use an exit code of 1 instead
of -1 with err*(3).
An exit code of -1 is implementation defined -- it's best to stick
with something well-defined (1).
r319058:
Create a deterministic file in the kyua sandbox, instead of a
temporary file outside the kyua sandbox
This helps ensure that the file is removed at test exit, and as
a side effect, cures a warning about umasks with Coverity.
r319059:
Use an exit code of 1 instead of -1 for reasons noted in r319056
r319060:
Use main(void) instead of main(argc __unused, argv __unused)
r319061:
Don't leak accept_fd on thread completion
CID: 1296068
r319078:
Tweak r319058 slightly
- Specify an explicit mode when using O_CREAT per open(2).
- Fix the error message (add missing enclosing parentheses).
MFC with: r319058
Diffstat (limited to 'sbin/geom')
0 files changed, 0 insertions, 0 deletions