diff options
author | Kip Macy <kmacy@FreeBSD.org> | 2011-09-16 13:58:51 +0000 |
---|---|---|
committer | Kip Macy <kmacy@FreeBSD.org> | 2011-09-16 13:58:51 +0000 |
commit | 8451d0dd78c0a9c0383485b18aba9f081a9db8bb (patch) | |
tree | 2ed8c1cfa9e408c1c66c2cde0823123897e0306e /sys/kern/vfs_mount.c | |
parent | 45f3db2122c56592609e50e37e76144ff467db2e (diff) | |
download | src-8451d0dd78c0a9c0383485b18aba9f081a9db8bb.tar.gz src-8451d0dd78c0a9c0383485b18aba9f081a9db8bb.zip |
In order to maximize the re-usability of kernel code in user space this
patch modifies makesyscalls.sh to prefix all of the non-compatibility
calls (e.g. not linux_, freebsd32_) with sys_ and updates the kernel
entry points and all places in the code that use them. It also
fixes an additional name space collision between the kernel function
psignal and the libc function of the same name by renaming the kernel
psignal kern_psignal(). By introducing this change now we will ease future
MFCs that change syscalls.
Reviewed by: rwatson
Approved by: re (bz)
Notes
Notes:
svn path=/head/; revision=225617
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 5d6892c5e9b7..d106c7628122 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -365,7 +365,7 @@ vfs_mergeopts(struct vfsoptlist *toopts, struct vfsoptlist *oldopts) * Mount a filesystem. */ int -nmount(td, uap) +sys_nmount(td, uap) struct thread *td; struct nmount_args /* { struct iovec *iovp; @@ -682,7 +682,7 @@ struct mount_args { #endif /* ARGSUSED */ int -mount(td, uap) +sys_mount(td, uap) struct thread *td; struct mount_args /* { char *type; @@ -1097,7 +1097,7 @@ struct unmount_args { #endif /* ARGSUSED */ int -unmount(td, uap) +sys_unmount(td, uap) struct thread *td; register struct unmount_args /* { char *path; |