The patch titled bsdacct: fix uid/gid misreporting has been removed from the -mm tree. Its filename was bsdacct-fix-uid-gid-misreporting.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: bsdacct: fix uid/gid misreporting From: Alexey Dobriyan <adobriyan@xxxxxxxxx> commit d8e180dcd5bbbab9cd3ff2e779efcf70692ef541 "bsdacct: switch credentials for writing to the accounting file" introduced credential switching during final acct data collecting. However, uid/gid pair continued to be collected from current which became credentials of who created acct file, not who exits. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=14676 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Reported-by: Juho K. Juopperi <jkj@xxxxxxxx> Acked-by: Serge Hallyn <serue@xxxxxxxxxx> Acked-by: David Howells <dhowells@xxxxxxxxxx> Reviewed-by: Michal Schmidt <mschmidt@xxxxxxxxxx> Cc: James Morris <jmorris@xxxxxxxxx> Cc: <stable@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/acct.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN kernel/acct.c~bsdacct-fix-uid-gid-misreporting kernel/acct.c --- a/kernel/acct.c~bsdacct-fix-uid-gid-misreporting +++ a/kernel/acct.c @@ -536,7 +536,8 @@ static void do_acct_process(struct bsd_a do_div(elapsed, AHZ); ac.ac_btime = get_seconds() - elapsed; /* we really need to bite the bullet and change layout */ - current_uid_gid(&ac.ac_uid, &ac.ac_gid); + ac.ac_uid = orig_cred->uid; + ac.ac_gid = orig_cred->gid; #if ACCT_VERSION==2 ac.ac_ahz = AHZ; #endif _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are origin.patch linux-next.patch asus_acpi-convert-to-seq_file.patch toshiba_acpi-convert-to-seq_file.patch thinkpad_acpi-convert-to-seq_file.patch arm-convert-proc-cpu-aligment-to-seq_file.patch arm-convert-proc-cpu-aligment-to-seq_file-fix.patch iseries-convert-to-proc_fops.patch proc_fops-convert-av7110.patch proc_fops-convert-drivers-isdn-to-seq_file.patch proc_fops-convert-drivers-isdn-to-seq_file-fix.patch proc_fops-convert-drivers-isdn-to-seq_file-fix2.patch parisc-convert-proc-pdc-lcdled-to-seq_file.patch mpt-fusion-convert-to-seq_file.patch uml-irq-register-race-condition.patch proc-rename-de_get-to-pde_get-and-inline-it.patch clps711xfb-convert-to-proc_fops.patch pnpbios-convert-to-seq_file.patch const-constify-remaining-pipe_buf_operations.patch ufs-pass-qstr-instead-of-dentry-where-necessary-for-nfs.patch ufs-nfs-support.patch reiserfs-remove-proc-fs-reiserfs-version.patch reiserfs-dont-compile-procfso-at-all-if-no-support.patch proc-remove-docbook-and-example.patch seq_file-use-proc_create-in-documentation.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html