home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v8 / text0054.txt < prev    next >
Encoding:
Text File  |  1987-06-30  |  1.4 KB  |  37 lines

  1. >From nsc!hplabs!hpda!hpisoa1!davel@pyramid.UUCP Wed Nov 12 16:57:34 1986
  2. Cc: gorodish!guy@sun.UUCP
  3. Date: Wed, 12 Nov 86 10:42:53 -0800
  4.  
  5. > guy@sun.com (Guy Harris) writes:
  6. > > vhangup() is indeed desirable.  It is not required in POSIX because it is 
  7. > > not supported on System V and, indeed, breaks System V compatiblity.
  8. > Only if you define "System V compatibility" as "behaves exactly the same as
  9. > some particular implementation of System V".  
  10.  
  11. It is true that vhangup() does not break any documented behavior in 
  12. System V or the SVID.  However, the System V implementations I am familiar 
  13. with (mainly ATT VAX releases) allow access to open login tty file 
  14. descriptors after logout (/dev/tty is the exception).
  15.  
  16. Again, vhangup() is, in my opinion, preferable for security reasons.  I
  17. do not consider the alternate behavior present in at least some System V
  18. ports worth requiring.  
  19.  
  20. > "vhangup" does two things; it
  21. > sends a SIGHUP to the process group of the terminal in question (which is,
  22. > in fact, similar to what S5 does automatically) and it invalidates file
  23. > descriptors that refer to the terminal.
  24. > Some System V implementations do not do this, ...
  25.  
  26. I'm curious; could you list some of the System V implementations which 
  27. disallow access to the login tty (via, e.g., stdout, not /dev/tty) after
  28. logout?  I.e., System V's that have vhangup()-like behavior?
  29.  
  30. -Dave Lennert   HP   ihnp4!hplabs!hpda!davel
  31.  
  32.  
  33. Volume-Number: Volume 8, Number 55
  34.  
  35.