]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Setgid before running a command as a specified user. Previously only
authorJamie Gritton <jamie@FreeBSD.org>
Thu, 18 Dec 2014 18:10:39 +0000 (18:10 +0000)
committerJamie Gritton <jamie@FreeBSD.org>
Thu, 18 Dec 2014 18:10:39 +0000 (18:10 +0000)
commiteb28afe4221409a70cd8a064f77fe88af86da2e2
tree7bdd584c064d3ab633fd91af24502decb4a9ec84
parentb9a2a3f1cf7320a3fb2df655be2060c234be0e9c
Setgid before running a command as a specified user.  Previously only
initgroups(3) was called, what isn't quite enough.  This brings jail(8)
in line with jexec(8), which was already doing the right thing.

PR: 195984
MFC after: 1 week
usr.sbin/jail/command.c