Re: [PATCH] setgid first, setuid second

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-01-07 21:58, Stefan Hajnoczi wrote:
> Setting a new effective gid requires privileges.  We must set the gid
> while we potentially still have superuser privileges.  Otherwise
> setgid(2) fails because we've already changed to an unprivileged uid.

Thanks, applied!

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux