kern_descrip.c (238627) | kern_descrip.c (238667) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)kern_descrip.c 8.6 (Berkeley) 4/19/94 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)kern_descrip.c 8.6 (Berkeley) 4/19/94 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/kern_descrip.c 238627 2012-07-19 20:38:03Z kib $"); | 38__FBSDID("$FreeBSD: head/sys/kern/kern_descrip.c 238667 2012-07-21 13:02:11Z kib $"); |
39 40#include "opt_capsicum.h" 41#include "opt_compat.h" 42#include "opt_ddb.h" 43#include "opt_ktrace.h" 44#include "opt_procdesc.h" 45 46#include <sys/param.h> --- 315 unchanged lines hidden (view full) --- 362 long arg; 363}; 364#endif 365/* ARGSUSED */ 366int 367sys_fcntl(struct thread *td, struct fcntl_args *uap) 368{ 369 struct flock fl; | 39 40#include "opt_capsicum.h" 41#include "opt_compat.h" 42#include "opt_ddb.h" 43#include "opt_ktrace.h" 44#include "opt_procdesc.h" 45 46#include <sys/param.h> --- 315 unchanged lines hidden (view full) --- 362 long arg; 363}; 364#endif 365/* ARGSUSED */ 366int 367sys_fcntl(struct thread *td, struct fcntl_args *uap) 368{ 369 struct flock fl; |
370 struct oflock ofl; | 370 struct __oflock ofl; |
371 intptr_t arg; 372 int error; 373 int cmd; 374 375 error = 0; 376 cmd = uap->cmd; 377 switch (uap->cmd) { 378 case F_OGETLK: --- 3526 unchanged lines hidden --- | 371 intptr_t arg; 372 int error; 373 int cmd; 374 375 error = 0; 376 cmd = uap->cmd; 377 switch (uap->cmd) { 378 case F_OGETLK: --- 3526 unchanged lines hidden --- |