]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r275906:
authorjamie <jamie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 27 Dec 2014 02:17:35 +0000 (02:17 +0000)
committerjamie <jamie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 27 Dec 2014 02:17:35 +0000 (02:17 +0000)
commite0ae146401dde5d2d3dc4107ed888ab68276f6e8
treeb0b9d19b2975b84e0bad838f1b747940c6b54247
parent76a263c3aa137d48929a2c088c8ac81cb14093b3
MFC r275906:

  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

git-svn-id: svn://svn.freebsd.org/base/stable/9@276276 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/jail/command.c