Re: Question to directory setgid bit FS implementation details
From: Markus Kolb
Date: Tue Oct 25 2011 - 07:57:40 EST
On Tue, 25 Oct 2011 05:19:24 -0400, Valdis.Kletnieks@xxxxxx wrote:
On Tue, 25 Oct 2011 10:55:55 +0200, Markus Kolb said:
can you please explain in brief how the creation of files
in directories with setgid bit set is implemented in
Look in fs/inode.c, function inode_init_owner(). All of 8 lines of
Looks for me that there are only changes in data structs.
To be on the safe side can you confirm that there should be no call
inside the kernel code to change the effective group of a process
which creates a file in a directory with setgid-bit set?!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/