OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3696-g6394531
Gerrit Code Review
gerrit@openafs.org
Tue, 9 Apr 2013 07:17:43 -0700 (PDT)
The following commit has been merged in the master branch:
commit b39461fc67d4f258d31e0a13b5d8dcb3c5fae49f
Author: Antoine Verheijen <antoine@ualberta.ca>
Date: Mon Apr 8 20:29:58 2013 -0600
OpenBSD 5.3: Replace use of copyinstr for setting mount point name.
As a result of a realignment of kernel memory in OpenBSD 5.3,
the copyinstr() routine no longer works for copying the mount
point name into the internal mount table structure. It also
fails silently, so it's not noticed until someone looks at
the mount table and discovers that the mount point name for
AFS is missing.
This patch replaces the use of copyinstr() with strlcpy() for
copying the mount point name in OpenBSD 5.3.
Note that this is consistent with how other similar device
support has addressed the same issue in OpenBSD 5.3.
Change-Id: I57619f989e51a8c1a320be7d451683b7c0abb7c1
Reviewed-on: http://gerrit.openafs.org/9752
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/OBSD/osi_vfsops.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository