commit | 907091acb188b1057d50c2158f74c3ecf1c2302b | [log] [download] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Fri Feb 19 09:05:39 2016 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Fri Feb 19 09:05:39 2016 +1100 |
tree | 62f2c59f51e55a3f49c7c173527425eb1b19a876 | |
parent | 292a8dee14e5e67dcd1b49ba5c7b9023e8420d59 [diff] |
Make Solaris privs code build on older systems. Not all systems with Solaris privs have priv_basicset so factor that out and provide backward compatibility code. Similarly, not all have PRIV_NET_ACCESS so wrap that in #ifdef. Based on code from alex at cooperi.net and djm@ with help from carson at taltos.org and wieland at purdue.edu.