diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-09 19:50:35 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-09 19:50:35 +0000 |
commit | 044fd543661749a5718c69d538b44019a7a72b2f (patch) | |
tree | e26692a438633e56b165e74073b711a477c78778 /share | |
parent | c3d1c73fa974ea8bffba0c22aac1dfbf5c43c815 (diff) | |
download | src-044fd543661749a5718c69d538b44019a7a72b2f.tar.gz src-044fd543661749a5718c69d538b44019a7a72b2f.zip |
FILEMON_SET_FD: Disallow changing the fd.
MFC after: 1 week
Suggested by: mjg
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=296575
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/filemon.4 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/share/man/man4/filemon.4 b/share/man/man4/filemon.4 index a006fd2d573d..3287a47aab6a 100644 --- a/share/man/man4/filemon.4 +++ b/share/man/man4/filemon.4 @@ -31,7 +31,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 28, 2016 +.Dd March 9, 2016 .Dt FILEMON 4 .Os .Sh NAME @@ -125,6 +125,19 @@ function returns the value 0 if successful; otherwise the value \-1 is returned and the global variable .Va errno is set to indicate the error. +.Sh ERRORS +The +.Fn ioctl +system call +with +.Dv FILEMON_SET_FD +will fail if: +.Bl -tag -width Er +.It Bq Er EEXIST +The +.Nm +handle is already associated with a file descriptor. +.El .Sh FILES .Bl -tag -width ".Pa /dev/filemon" .It Pa /dev/filemon |