patch-2.1.92 linux/fs/binfmt_aout.c
Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/scsi/wd7000.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Apr 1 16:26:33 1998
- Orig file:
v2.1.91/linux/fs/binfmt_aout.c
- Orig date:
Thu Mar 26 15:57:04 1998
diff -u --recursive --new-file v2.1.91/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -362,8 +362,7 @@
current->mm->rss = 0;
current->mm->mmap = NULL;
- current->suid = current->euid = current->fsuid = bprm->e_uid;
- current->sgid = current->egid = current->fsgid = bprm->e_gid;
+ compute_creds(bprm);
current->flags &= ~PF_FORKNOEXEC;
#ifdef __sparc__
if (N_MAGIC(ex) == NMAGIC) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov