From owner-cvs-all Sat Sep 8 11:49:41 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E968237B406; Sat, 8 Sep 2001 11:49:31 -0700 (PDT) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f88InVc34340; Sat, 8 Sep 2001 11:49:31 -0700 (PDT) (envelope-from marcel) Message-Id: <200109081849.f88InVc34340@freefall.freebsd.org> From: Marcel Moolenaar Date: Sat, 8 Sep 2001 11:49:31 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/linux syscalls.master X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2001/09/08 11:49:31 PDT Modified files: sys/alpha/linux syscalls.master Log: o Introduce private types for use in linux syscalls for two reasons: 1. establish type independence for ease in porting and, 2. provide a visual queue as to which syscalls have proper prototypes to further cleanup the i386/alpha split. Linuxulator types are prefixed by 'l_'. void and char have not been "virtualized". o Provide dummy functions for all unimplemented syscalls, except for the osf1 syscalls. This can only be done if the osfulator implements at least all syscalls used by the linuxulator. Remove dummy functions for syscalls that are now truely unimplemented. o Set the syscall namespace as follows: Mark a syscall as OSF1 if the Linux kernel has prefixed the syscall with 'osf_' and has provided special implementations for it. Otherwise mark the syscall as LINUX by default. Some of the LINUX syscalls remain marked as BSD or POSIX. o Rename syscalls so they match the names used in the Linux kernel. Also, provide more accurate prototypes. This generally improves cross-referencing and reduces head-scratching. o Fix the (g|s)etresuid syscalls. They mapped to (g|s)etresgid. o Sanitize the the shm*, sem* and msg* syscalls. Their prototypes were dictated by the way these syscalls were used in the i386 code. That has been fixed. NOTE: linux_semctl now passes it's 'arg' parameter by value and not by reference. o Fix prototype of linux_utime. It takes a struct timeval, not a struct utimbuf. o Fix the linux_sysfs syscall. It's index is not 255, but 254. o Implement the following syscalls: linux_sysctl o Add the following new syscalls: (g|s)etresgid linux_pivot_root (dummy) linux_mincore (dummy) linux_pciconfig_iobase (dummy) linux_getdents64 Revision Changes Path 1.48 +211 -191 src/sys/alpha/linux/syscalls.master To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message