setfsgid: fix to didn't change fsgid

This commit is contained in:
Tomoki Shirasawa
2016-07-13 15:54:52 +09:00
parent f6908f21a8
commit 46c37fc8f3

View File

@ -2283,9 +2283,8 @@ SYSCALL_DECLARE(setfsgid)
unsigned long newfsgid;
struct syscall_request request IHK_DMA_ALIGN;
request.number = __NR_setfsuid;
request.number = __NR_setfsgid;
request.args[0] = fsgid;
request.args[1] = 0;
newfsgid = do_syscall(&request, ihk_mc_get_processor_id(), 0);
do_setresgid();
return newfsgid;