tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Sticky bit
@ 1995-02-17 17:53 Drew Kramer
  0 siblings, 0 replies; only message in thread
From: Drew Kramer @ 1995-02-17 17:53 UTC (permalink / raw)
  To: tru64-unix-managers


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@ox.com
        1 Manhattanville Road           Phone:  +1 914 694 5800
        Purchase, New York 10577        FAX:    +1 914 694 5831
                       "Welcome, to the machine..."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-17 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-17 17:53 Sticky bit Drew Kramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox