summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/common/sys
diff options
context:
space:
mode:
authorRoger A. Faulkner <Roger.Faulkner@Oracle.COM>2010-07-07 17:36:17 -0700
committerRoger A. Faulkner <Roger.Faulkner@Oracle.COM>2010-07-07 17:36:17 -0700
commit794f0adb050e571bbfde4d2a19b9f88b852079dd (patch)
treec1735b3eda175e9096f5b062a73614e73aa5cd9a /usr/src/lib/libc/common/sys
parent07925104db56e5c3eacc4865b918bd16af5cec59 (diff)
downloadillumos-joyent-794f0adb050e571bbfde4d2a19b9f88b852079dd.tar.gz
PSARC 2010/235 POSIX 1003.1-2008 *at(2) syscalls
6910251 need support for all POSIX.1-2008 *at(2) syscalls 6964835 mknod(2) auditing omits the pathname for invalid arguments
Diffstat (limited to 'usr/src/lib/libc/common/sys')
-rw-r--r--usr/src/lib/libc/common/sys/chmod.s43
-rw-r--r--usr/src/lib/libc/common/sys/fchmod.s43
-rw-r--r--usr/src/lib/libc/common/sys/link.s39
-rw-r--r--usr/src/lib/libc/common/sys/mkdir.s43
-rw-r--r--usr/src/lib/libc/common/sys/mknod.s43
-rw-r--r--usr/src/lib/libc/common/sys/readlink.s45
-rw-r--r--usr/src/lib/libc/common/sys/symlink.s43
7 files changed, 0 insertions, 299 deletions
diff --git a/usr/src/lib/libc/common/sys/chmod.s b/usr/src/lib/libc/common/sys/chmod.s
deleted file mode 100644
index e5175fafcb..0000000000
--- a/usr/src/lib/libc/common/sys/chmod.s
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "chmod.s"
-
-/* C library -- chmod */
-/* int chmod(char *path, mode_t mode) */
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(chmod,function)
-
-#include "SYS.h"
-
- SYSCALL_RVAL1(chmod)
- RETC
- SET_SIZE(chmod)
diff --git a/usr/src/lib/libc/common/sys/fchmod.s b/usr/src/lib/libc/common/sys/fchmod.s
deleted file mode 100644
index dc40164077..0000000000
--- a/usr/src/lib/libc/common/sys/fchmod.s
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "fchmod.s"
-
-/* C library -- fchmod */
-/* int fchmod(int fildes, mode_t mode) */
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(fchmod,function)
-
-#include "SYS.h"
-
- SYSCALL_RVAL1(fchmod)
- RETC
- SET_SIZE(fchmod)
diff --git a/usr/src/lib/libc/common/sys/link.s b/usr/src/lib/libc/common/sys/link.s
deleted file mode 100644
index cbc03892b5..0000000000
--- a/usr/src/lib/libc/common/sys/link.s
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
- .file "link.s"
-
-/* C library -- link */
-/* int link (const char *path1, const char *path2); */
-
-#include "SYS.h"
-
- SYSCALL2_RVAL1(__link,link)
- RETC
- SET_SIZE(__link)
diff --git a/usr/src/lib/libc/common/sys/mkdir.s b/usr/src/lib/libc/common/sys/mkdir.s
deleted file mode 100644
index 1efbfc9081..0000000000
--- a/usr/src/lib/libc/common/sys/mkdir.s
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "mkdir.s"
-
-/* C library -- mkdir */
-/* int mkdir (const char *path, mode_t mode); */
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(mkdir,function)
-
-#include "SYS.h"
-
- SYSCALL_RVAL1(mkdir)
- RET
- SET_SIZE(mkdir)
diff --git a/usr/src/lib/libc/common/sys/mknod.s b/usr/src/lib/libc/common/sys/mknod.s
deleted file mode 100644
index 0d7733e7ff..0000000000
--- a/usr/src/lib/libc/common/sys/mknod.s
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "mknod.s"
-
-/* C library -- mknod */
-/* int mknod(const char *path, mode_t mode, dev_t dev); */
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(mknod,function)
-
-#include "SYS.h"
-
- SYSCALL_RVAL1(mknod)
- RETC
- SET_SIZE(mknod)
diff --git a/usr/src/lib/libc/common/sys/readlink.s b/usr/src/lib/libc/common/sys/readlink.s
deleted file mode 100644
index 2ec6e5a886..0000000000
--- a/usr/src/lib/libc/common/sys/readlink.s
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "readlink.s"
-
-/*
- * C library -- readlink
- * ssize_t readlink(const char *path, char *buf, size_t bufsize);
- */
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(readlink,function)
-
-#include "SYS.h"
-
- SYSCALL_RVAL1(readlink)
- RET
- SET_SIZE(readlink)
diff --git a/usr/src/lib/libc/common/sys/symlink.s b/usr/src/lib/libc/common/sys/symlink.s
deleted file mode 100644
index d46e48f1c4..0000000000
--- a/usr/src/lib/libc/common/sys/symlink.s
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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
- * or http://www.opensolaris.org/os/licensing.
- * 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
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- .file "symlink.s"
-
-/* C library -- symlink */
-/* int symlink(const char *name1, const char *name2) */
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(symlink,function)
-
-#include "SYS.h"
-
- SYSCALL_RVAL1(symlink)
- RETC
- SET_SIZE(symlink)