s10_deleted.c revision 794f0adb050e571bbfde4d2a19b9f88b852079dd
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <utime.h>
#include <errno.h>
#include <s10_brand.h>
#include <brand_misc.h>
#include <s10_misc.h>
/*
* This file contains the emulation functions for all of the
* obsolete system call traps that existed in Solaris 10 but
* that have been deleted in the current version of Solaris.
*/
static int
{
}
int
{
}
int
{
}
int
{
}
#if !defined(_LP64)
static int
{
}
int
{
}
int
{
}
int
{
}
#endif /* !_LP64 */
static int
{
}
int
{
}
int
{
}
#if !defined(_LP64)
static int
{
}
int
{
}
int
{
}
#endif /* !_LP64 */
int
{
}
int
{
}
int
{
}
int
{
if (timeout < 0)
else {
}
}
int
{
}
int
{
}
int
{
}
int
{
}
static int
{
}
int
{
}
int
{
}
int
{
}
int
{
}
int
{
}
int
{
}
static int
{
}
int
{
}
int
{
}
static int
{
}
int
{
}
int
{
}
int
{
}
static int
{
}
int
{
}
int
{
} else {
return (EFAULT);
}
}
int
{
} else {
return (EFAULT);
}
}
static int
{
} else {
return (EFAULT);
}
}
#if defined(__x86)
/* ARGSUSED */
int
{
#if defined(__amd64)
return (EINVAL);
#else
return (EINVAL);
#endif
}
/* ARGSUSED */
int
{
#if defined(__amd64)
return (EINVAL);
#else
return (EINVAL);
#endif
}
/* ARGSUSED */
int
{
#if defined(__amd64)
return (EINVAL);
#else
return (EINVAL);
#endif
}
/* ARGSUSED */
int
{
#if defined(__amd64)
return (EINVAL);
#else
if (version != _MKNOD_VER)
return (EINVAL);
#endif
}
#endif /* __x86 */
/*
* This is the fsat() system call trap in s10.
* It has been removed in the current system.
*/
int
{
switch (code) {
case 0: /* openat */
case 1: /* openat64 */
#if defined(_LP64)
return (EINVAL);
#else
#endif
case 2: /* fstatat64 */
#if defined(_LP64)
return (EINVAL);
#else
#endif
case 3: /* fstatat */
case 4: /* fchownat */
case 5: /* unlinkat */
(int)arg3));
case 6: /* futimesat */
case 7: /* renameat */
case 8: /* faccessat */
case 9: /* openattrdirat */
(const char *)arg2, FXATTRDIROPEN, 0));
}
return (EINVAL);
}
/*
* Interposition upon SYS_umount
*/
int
{
}