From b24c9462eb3c246d96db0a665c835d7f65b010c3 Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 17 Aug 1997 00:15:46 +0000 Subject: Note that sticky text executables are no longer supported. PR: docs/4198 Submitted by: Ada T. Lim --- share/man/man8/sticky.8 | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'share/man') diff --git a/share/man/man8/sticky.8 b/share/man/man8/sticky.8 index ce06da0..009f544 100644 --- a/share/man/man8/sticky.8 +++ b/share/man/man8/sticky.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)sticky.8 8.1 (Berkeley) 6/5/93 -.\" $Id$ +.\" $Id: sticky.8,v 1.2 1997/03/07 03:28:21 jmg Exp $ .\" .Dd June 5, 1993 .Dt STICKY 8 @@ -51,24 +51,8 @@ the file .Pa /usr/include/sys/stat.h for an explanation of file modes. .Sh STICKY TEXT EXECUTABLE FILES -An executable shareable file whose sticky bit is set -will not be immediately discarded from swap space after execution. -The kernel will hoard the text segment of the file for future -reuse and avoid having to reload the program. -Shareable text segments are normally placed -in a least-frequently-used cache after use, -and thus the `sticky bit' has little effect on commonly-used text images. -.Pp -Sharable executable files are created with the -.Fl n -and -.Fl z -options of -the loader -.Xr ld 1 . -.Pp -Only the super-user can set the sticky bit -on a sharable executable file. +These are no longer supported and any attempt to create a sticky text +executable will fail on UFS-based filesystems. .Sh STICKY DIRECTORIES A directory whose `sticky bit' is set becomes an append-only directory, or, more accurately, @@ -88,9 +72,6 @@ See .Xr chmod 1 for details about modifying file modes. .Sh BUGS -Since the text areas of sticky text executables are stashed in the swap area, -abuse of the feature can cause a system to run out of swap. -.Pp Neither .Xr open 2 nor -- cgit v1.1