Sticky bit

From: Drew Kramer <drew_at_ny.ox.com>
Date: Fri, 17 Feb 95 12:53:51 -0500

Does the sticky bit do anything for executables? The chmod(2) man page says:

  t Save text permission.

      In earlier versions of the UNIX system, setting this permission bit
      caused the text segment of a program to remain in virtual memory after
      its first use. The system thus avoided having to transfer the program
      code of frequently accessed programs into the paging area. A t appears
      in the execute position of the all others option to indicate that the
      file has this bit (the sticky bit) set.

Does OSF/1 respect this bit? I can't even think of a good way to test it.
Maybe someone could look at the source. Is there a better way to keep a process
in memory? Thanks.

-drew
-------
USMail: OTA Limited Partnership E-mail: drew_at_ox.com
        1 Manhattanville Road Phone: +1 914 694 5800
        Purchase, New York 10577 FAX: +1 914 694 5831
                       "Welcome, to the machine..."
Received on Fri Feb 17 1995 - 12:54:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT