commands in .cshrc/.profile won't get traced.
+Tue Mar 31 11:01:06 1992 Stu Grossman (grossman at cygnus.com)
+
+ * procfs.c (open_proc_file): Disable inherit-on-fork flag so that
+ commands in .cshrc/.profile won't get traced.
+
Tue Mar 31 08:11:58 1992 John Gilmore (gnu at cygnus.com)
* elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc.
sprintf (pip -> pathname, PROC_NAME_FMT, pid);
if ((pip -> fd = open (pip -> pathname, O_RDWR)) >= 0)
{
+ long pr_flags;
+
pip -> valid = 1;
pip -> pid = pid;
+ pr_flags = PR_FORK;
+ (void) ioctl (pip -> fd, PIOCRESET, &pr_flags);
}
return (pip -> valid);
}