diff options
author | Roger A. Faulkner <Roger.Faulkner@Sun.COM> | 2010-02-28 18:42:20 -0800 |
---|---|---|
committer | Roger A. Faulkner <Roger.Faulkner@Sun.COM> | 2010-02-28 18:42:20 -0800 |
commit | 8fd04b8338ed5093ec2d1e668fa620b7de44c177 (patch) | |
tree | dc9fcd7d90062fa1e2b53b41a9b6e091194b875a /usr/src/uts/common/syscall/lwp_sobj.c | |
parent | e3c57d6a57265f8b9bf3871878cf9b92213e1188 (diff) | |
download | illumos-gate-8fd04b8338ed5093ec2d1e668fa620b7de44c177.tar.gz |
PSARC 2009/657 delete obsolete system call traps
6906485 delete obsolete system call traps
--HG--
rename : usr/src/cmd/truss/xstat.c => usr/src/cmd/truss/stat.c
rename : usr/src/lib/libc/port/gen/dup2.c => usr/src/lib/libc/port/gen/dup.c
rename : usr/src/lib/libc/port/sys/libc_fcntl.c => usr/src/lib/libc/port/sys/fcntl.c
rename : usr/src/lib/libc/port/sys/libc_open.c => usr/src/lib/libc/port/sys/open.c
Diffstat (limited to 'usr/src/uts/common/syscall/lwp_sobj.c')
-rw-r--r-- | usr/src/uts/common/syscall/lwp_sobj.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/usr/src/uts/common/syscall/lwp_sobj.c b/usr/src/uts/common/syscall/lwp_sobj.c index 3a7e5997c5..94492d64f0 100644 --- a/usr/src/uts/common/syscall/lwp_sobj.c +++ b/usr/src/uts/common/syscall/lwp_sobj.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -1358,20 +1358,6 @@ out: return (0); } -/* - * Obsolete lwp_mutex_lock() interface, no longer called from libc. - * libc now calls lwp_mutex_timedlock(lp, NULL, NULL). - * This system call trap continues to exist solely for the benefit - * of old statically-linked binaries from Solaris 9 and before. - * It should be removed from the system when we no longer care - * about such applications. - */ -int -lwp_mutex_lock(lwp_mutex_t *lp) -{ - return (lwp_mutex_timedlock(lp, NULL, NULL)); -} - static int iswanted(kthread_t *t, lwpchan_t *lwpchan) { @@ -2165,19 +2151,6 @@ out: return (0); } -/* - * Obsolete lwp_sema_wait() interface, no longer called from libc. - * libc now calls lwp_sema_timedwait(). - * This system call trap exists solely for the benefit of old - * statically linked applications from Solaris 9 and before. - * It should be removed when we no longer care about such applications. - */ -int -lwp_sema_wait(lwp_sema_t *sp) -{ - return (lwp_sema_timedwait(sp, NULL, 0)); -} - int lwp_sema_post(lwp_sema_t *sp) { |