sys_generic.c (171212) | sys_generic.c (173600) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)sys_generic.c 8.5 (Berkeley) 1/21/94 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)sys_generic.c 8.5 (Berkeley) 1/21/94 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/sys_generic.c 171212 2007-07-04 22:57:21Z peter $"); | 38__FBSDID("$FreeBSD: head/sys/kern/sys_generic.c 173600 2007-11-14 06:21:24Z julian $"); |
39 40#include "opt_compat.h" 41#include "opt_ktrace.h" 42 43#include <sys/param.h> 44#include <sys/systm.h> 45#include <sys/sysproto.h> 46#include <sys/filedesc.h> --- 469 unchanged lines hidden (view full) --- 516 u_long com; 517 int arg, error; 518 u_int size; 519 caddr_t data; 520 521 if (uap->com > 0xffffffff) { 522 printf( 523 "WARNING pid %d (%s): ioctl sign-extension ioctl %lx\n", | 39 40#include "opt_compat.h" 41#include "opt_ktrace.h" 42 43#include <sys/param.h> 44#include <sys/systm.h> 45#include <sys/sysproto.h> 46#include <sys/filedesc.h> --- 469 unchanged lines hidden (view full) --- 516 u_long com; 517 int arg, error; 518 u_int size; 519 caddr_t data; 520 521 if (uap->com > 0xffffffff) { 522 printf( 523 "WARNING pid %d (%s): ioctl sign-extension ioctl %lx\n", |
524 td->td_proc->p_pid, td->td_proc->p_comm, uap->com); | 524 td->td_proc->p_pid, td->td_name, uap->com); |
525 uap->com &= 0xffffffff; 526 } 527 com = uap->com; 528 529 /* 530 * Interpret high order word to find amount of data to be 531 * copied to/from the user's address space. 532 */ --- 625 unchanged lines hidden --- | 525 uap->com &= 0xffffffff; 526 } 527 com = uap->com; 528 529 /* 530 * Interpret high order word to find amount of data to be 531 * copied to/from the user's address space. 532 */ --- 625 unchanged lines hidden --- |