diff options
| author | raf <none@none> | 2008-04-29 14:12:45 -0700 |
|---|---|---|
| committer | raf <none@none> | 2008-04-29 14:12:45 -0700 |
| commit | 8cd45542f2a452ca0dab13d8b2d5cfa876ccbebc (patch) | |
| tree | 0571ec3284912727f3d8ba667ed57b4cc6afb8cd /usr/src/lib/libc/common/sys/mprotect.s | |
| parent | 31e69ea4bce567a03de57e063cb36ef69af61470 (diff) | |
| download | illumos-joyent-8cd45542f2a452ca0dab13d8b2d5cfa876ccbebc.tar.gz | |
6678310 using LD_AUDIT, ld.so.1 calls shared library's .init before library is fully relocated
6689238 libc needs global protection against ld.so.1
Diffstat (limited to 'usr/src/lib/libc/common/sys/mprotect.s')
| -rw-r--r-- | usr/src/lib/libc/common/sys/mprotect.s | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/usr/src/lib/libc/common/sys/mprotect.s b/usr/src/lib/libc/common/sys/mprotect.s index 6843b12767..70bdf76237 100644 --- a/usr/src/lib/libc/common/sys/mprotect.s +++ b/usr/src/lib/libc/common/sys/mprotect.s @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * 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. @@ -19,15 +18,15 @@ * * CDDL HEADER END */ -/* Copyright (c) 1988 AT&T */ -/* All Rights Reserved */ - /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* Copyright (c) 1988 AT&T */ +/* All Rights Reserved */ + #pragma ident "%Z%%M% %I% %E% SMI" .file "%M%" @@ -41,7 +40,6 @@ #include "SYS.h" - ANSI_PRAGMA_WEAK2(_private_mprotect,mprotect,function) SYSCALL_RVAL1(mprotect) RETC SET_SIZE(mprotect) |
