X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fbinfmt_aout.c;h=a6395bdb26aeb13b7b98c74df4f77780c1c95412;hb=fe2fd9ed5bf184f797412be8b86f4589d1b77bb8;hp=f96eff04e11ab4a8b23f7489ee4b0de50e67e152;hpb=69b5de84758237ee0086554849489baeeafcd097;p=mirror_ubuntu-bionic-kernel.git diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index f96eff04e11a..a6395bdb26ae 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c @@ -134,10 +134,6 @@ static int aout_core_dump(struct coredump_params *cprm) if (!dump_write(file, dump_start, dump_size)) goto end_coredump; } -/* Finally dump the task struct. Not be used by gdb, but could be useful */ - set_fs(KERNEL_DS); - if (!dump_write(file, current, sizeof(*current))) - goto end_coredump; end_coredump: set_fs(fs); return has_dumped;