]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use long for the last argument to VOP_PATHCONF rather than a register_t.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 17 Jan 2018 22:36:58 +0000 (22:36 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 17 Jan 2018 22:36:58 +0000 (22:36 +0000)
commitb1288166e0f73ddc7f5b8de210db62e987dda609
tree05554e6a69b2f81e0dc24cf191091d4e81ff45ec
parent19a63eb534a17b9a61626315b58cf557b6913d02
Use long for the last argument to VOP_PATHCONF rather than a register_t.

pathconf(2) and fpathconf(2) both return a long.  The kern_[f]pathconf()
functions now accept a pointer to a long value rather than modifying
td_retval directly.  Instead, the system calls explicitly store the
returned long value in td_retval[0].

Requested by: bde
Reviewed by: kib
Sponsored by: Chelsio Communications
sys/fs/fdescfs/fdesc_vnops.c
sys/fs/nfs/nfs_commonport.c
sys/fs/nfs/nfs_var.h
sys/fs/nfsserver/nfs_nfsdserv.c
sys/fs/smbfs/smbfs_vnops.c
sys/fs/tmpfs/tmpfs_vnops.c
sys/i386/ibcs2/ibcs2_misc.c
sys/kern/kern_descrip.c
sys/kern/vfs_syscalls.c
sys/kern/vnode_if.src
sys/sys/syscallsubr.h