1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

o Add missing function return types from capability syscall call stubs,

fix compiler warning.

Submitted by:	jake
This commit is contained in:
Robert Watson 2000-07-25 03:37:36 +00:00
parent abe829c0e3
commit e2e45aa8a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63826

View File

@ -69,12 +69,14 @@ __cap_set_proc(struct proc *p, struct __cap_set_proc_args *uap)
* Syscalls to allow a process to retrieve capabilities associated with
* files, if permitted.
*/
int
__cap_get_fd(struct proc *p, struct __cap_get_fd_args *uap)
{
return (ENOSYS);
}
int
__cap_get_file(struct proc *p, struct __cap_get_file_args *uap)
{
@ -85,12 +87,14 @@ __cap_get_file(struct proc *p, struct __cap_get_file_args *uap)
* Syscalls to allow a process to set capabilities associated with files,
* if permitted.
*/
int
__cap_set_fd(struct proc *p, struct __cap_set_fd_args *uap)
{
return (ENOSYS);
}
int
__cap_set_file(struct proc *p, struct __cap_set_file_args *uap)
{