Displaying 3 results from an estimated 3 matches for "priv_set".
2008 Nov 21
2
[PATCH] drop root privileges on solaris, request for testing
...ar* privs[] = {
+ "PRIV_PROC_FORK",
+ "PRIV_PROC_EXEC",
+ "PRIV_FILE_CHOWN",
+ "PRIV_PROC_SETID",
+ "PRIV_PROC_CHROOT",
+ "PRIV_NET_PRIVADDR",
+ "PRIV_FILE_DAC_READ",
+ "PRIV_FILE_DAC_WRITE",
+ NULL
+ }, **p;
+ priv_set_t *priv_set;
+ int ret;
+
+ priv_set = priv_allocset();
+ if (priv_set == NULL) {
+ i_warning("Can't allocate memory for privilege set: %m");
+ return;
+ }
+
+ priv_emptyset(priv_set);
+
+ for (p = privs; *p != NULL; p++) {
+ ret = priv_addset(priv_set, *p);
+ if (ret != 0) {
+...
2016 Feb 17
4
Call for testing: OpenSSH 7.2
On Wed, 17 Feb 2016, Alex Wilson wrote:
> On 2/17/16 2:04 PM, Alex Wilson wrote:
> > I've attached a patch...
> >
>
> Also at
>
> https://us-east.manta.joyent.com/arekinath/public/openssh-wip-fix-for-sol10-privs.patch
>
> If you are having trouble getting the patch out of the email.
>
> Also, as for Damien's patch, you will want to regenerate
2015 Nov 29
22
[Bug 2511] New: Drop fine-grained privileges on Illumos/Solaris
https://bugzilla.mindrot.org/show_bug.cgi?id=2511
Bug ID: 2511
Summary: Drop fine-grained privileges on Illumos/Solaris
Product: Portable OpenSSH
Version: 7.1p1
Hardware: Other
OS: Solaris
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs