home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.17 / text0042.txt < prev    next >
Encoding:
Internet Message Format  |  1990-01-06  |  1.5 KB

  1. From: <bbadger@X102C.harris-atd.com>
  2.  
  3. In article <412@longway.TIC.COM> you write:
  4. [with sections liberally elided...]
  5. [I've removed more from the quoted message.  -mod]
  6. >From: Jeffrey S. Haemer <jsh@usenix.org>
  7. >...
  8. >IEEE 1003.6: Security Extensions Update
  9. >Ana Maria de Alvare <anamaria@lll-lcc.llnl.gov> reports on the July
  10. >10-14, 1989 meeting, in San Jose, California:
  11. >  3.  PRIVILEGES
  12. >
  13. >      The privilege group has defined interfaces for file privileges.
  14. >      For example, priv_fstate_t() will return whether privilege for
  15. >      the file is required, allowed, or forbidden.  A process's
  16. >      privilege can be permitted, effective, or inheritable.
  17. Could you explain the meanings of the priv_fstate_t() values?
  18. I'm guessing:
  19. process:
  20.     permitted -- process may turn on this privilege
  21.     effective -- process has turned on this privilege
  22.     inheritable -- upon an exec, privilege remains in effect
  23. file (effect when exec occurs):
  24.     required -- ORs with the permitted and effective
  25.     allowed -- ORs with the permitted
  26.     forbidden -- removes inheritable privileges (and (NOT forb))
  27.  
  28. p->permitted = (p->inheritable | ip->required | ip->allowed) & ~ip->forbidden
  29. p->effective = ((p_effective & p->inheritable) | ip->required) & ~ip->forbidden
  30.  
  31. Is this the intent?  
  32. -- 
  33.     -----    -    -    -    -    -    -    -    ----
  34. Bernard A. Badger Jr.    407/984-6385          |``Get a LIFE!''  -- J.H. Conway
  35. Harris GISD, Melbourne, FL  32902             |Buddy, can you paradigm?
  36. Internet: bbadger%x102c@trantor.harris-atd.com|'s/./&&/g' Tom sed expansively.
  37.  
  38. Volume-Number: Volume 17, Number 48
  39.  
  40.  
  41.