home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20088 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.8 KB

  1. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!zl2tnm!toyunix!don
  2. Newsgroups: comp.os.vms
  3. Subject: Re: Alternative callable editors in MAIL? [source+question]
  4. Message-ID: <6844364@zl2tnm.gen.nz>
  5. From: don@zl2tnm.gen.nz (Don Stokes)
  6. Date: 30 Dec 92 15:41:14 GMT
  7. Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
  8. References: <1992Dec30.044645.11200@cnplss5.cnps.philips.nl>
  9. Distribution: world
  10. Organization: The Wolery
  11. Lines: 26
  12.  
  13. hd@cnplss5.cft.philips.nl (Henk Davids) writes:
  14. > Now a question: the comment in the C module says that MAIL is an installed
  15. > module. In fact, it is not. Neither are the shareable images that MAIL will
  16. > call. How then does MAIL get its privileges (SYSPRIV) to write into other
  17. > peoples' mail files?
  18.  
  19. MAIL is unprivileged.  It calls the callable mail routines in MAILSHR.EXE.
  20.  
  21. MAILSHR too is unprivileged; the MAILSHR routines in turn call MAILSHRP.EXE.
  22. MAILSHRP is a protected sharable image, ie one that can provide user 
  23. written system services.  These execute in exec or kernel mode; once in
  24. exec or kernel mode, the $SETPRV system service will let you enable and
  25. disable privileges to your heart's content.  Thus, MAIL (and more importantly,
  26. callable MAIL) can write to protected mail files without being given
  27. privileges explicitly.
  28.  
  29. HOWEVER, some external mail add-ons, eg internet mailers need privileges
  30. to deliver mail, and don't use the protected sharable image mechanism to
  31. obtain these.  These packages require MAIL (or anything using callable
  32. MAIL) to be installed for the add-on to work.  (Normal delivery is unaffected
  33. of course.)
  34.  
  35. --
  36. Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
  37. Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
  38. Victoria University of Wellington, New Zealand              +64-4-495-5052
  39.