if(tcsetpgrp(fd, pid) < 0){ printk("tcsetpgrp failed, errno = %d\n", errno); return(-errno); } 
if(tcsetpgrp(fd, pid) < 0) return -errno; 
int os_new_tty_pgrp(int fd, int pid){	if(ioctl(fd, TIOCSCTTY, 0) < 0){		printk("TIOCSCTTY failed, errno = %d\n", errno);		return(-errno);	}	if(tcsetpgrp(fd, pid) < 0){		printk("tcsetpgrp failed, errno = %d\n", errno);		return(-errno);	}	return(0);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b4fd310e163477236a241580b3b8c29aee65f4cc/file.c/buggy/arch/um/os-Linux/file.c