diff options
author | kmacy <kmacy@FreeBSD.org> | 2011-09-16 13:58:51 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2011-09-16 13:58:51 +0000 |
commit | 99851f359e6f006b3223bb37dbc49e751ca8c13a (patch) | |
tree | 2ed8c1cfa9e408c1c66c2cde0823123897e0306e /sys/kern/vfs_extattr.c | |
parent | bf8fedabcd023c90bb2ee4ce0e5d6d8c2b927714 (diff) | |
download | FreeBSD-src-99851f359e6f006b3223bb37dbc49e751ca8c13a.zip FreeBSD-src-99851f359e6f006b3223bb37dbc49e751ca8c13a.tar.gz |
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)
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r-- | sys/kern/vfs_extattr.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index b8b9cdf..7732a94 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); * Currently this is used only by UFS1 extended attributes. */ int -extattrctl(td, uap) +sys_extattrctl(td, uap) struct thread *td; struct extattrctl_args /* { const char *path; @@ -210,7 +210,7 @@ done: } int -extattr_set_fd(td, uap) +sys_extattr_set_fd(td, uap) struct thread *td; struct extattr_set_fd_args /* { int fd; @@ -245,7 +245,7 @@ extattr_set_fd(td, uap) } int -extattr_set_file(td, uap) +sys_extattr_set_file(td, uap) struct thread *td; struct extattr_set_file_args /* { const char *path; @@ -282,7 +282,7 @@ extattr_set_file(td, uap) } int -extattr_set_link(td, uap) +sys_extattr_set_link(td, uap) struct thread *td; struct extattr_set_link_args /* { const char *path; @@ -390,7 +390,7 @@ done: } int -extattr_get_fd(td, uap) +sys_extattr_get_fd(td, uap) struct thread *td; struct extattr_get_fd_args /* { int fd; @@ -425,7 +425,7 @@ extattr_get_fd(td, uap) } int -extattr_get_file(td, uap) +sys_extattr_get_file(td, uap) struct thread *td; struct extattr_get_file_args /* { const char *path; @@ -462,7 +462,7 @@ extattr_get_file(td, uap) } int -extattr_get_link(td, uap) +sys_extattr_get_link(td, uap) struct thread *td; struct extattr_get_link_args /* { const char *path; @@ -542,7 +542,7 @@ done: } int -extattr_delete_fd(td, uap) +sys_extattr_delete_fd(td, uap) struct thread *td; struct extattr_delete_fd_args /* { int fd; @@ -575,7 +575,7 @@ extattr_delete_fd(td, uap) } int -extattr_delete_file(td, uap) +sys_extattr_delete_file(td, uap) struct thread *td; struct extattr_delete_file_args /* { const char *path; @@ -608,7 +608,7 @@ extattr_delete_file(td, uap) } int -extattr_delete_link(td, uap) +sys_extattr_delete_link(td, uap) struct thread *td; struct extattr_delete_link_args /* { const char *path; @@ -707,7 +707,7 @@ done: int -extattr_list_fd(td, uap) +sys_extattr_list_fd(td, uap) struct thread *td; struct extattr_list_fd_args /* { int fd; @@ -735,7 +735,7 @@ extattr_list_fd(td, uap) } int -extattr_list_file(td, uap) +sys_extattr_list_file(td, uap) struct thread*td; struct extattr_list_file_args /* { const char *path; @@ -765,7 +765,7 @@ extattr_list_file(td, uap) } int -extattr_list_link(td, uap) +sys_extattr_list_link(td, uap) struct thread*td; struct extattr_list_link_args /* { const char *path; |