2
0
Fork 0

iBCS 940223

This commit is contained in:
mike 1994-02-23 17:23:04 +00:00
parent 9ad023660b
commit e1d49bef49
5 changed files with 11 additions and 11 deletions

View file

@ -3,7 +3,7 @@
*
* Copyright (C) 1994 Mike Jagdis (jaggy@purplet.demon.co.uk)
*
* $Id: sysfs.c,v 1.1.1.1 1994/02/10 09:31:24 mike Exp $
* $Id: sysfs.c,v 1.1.1.2 1994/02/23 17:23:03 mike Exp $
* $Source: /nfs4/sophia/home/mjagdis/src/ibcs.cvs/ibcs/TESTS/sysfs.c,v $
*/

View file

@ -3,7 +3,7 @@
*
* Copyright (C) 1994 Mike Jagdis (jaggy@purplet.demon.co.uk)
*
* $Id: sysi86.c,v 1.1.1.1 1994/02/10 09:31:23 mike Exp $
* $Id: sysi86.c,v 1.1.1.2 1994/02/23 17:23:04 mike Exp $
* $Source: /nfs4/sophia/home/mjagdis/src/ibcs.cvs/ibcs/TESTS/sysi86.c,v $
*/

2
ToDo
View file

@ -1,5 +1,5 @@
------------- ToDo ------------------
$Id: ToDo,v 1.1.1.1 1994/02/10 09:31:23 mike Exp $
$Id: ToDo,v 1.1.1.2 1994/02/23 17:22:37 mike Exp $
$Source: /nfs4/sophia/home/mjagdis/src/ibcs.cvs/ibcs/Attic/ToDo,v $
Repository: tsx-11.mit.edu:/pub/linux/ALPHA/ibcs2/private/.devel

14
fcntl.c
View file

@ -4,7 +4,7 @@
* Copyright (C) 1993 Joe Portman (baron@hebron.connected.com)
* First stab at troubleshooting fcntl calls
*
* $Id: fcntl.c,v 1.1.1.1 1994/02/10 09:31:23 mike Exp $
* $Id: fcntl.c,v 1.1.1.2 1994/02/23 17:22:40 mike Exp $
* $Source: /nfs4/sophia/home/mjagdis/src/ibcs.cvs/ibcs/Attic/fcntl.c,v $
*/
#include <linux/errno.h>
@ -62,10 +62,10 @@ ibcs_fcntl (struct pt_regs *regs)
fl.l_type--;
memcpy_tofs((void *)arg3,&fl,sizeof(fl));
#if IBCS_TRACE
#ifdef IBCS_TRACE
if (ibcs_func_p->trace)
{
printk ("l_type: %d l_whence: %d l_start: %u l_len: %u l_sysid: %d l_pid: %d\n",
printk (KERN_DEBUG "iBCS: lock l_type: %d l_whence: %d l_start: %lu l_len: %lu l_sysid: %d l_pid: %d\n",
fl.l_type,
fl.l_whence,
fl.l_start,
@ -79,15 +79,15 @@ ibcs_fcntl (struct pt_regs *regs)
/*
** okay do some magic here
*/
retval = sys_fcntl(arg1,arg2,arg3);
memcpy_fromfs(&fl,arg3,sizeof(fl));
retval = sys_fcntl(arg1, arg2, arg3);
memcpy_fromfs(&fl, (void *)arg3, sizeof(fl));
fl.l_type++;
memcpy_tofs(arg3,&fl,sizeof(fl));
memcpy_tofs((void *)arg3, &fl, sizeof(fl));
return retval;
break;
default:
retval = sys_fcntl(arg1,arg2,arg3);
retval = sys_fcntl(arg1, arg2, arg3);
return retval;
break;
}

View file

@ -4,7 +4,7 @@
* McGraw-Hill Book company
* ISBN 0-07-031219-2
*
* $Id: termios.h,v 1.1.1.1 1994/02/10 09:31:23 mike Exp $
* $Id: termios.h,v 1.1.1.2 1994/02/23 17:22:47 mike Exp $
* $Source: /nfs4/sophia/home/mjagdis/src/ibcs.cvs/ibcs/include/ibcs/termios.h,v $
*/